python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_SteamTurbine_TestStodolaTurbine.fmu LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/Common.mo:132:5-132:63:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((stodolaTurbine.proe.x >= 0.0 and stodolaTurbine.proe.x <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= stodolaTurbine.proe.x <= 1.0, has value: -1" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/Common.mo:132:5-132:63:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((sourceP.pro.x >= 0.0 and sourceP.pro.x <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= sourceP.pro.x <= 1.0, has value: -1" Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/__main__.py", line 4, in main() File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/cli.py", line 186, in main result = simulate_fmu(args.fmu_filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/simulation.py", line 788, in simulate_fmu result = simulateME(model_description, fmu, start_time, stop_time, solver, step_size, relative_tolerance, start_values, apply_default_start_values, input, output, output_interval, record_events, timeout, step_finished, validate, set_stop_time) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/simulation.py", line 988, in simulateME next_event_time) = fmu.newDiscreteStates() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 620, in newDiscreteStates self.fmi2NewDiscreteStates(self.component, byref(eventInfo)) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 560, in fmi2NewDiscreteStates return self._call("fmi2NewDiscreteStates", c, eventInfo) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi1.py", line 369, in _call raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2NewDiscreteStates failed with status 3 (error).