@vreeken I think this fixes the issues I mentioned. A pickled model returns different types than a non-pickled one, so the simulation was initializing incorrectly.