python3 -m fmpy simulate --output-file MEV_MEV.Simulations.LinearControl.Scenario4_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 MEV_MEV_Simulations_LinearControl_Scenario4.fmu LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -6.02608 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -5.978 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -5.54531 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1896 failed at time=0.827586207625682. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.243599 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.234073 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.148336 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1896 failed at time=0.827586207042381. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -23.7766 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -23.6102 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -22.1125 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1855 failed at time=0.857142859478663. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.79488 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.76168 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.46286 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1855 failed at time=0.857142857610024. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.02836 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.604069 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.326157 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.144124 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0248927 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.403494 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.245934 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.142731 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0751336 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0308572 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00185616 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.248767 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.157029 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0969411 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0575833 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0318039 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0149184 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00385843 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.125292 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.080898 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0518201 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.032774 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0202989 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0121276 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00677548 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00326982 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000973608 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0537672 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0350345 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0227646 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0147278 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00946374 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00601576 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00375733 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00227806 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00130914 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000674496 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000258804 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00902763 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00590845 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00386538 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00252718 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00165065 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00107653 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000700478 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000454164 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000292829 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000187154 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000117938 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -7.26004e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -4.29047e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.34539e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.07137e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.36884e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00437193 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00286254 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0018739 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00122633 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000802181 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00052436 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000342387 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000223195 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000145124 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -9.3988e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -6.04937e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.85549e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.4185e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.47727e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -8.60763e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -4.56952e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.92456e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.92108e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00245127 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00160526 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00105112 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000688158 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000450418 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000294699 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000192703 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000125895 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -8.2136e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.34739e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.47002e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.24034e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.4349e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -9.07339e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.61786e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.35448e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.87197e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -9.0093e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.64896e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00107759 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000705767 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000462225 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000302705 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00019822 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000129782 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -8.49546e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.55929e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.6361e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.37641e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.55132e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.01088e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -6.56891e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -4.2503e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.73161e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.73686e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.08531e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -6.58538e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.79004e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.95909e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -7.59818e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000416922 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000273083 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000178868 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000117158 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -7.67376e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.02622e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.29209e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.15623e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.41224e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -9.24929e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -6.0574e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.96671e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.59731e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.70035e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.11284e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -7.28025e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -4.75969e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.10873e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.02735e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.31905e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -8.55108e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.51228e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.52186e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.02837 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 0.857143. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -12.7839 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -12.6908 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -11.8526 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1814 failed at time=0.860869568034002. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.59261 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.57409 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.40742 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1814 failed at time=0.860869565780718. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -51.5106 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -51.1593 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -47.9975 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1691 failed at time=1.04210526574959. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.34175 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.27157 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -8.63994 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1691 failed at time=1.04210526367624. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.907981 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.894026 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.768426 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1691 failed at time=1.04210526326157. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -15.4765 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -15.4765 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -15.4765 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1572 failed at time=1.4142857157838. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.135 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.135 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.135 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1572 failed at time=1.41428571458534. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). 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 "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/__main__.py", line 4, in main() File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/command_line.py", line 169, in main result = simulate_fmu(args.fmu_filename, File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-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 "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/simulation.py", line 1059, in simulateME state_event, roots_found, time = solver.step(time, t_next) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 178, in step raise RuntimeError("CVode error (code %s) in module %s, function %s: %s" % self.error_info) RuntimeError: CVode error (code -1) in module CVODE, function CVode: At t = 1.51925, mxstep steps taken before reaching tout.