Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.MCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.MCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|mCV4.dp_int|mCV5.dp_int|pulse1.T_start|pulse1.count|pulse3.T_start|pulse3.count|pulse5.T_start|pulse5.count|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count|trapezoid2.T_start|trapezoid2.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.MCV") translateModel(ThermofluidStream.FlowControl.Tests.MCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|mCV4.dp_int|mCV5.dp_int|pulse1.T_start|pulse1.count|pulse3.T_start|pulse3.count|pulse5.T_start|pulse5.count|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count|trapezoid2.T_start|trapezoid2.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.MCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008337/0.0008337, allocations: 171.2 kB / 16.11 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205 MB / 221.9 MB, free: 1.84 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007049/0.0007046, allocations: 98.22 kB / 269.9 MB, free: 1.785 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5648/0.5648, allocations: 90.52 MB / 408.3 MB, free: 15.09 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/1.878e-05, allocations: 2.281 kB / 484.9 MB, free: 3.594 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.MCV): time 0.4256/0.4256, allocations: 187.8 MB / 0.6569 GB, free: 2.699 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02286/0.4485, allocations: 21.57 MB / 0.6779 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.4508, allocations: 27.81 kB / 0.678 GB, free: 13.05 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.4535, allocations: 0.8705 MB / 0.6788 GB, free: 12.17 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006138/0.4597, allocations: 2.009 MB / 0.6808 GB, free: 10.15 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004379/0.4641, allocations: 1.452 MB / 0.6822 GB, free: 8.695 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004441/0.4686, allocations: 3.573 MB / 0.6857 GB, free: 5.105 MB / 458.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 3.974/4.443, allocations: 2.353 GB / 3.039 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/4.446, allocations: 1.156 MB / 3.04 GB, free: 107.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/4.447, allocations: 1.335 MB / 3.041 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/4.447, allocations: 92 kB / 3.041 GB, free: 106.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004941/4.452, allocations: 3.209 MB / 3.044 GB, free: 103.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/4.453, allocations: 1.543 MB / 3.046 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.47e-06/4.453, allocations: 0 / 3.046 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of Bindings: time 0.003049/4.456, allocations: 5.076 MB / 3.051 GB, free: 97.22 MB / 0.6198 GB Notification: Performance of simplify: time 0.0001922/4.456, allocations: 316.2 kB / 3.051 GB, free: 96.92 MB / 0.6198 GB Notification: Performance of RemoveSimpleEquations: time 0.00358/4.46, allocations: 5.511 MB / 3.057 GB, free: 90.79 MB / 0.6198 GB Notification: Performance of Events: time 0.0004584/4.46, allocations: 0.727 MB / 3.057 GB, free: 90.09 MB / 0.6198 GB Notification: Performance of DetectStates: time 0.0004788/4.461, allocations: 0.6832 MB / 3.058 GB, free: 89.41 MB / 0.6198 GB Notification: Performance of Partitioning: time 0.001307/4.462, allocations: 1.652 MB / 3.06 GB, free: 87.67 MB / 0.6198 GB Notification: Performance of Causalize: time 0.002123/4.464, allocations: 3.939 MB / 3.063 GB, free: 83.77 MB / 0.6198 GB Notification: Performance of Partitioning: time 0.00296/4.467, allocations: 3.432 MB / 3.067 GB, free: 80.21 MB / 0.6198 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [ALGB] (1) input Real mCV.setpoint_var = mCV.setpoint_var, [ALGB] (1) input Real mCV5.setpoint_var = mCV5.setpoint_var, [ALGB] (1) Real mCV4.rho_in = ThermofluidStream.FlowControl.Tests.MCV.mCV4.Medium.density(mCV4.inlet.state) (min = 0.0), [DER-] (1) Real $DER.mCV3.dp_int, [DER-] (1) Real $DER.mCV2.dp_int, [ALGB] (1) Real mCV1.inlet.r Error: Internal error NBInitialization.main failed! Notification: Performance of Initialization: time 0.002498/4.47, allocations: 4.385 MB / 3.071 GB, free: 75.8 MB / 0.6198 GB Error: Internal error NBDifferentiate.differentiateComponentRef failed for: $PRE.trapezoid2.count