python3 -m fmpy simulate --output-file Chemical_Chemical.Examples.AcidBase.WaterSelfIonization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_Chemical_Examples_AcidBase_WaterSelfIonization.fmu LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4752:5-4753:37:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((solution.mass >= 0.0 and solution.mass <= 0.0)) --> "Variable violating min/max constraint: 0.0 <= solution.mass <= 0.0, has value: 1" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4562:5-4562:67:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((H2O.solution.n >= 0.0 and H2O.solution.n <= 0.0)) --> "Variable violating min/max constraint: 0.0 <= H2O.solution.n <= 0.0, has value: 1.01487" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4587:5-4588:59:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((H2O.solution.I >= 0.0 and H2O.solution.I <= 0.0)) --> "Variable violating min/max constraint: 0.0 <= H2O.solution.I <= 0.0, has value: 1e-07" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:383:7-385:72:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((H2O.SelfClustering_K >= 0.0 and H2O.SelfClustering_K <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= H2O.SelfClustering_K <= 1.0, has value: 53.6963" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4752:5-4753:37:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((solution1.mass >= 0.0 and solution1.mass <= 0.0)) --> "Variable violating min/max constraint: 0.0 <= solution1.mass <= 0.0, has value: 1" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4562:5-4562:67:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((H2O_.solution.n >= 0.0 and H2O_.solution.n <= 0.0)) --> "Variable violating min/max constraint: 0.0 <= H2O_.solution.n <= 0.0, has value: 1.01487" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4587:5-4588:59:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((H2O_.solution.I >= 0.0 and H2O_.solution.I <= 0.0)) --> "Variable violating min/max constraint: 0.0 <= H2O_.solution.I <= 0.0, has value: 1e-07" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:383:7-385:72:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((H2O_.SelfClustering_K >= 0.0 and H2O_.SelfClustering_K <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= H2O_.SelfClustering_K <= 1.0, has value: 53.6963" LOG_ASSERT | debug | division by zero at time 0.009437025775506865, (a=0) / (b=-0), where divisor b expression is: OH_.q + H_.q Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.10/dist-packages/fmpy/__main__.py", line 4, in main() File "/usr/local/lib/python3.10/dist-packages/fmpy/command_line.py", line 167, in main result = simulate_fmu(args.fmu_filename, File "/usr/local/lib/python3.10/dist-packages/fmpy/simulation.py", line 759, 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 "/usr/local/lib/python3.10/dist-packages/fmpy/simulation.py", line 1076, in simulateME step_event, _ = fmu.completedIntegratorStep() File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 491, in completedIntegratorStep self.fmi2CompletedIntegratorStep(self.component, noSetFMUStatePriorToCurrentPoint, byref(enterEventMode), byref(terminateSimulation)) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2CompletedIntegratorStep failed with status 3 (error).