Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 218.3 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 256.9 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8689/0.8689, allocations: 100.9 MB / 414.2 MB, free: 2.84 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir") translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.059e-05, allocations: 7.969 kB / 0.5654 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir): time 0.8541/0.8541, allocations: 352.8 MB / 0.9099 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.8469/1.701, allocations: 192 MB / 1.097 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007567/1.709, allocations: 247.6 kB / 1.098 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01151/1.72, allocations: 3.06 MB / 1.101 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.03854/1.759, allocations: 11.66 MB / 1.112 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.078/1.837, allocations: 22.84 MB / 1.134 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0229/1.86, allocations: 14.94 MB / 1.149 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005762/1.865, allocations: 1.998 MB / 1.151 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01838/1.884, allocations: 6.876 MB / 1.158 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01111/1.895, allocations: 4.806 MB / 1.162 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.003872/1.899, allocations: 0.7403 MB / 1.163 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1498/2.048, allocations: 56.29 MB / 1.218 GB, free: 5.758 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.02498/2.073, allocations: 14.99 MB / 1.233 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.01153/2.085, allocations: 9.029 MB / 1.241 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003941/2.089, allocations: 0.5938 MB / 1.242 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.001693/2.091, allocations: 407.2 kB / 1.242 GB, free: 13.75 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 [SIM] Bindings: time 0.07197/2.163, allocations: 42.38 MB / 1.284 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of [SIM] FunctionAlias: time 0.01229/2.175, allocations: 5.533 MB / 1.289 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of [SIM] Early Inline: time 0.05504/2.23, allocations: 27.87 MB / 1.316 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of [SIM] Simplify 1: time 0.01145/2.241, allocations: 3.355 MB / 1.32 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of [SIM] Alias: time 0.04548/2.287, allocations: 20.84 MB / 1.34 GB, free: 10.7 MB / 0.92 GB Notification: Performance of [SIM] Simplify 2: time 0.009394/2.296, allocations: 3.089 MB / 1.343 GB, free: 7.477 MB / 0.92 GB Notification: Performance of [SIM] Remove Stream: time 0.006474/2.303, allocations: 2.109 MB / 1.345 GB, free: 5.285 MB / 0.92 GB Notification: Performance of [SIM] Detect States: time 0.01121/2.314, allocations: 5.221 MB / 1.35 GB, free: 56 kB / 0.92 GB Notification: Performance of [SIM] Events: time 0.003916/2.318, allocations: 1.585 MB / 1.352 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of [SIM] Partitioning: time 0.02271/2.34, allocations: 9.593 MB / 1.361 GB, free: 4.805 MB / 0.9356 GB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (10) flow Real[10] discretizedHEXUndir.thermalElementB.rear.m_flow slice: {0, 1, 2, 3, 5, 6, 7, 8, 9} " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 6.303955034993123] Failed to read output from testmodel.py, exit status != 0: 2.3722754109767266 2.748148226 0.652516003 Calling exit ...