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.001818/0.001818, allocations: 109.8 kB / 16.42 MB, free: 6.512 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.001744/0.001744, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.563/1.563, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9449/0.9449, allocations: 91.18 MB / 382.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.255e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase): time 0.5006/0.5007, allocations: 114.7 MB / 0.6294 GB, free: 420 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.7147/1.215, allocations: 119.9 MB / 0.7465 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005051/1.221, allocations: 68.22 kB / 0.7466 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007703/1.228, allocations: 1.785 MB / 0.7483 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.02548/1.254, allocations: 5.969 MB / 0.7541 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.06814/1.322, allocations: 16.15 MB / 0.7699 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01173/1.334, allocations: 4.43 MB / 0.7742 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/1.336, allocations: 0.6196 MB / 0.7748 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005964/1.342, allocations: 1.742 MB / 0.7765 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004286/1.346, allocations: 1.431 MB / 0.7779 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008074/1.347, allocations: 203.3 kB / 0.7781 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1156/1.463, allocations: 43.25 MB / 0.8204 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.009617/1.472, allocations: 4.555 MB / 0.8248 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.005196/1.478, allocations: 2.929 MB / 0.8277 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002576/1.48, allocations: 455.1 kB / 0.8281 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.001262/1.481, allocations: 167 kB / 0.8283 GB, free: 5.855 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.02519/1.507, allocations: 13.49 MB / 0.8414 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of FunctionAlias: time 0.003616/1.51, allocations: 2.364 MB / 0.8438 GB, free: 10.19 MB / 0.6231 GB Error: Internal error NBVariable.getVarPointer failed for _, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.