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.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.001398/0.001398, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001593/0.001593, allocations: 211 kB / 23.06 MB, free: 4.984 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.545/1.545, allocations: 230.7 MB / 256.9 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8861/0.8861, allocations: 94.63 MB / 407.9 MB, free: 8.809 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/1.95e-05, allocations: 2.281 kB / 0.5563 GB, free: 38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEXvsDir): time 0.8705/0.8705, allocations: 352.8 MB / 0.9008 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.8805/1.751, allocations: 192.1 MB / 1.088 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01043/1.761, allocations: 245.2 kB / 1.089 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01289/1.774, allocations: 3.063 MB / 1.092 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.04712/1.821, allocations: 11.65 MB / 1.103 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.09291/1.914, allocations: 22.85 MB / 1.125 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.02304/1.937, allocations: 14.93 MB / 1.14 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009455/1.947, allocations: 1.994 MB / 1.142 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01932/1.966, allocations: 6.886 MB / 1.149 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0136/1.98, allocations: 4.805 MB / 1.153 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.005609/1.985, allocations: 0.7357 MB / 1.154 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1651/2.151, allocations: 56.29 MB / 1.209 GB, free: 13.13 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0249/2.175, allocations: 14.98 MB / 1.224 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.01187/2.187, allocations: 9.03 MB / 1.232 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004682/2.192, allocations: 0.6016 MB / 1.233 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.002142/2.194, allocations: 408.2 kB / 1.233 GB, free: 6.297 MB / 0.8106 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.07859/2.273, allocations: 42.36 MB / 1.275 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of [SIM] FunctionAlias: time 0.01368/2.286, allocations: 5.537 MB / 1.28 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of [SIM] Early Inline: time 0.05788/2.344, allocations: 27.86 MB / 1.307 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of [SIM] Simplify 1: time 0.01058/2.355, allocations: 3.363 MB / 1.311 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of [SIM] Alias: time 0.0451/2.4, allocations: 20.85 MB / 1.331 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.009372/2.409, allocations: 3.076 MB / 1.334 GB, free: 132 kB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.005906/2.415, allocations: 2.125 MB / 1.336 GB, free: 13.93 MB / 0.92 GB Notification: Performance of [SIM] Detect States: time 0.01118/2.426, allocations: 5.213 MB / 1.341 GB, free: 8.707 MB / 0.92 GB Notification: Performance of [SIM] Events: time 0.003769/2.43, allocations: 1.595 MB / 1.343 GB, free: 7.121 MB / 0.92 GB Notification: Performance of [SIM] Partitioning: time 0.02734/2.458, allocations: 9.609 MB / 1.352 GB, free: 13.44 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.225197512016166] Failed to read output from testmodel.py, exit status != 0: 2.4924454210558906 2.509334111 0.30994253599999994 Calling exit ...