Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir.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.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PI1.x|PI2.x|PI3.x|PI4.x|PI5.x|Time|boundary_fore1.rear.m_flow|boundary_rear.fore.m_flow|condenser.thermalElementA.10..h|condenser.thermalElementA.1..h|condenser.thermalElementA.2..h|condenser.thermalElementA.3..h|condenser.thermalElementA.4..h|condenser.thermalElementA.5..h|condenser.thermalElementA.6..h|condenser.thermalElementA.7..h|condenser.thermalElementA.8..h|condenser.thermalElementA.9..h|condenser.thermalElementB.10..h|condenser.thermalElementB.1..h|condenser.thermalElementB.2..h|condenser.thermalElementB.3..h|condenser.thermalElementB.4..h|condenser.thermalElementB.5..h|condenser.thermalElementB.6..h|condenser.thermalElementB.7..h|condenser.thermalElementB.8..h|condenser.thermalElementB.9..h|discretizedHEXUndir.thermalElementA.10..h|discretizedHEXUndir.thermalElementA.1..h|discretizedHEXUndir.thermalElementA.2..h|discretizedHEXUndir.thermalElementA.3..h|discretizedHEXUndir.thermalElementA.4..h|discretizedHEXUndir.thermalElementA.5..h|discretizedHEXUndir.thermalElementA.6..h|discretizedHEXUndir.thermalElementA.7..h|discretizedHEXUndir.thermalElementA.8..h|discretizedHEXUndir.thermalElementA.9..h|discretizedHEXUndir.thermalElementB.10..h|discretizedHEXUndir.thermalElementB.1..h|discretizedHEXUndir.thermalElementB.2..h|discretizedHEXUndir.thermalElementB.3..h|discretizedHEXUndir.thermalElementB.4..h|discretizedHEXUndir.thermalElementB.5..h|discretizedHEXUndir.thermalElementB.6..h|discretizedHEXUndir.thermalElementB.7..h|discretizedHEXUndir.thermalElementB.8..h|discretizedHEXUndir.thermalElementB.9..h|evaporator.thermalElementA.10..h|evaporator.thermalElementA.1..h|evaporator.thermalElementA.2..h|evaporator.thermalElementA.3..h|evaporator.thermalElementA.4..h|evaporator.thermalElementA.5..h|evaporator.thermalElementA.6..h|evaporator.thermalElementA.7..h|evaporator.thermalElementA.8..h|evaporator.thermalElementA.9..h|evaporator.thermalElementB.10..h|evaporator.thermalElementB.1..h|evaporator.thermalElementB.2..h|evaporator.thermalElementB.3..h|evaporator.thermalElementB.4..h|evaporator.thermalElementB.5..h|evaporator.thermalElementB.6..h|evaporator.thermalElementB.7..h|evaporator.thermalElementB.8..h|evaporator.thermalElementB.9..h|sourceA.outlet.m_flow|sourceA1.outlet.m_flow|sourceB.outlet.m_flow|sourceB1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir") translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PI1.x|PI2.x|PI3.x|PI4.x|PI5.x|Time|boundary_fore1.rear.m_flow|boundary_rear.fore.m_flow|condenser.thermalElementA.10..h|condenser.thermalElementA.1..h|condenser.thermalElementA.2..h|condenser.thermalElementA.3..h|condenser.thermalElementA.4..h|condenser.thermalElementA.5..h|condenser.thermalElementA.6..h|condenser.thermalElementA.7..h|condenser.thermalElementA.8..h|condenser.thermalElementA.9..h|condenser.thermalElementB.10..h|condenser.thermalElementB.1..h|condenser.thermalElementB.2..h|condenser.thermalElementB.3..h|condenser.thermalElementB.4..h|condenser.thermalElementB.5..h|condenser.thermalElementB.6..h|condenser.thermalElementB.7..h|condenser.thermalElementB.8..h|condenser.thermalElementB.9..h|discretizedHEXUndir.thermalElementA.10..h|discretizedHEXUndir.thermalElementA.1..h|discretizedHEXUndir.thermalElementA.2..h|discretizedHEXUndir.thermalElementA.3..h|discretizedHEXUndir.thermalElementA.4..h|discretizedHEXUndir.thermalElementA.5..h|discretizedHEXUndir.thermalElementA.6..h|discretizedHEXUndir.thermalElementA.7..h|discretizedHEXUndir.thermalElementA.8..h|discretizedHEXUndir.thermalElementA.9..h|discretizedHEXUndir.thermalElementB.10..h|discretizedHEXUndir.thermalElementB.1..h|discretizedHEXUndir.thermalElementB.2..h|discretizedHEXUndir.thermalElementB.3..h|discretizedHEXUndir.thermalElementB.4..h|discretizedHEXUndir.thermalElementB.5..h|discretizedHEXUndir.thermalElementB.6..h|discretizedHEXUndir.thermalElementB.7..h|discretizedHEXUndir.thermalElementB.8..h|discretizedHEXUndir.thermalElementB.9..h|evaporator.thermalElementA.10..h|evaporator.thermalElementA.1..h|evaporator.thermalElementA.2..h|evaporator.thermalElementA.3..h|evaporator.thermalElementA.4..h|evaporator.thermalElementA.5..h|evaporator.thermalElementA.6..h|evaporator.thermalElementA.7..h|evaporator.thermalElementA.8..h|evaporator.thermalElementA.9..h|evaporator.thermalElementB.10..h|evaporator.thermalElementB.1..h|evaporator.thermalElementB.2..h|evaporator.thermalElementB.3..h|evaporator.thermalElementB.4..h|evaporator.thermalElementB.5..h|evaporator.thermalElementB.6..h|evaporator.thermalElementB.7..h|evaporator.thermalElementB.8..h|evaporator.thermalElementB.9..h|sourceA.outlet.m_flow|sourceA1.outlet.m_flow|sourceB.outlet.m_flow|sourceB1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.001124/0.001124, 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.18/1.18, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6162/0.6162, allocations: 91.19 MB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.172e-05, allocations: 2.281 kB / 0.5175 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir): time 0.7859/0.7859, allocations: 396.6 MB / 0.9048 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5512/1.337, allocations: 214.6 MB / 1.114 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005731/1.343, allocations: 173.3 kB / 1.115 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007811/1.351, allocations: 3.478 MB / 1.118 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02851/1.379, allocations: 11.3 MB / 1.129 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.05815/1.438, allocations: 22.54 MB / 1.151 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01536/1.453, allocations: 12.8 MB / 1.164 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005749/1.459, allocations: 4.788 MB / 1.168 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0107/1.469, allocations: 6.003 MB / 1.174 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007606/1.477, allocations: 4.543 MB / 1.178 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001876/1.479, allocations: 0.7383 MB / 1.179 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.121/1.6, allocations: 58.93 MB / 1.237 GB, free: 2.34 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.01262/1.613, allocations: 11.83 MB / 1.248 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.006655/1.619, allocations: 7.489 MB / 1.256 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002822/1.622, allocations: 1.013 MB / 1.257 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.001813/1.624, allocations: 398.6 kB / 1.257 GB, free: 14.09 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3524 (1382) * Number of variables: 3524 (1103) Notification: Performance of Bindings: time 0.04436/1.668, allocations: 39.6 MB / 1.296 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of FunctionAlias: time 0.005561/1.674, allocations: 4.884 MB / 1.3 GB, free: 1.797 MB / 0.8575 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_10.phase Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_10.h Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_10.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_10.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_10.p Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_11.phase Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_11.h Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_11.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_11.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_11.p Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.phase Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.h Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.p Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.phase Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.h Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.p Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_46.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_46.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_56.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_56.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_67.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_67.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_76.phase Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_76.h Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_76.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_76.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_76.p Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_77.phase Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_77.h Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_77.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_77.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_77.p Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_80.phase Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_80.h Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_80.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_80.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_80.p Notification: Performance of Early Inline: time 0.03087/1.705, allocations: 24.86 MB / 1.325 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of simplify1: time 0.001819/1.707, allocations: 1.255 MB / 1.326 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of Alias: time 0.4345/2.141, allocations: 21.45 MB / 1.347 GB, free: 108 MB / 0.8887 GB Notification: Performance of simplify2: time 0.002233/2.143, allocations: 1.093 MB / 1.348 GB, free: 108 MB / 0.8887 GB Notification: Performance of Events: time 0.004995/2.149, allocations: 4.389 MB / 1.352 GB, free: 107.2 MB / 0.8887 GB Notification: Performance of Detect States: time 0.0059/2.154, allocations: 5.213 MB / 1.357 GB, free: 106.8 MB / 0.8887 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.p, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.