Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElementHEX_twoPhase.h|conductionElementHEX_twoPhase.inlet.m_flow|conductionElementHEX_twoPhase1.h|conductionElementHEX_twoPhase1.inlet.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|trapezoid.T_start|trapezoid.count|trapezoid2.T_start|trapezoid2.count|volume.M|volume.U_med|volume.m_flow_in|volume.m_flow_out|volume1.M|volume1.U_med|volume1.m_flow_in|volume1.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase") translateModel(ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElementHEX_twoPhase.h|conductionElementHEX_twoPhase.inlet.m_flow|conductionElementHEX_twoPhase1.h|conductionElementHEX_twoPhase1.inlet.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|trapezoid.T_start|trapezoid.count|trapezoid2.T_start|trapezoid2.count|volume.M|volume.U_med|volume.m_flow_in|volume.m_flow_out|volume1.M|volume1.U_med|volume1.m_flow_in|volume1.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008839/0.0008839, allocations: 107.5 kB / 16.42 MB, free: 6.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009045/0.0009045, allocations: 186 kB / 17.36 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.153/1.153, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6033/0.6033, allocations: 91.2 MB / 382.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.166e-05, allocations: 4.953 kB / 0.5174 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase): time 0.2532/0.2532, allocations: 114.7 MB / 0.6294 GB, free: 380 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.3635/0.6167, allocations: 119.9 MB / 0.7465 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.6193, allocations: 66.72 kB / 0.7466 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004002/0.6233, allocations: 1.889 MB / 0.7484 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.6388, allocations: 6.169 MB / 0.7544 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04033/0.6791, allocations: 16.55 MB / 0.7706 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00652/0.6857, allocations: 4.442 MB / 0.7749 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.6869, allocations: 0.6171 MB / 0.7755 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003615/0.6905, allocations: 1.732 MB / 0.7772 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.6928, allocations: 1.438 MB / 0.7786 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003152/0.6931, allocations: 204 kB / 0.7788 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07741/0.7706, allocations: 43.25 MB / 0.8211 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.005044/0.7756, allocations: 4.552 MB / 0.8255 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.002229/0.7779, allocations: 2.939 MB / 0.8284 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.779, allocations: 455.4 kB / 0.8288 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0007045/0.7798, allocations: 167.3 kB / 0.829 GB, free: 5.535 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 (424) * Number of variables: 512 (512) Notification: Performance of Bindings: time 0.01104/0.7908, allocations: 13.49 MB / 0.8421 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of FunctionAlias: time 0.002105/0.7929, allocations: 2.363 MB / 0.8445 GB, free: 9.883 MB / 0.6231 GB Error: Internal error NBVariable.getVarPointer failed for _, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.