When working in Cython mode, trying to simulate beyond the initialisation period results in segmentation faults. Here is a simplified example of how this recently happened:
from hydpy import pub, Timegrid
pub.timegrids = "2000-01-01", "2000-01-02", "1d"
pub.timegrids.sim = Timegrid("2000-01-02", "2000-01-03", "1d")
print(pub.timegrids.init.lastdate)
print(pub.timegrids.sim.lastdate)
The verify method would have detected this problem:
pub.timegrids.verify()
Traceback (most recent call last):
...
ValueError: The last date of the initialisation period (`2000-01-02 00:00:00`) must not be earlier than the last date of the simulation period (`2000-01-03 00:00:00`).
So, this issue is related to #55. However, inconsistent initialisation and simulation periods are difficult to detect due to Python crashing, so I report it separately.