Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase.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.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_OM_adaptions_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_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 169.1 kB / 16.12 MB, free: 5.551 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.425/1.425, allocations: 205 MB / 221.9 MB, free: 1.832 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.0009459/0.0009458, allocations: 82.25 kB / 269.9 MB, free: 1.781 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.5754/0.5754, allocations: 90.51 MB / 408.3 MB, free: 15.1 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.796e-05, allocations: 2.281 kB / 484.9 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase): time 0.3049/0.3049, allocations: 113.1 MB / 0.5839 GB, free: 10.49 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.1171/0.422, allocations: 122.3 MB / 0.7034 GB, free: 2.164 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00437/0.4264, allocations: 27.88 kB / 0.7034 GB, free: 2.137 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005365/0.4318, allocations: 1.508 MB / 0.7049 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01651/0.4484, allocations: 5.036 MB / 0.7098 GB, free: 11.56 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04346/0.4918, allocations: 13.02 MB / 0.7225 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.005788/0.4977, allocations: 4.402 MB / 0.7268 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveArrayConnections: time 3.058/3.556, allocations: 1.708 GB / 2.435 GB, free: 87.92 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/3.56, allocations: 1.377 MB / 2.436 GB, free: 86.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/3.562, allocations: 1.311 MB / 2.437 GB, free: 86.01 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003155/3.562, allocations: 96 kB / 2.437 GB, free: 85.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.431/3.993, allocations: 131.8 MB / 2.566 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003201/3.997, allocations: 1.768 MB / 2.568 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.122e-06/3.997, allocations: 3.625 kB / 2.568 GB, free: 142.6 MB / 0.6355 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume1.medium.state.phase Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume1.medium.state.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume1.medium.state.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume1.medium.state.p Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume1.medium.state.h Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume1.medium.sat.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume1.medium.sat.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume.medium.state.phase Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume.medium.state.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume.medium.state.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume.medium.state.p Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume.medium.state.h Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume.medium.sat.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume.medium.sat.Tsat Notification: Performance of Bindings: time 0.005192/4.002, allocations: 5.955 MB / 2.574 GB, free: 140.4 MB / 0.6355 GB Notification: Performance of simplify: time 0.0004698/4.002, allocations: 356.9 kB / 2.574 GB, free: 140.3 MB / 0.6355 GB Error: Internal error NBVariable.getVarPointer failed for volume.medium.sat.psat, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.