Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001007, allocations: 167.5 kB / 16.11 MB, free: 5.688 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.432/1.432, allocations: 205 MB / 221.9 MB, free: 9.062 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008536/0.0008537, allocations: 89.73 kB / 269.9 MB, free: 8.656 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.7584/0.7584, allocations: 90.51 MB / 408.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.065e-05, allocations: 2.281 kB / 484.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.3825/0.3825, allocations: 145.9 MB / 0.616 GB, free: 2.793 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005358/0.388, allocations: 4.606 MB / 0.6205 GB, free: 14.18 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003954/0.3884, allocations: 7.938 kB / 0.6205 GB, free: 14.17 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007649/0.3892, allocations: 246.7 kB / 0.6207 GB, free: 13.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.3904, allocations: 0.6218 MB / 0.6213 GB, free: 13.3 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009681/0.3914, allocations: 438.6 kB / 0.6217 GB, free: 12.88 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000975/0.3924, allocations: 1.249 MB / 0.6229 GB, free: 11.62 MB / 442.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.0147/0.4071, allocations: 23.29 MB / 0.6457 GB, free: 4.316 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.4085, allocations: 462.1 kB / 0.6461 GB, free: 3.863 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004961/0.409, allocations: 458.2 kB / 0.6466 GB, free: 3.414 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.409, allocations: 28 kB / 0.6466 GB, free: 3.387 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.4109, allocations: 0.9082 MB / 0.6475 GB, free: 2.477 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.4112, allocations: 437.4 kB / 0.6479 GB, free: 2.047 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.25e-06/0.4113, allocations: 0 / 0.6479 GB, free: 2.047 MB / 458.7 MB Notification: Performance of Bindings: time 0.001138/0.4124, allocations: 1.218 MB / 0.6491 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of simplify: time 7.911e-05/0.4125, allocations: 95.86 kB / 0.6492 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of RemoveSimpleEquations: time 0.001066/0.4136, allocations: 1.03 MB / 0.6502 GB, free: 15.48 MB / 474.7 MB Notification: Performance of Events: time 8.18e-05/0.4137, allocations: 71.86 kB / 0.6503 GB, free: 15.41 MB / 474.7 MB Notification: Performance of DetectStates: time 0.0001807/0.4138, allocations: 131.8 kB / 0.6504 GB, free: 15.28 MB / 474.7 MB Notification: Performance of Partitioning: time 0.0005095/0.4144, allocations: 0.4931 MB / 0.6509 GB, free: 14.77 MB / 474.7 MB Notification: Performance of Causalize: time 0.0009402/0.4153, allocations: 1.192 MB / 0.652 GB, free: 13.6 MB / 474.7 MB Notification: Performance of Partitioning: time 0.001027/0.4163, allocations: 1.014 MB / 0.653 GB, free: 12.57 MB / 474.7 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [ALGB] (1) Real flowResistance1.dr_corr_fore, [ALGB] (1) Real boundary_fore.rear.r Error: Internal error NBInitialization.main failed! Notification: Performance of Initialization: time 0.001256/0.4176, allocations: 1.541 MB / 0.6545 GB, free: 11.02 MB / 474.7 MB Error: Internal error Trying to construct residual expression of type flowResistance1.fore.Medium.ThermodynamicState for equation [RECD] (2) flowResistance1.fore.state_forwards = ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.flowResistance1.Medium.setState_phX(flowResistance1.p_fore_out, flowResistance1.h_fore_out, {}) ($RES_SIM_29) but operator '+' is not defined.