Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.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.001543/0.001543, allocations: 100.4 kB / 20.52 MB, free: 1.148 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.001499/0.001499, allocations: 213.8 kB / 23.82 MB, free: 4.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 207.7 MB / 234.7 MB, free: 9.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2349/0.2349, allocations: 44.26 MB / 331.2 MB, free: 9.367 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.603e-05, allocations: 3.828 kB / 468.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1044/0.1044, allocations: 81.48 MB / 0.5374 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3699/0.4743, allocations: 19.55 MB / 0.5565 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003745/0.478, allocations: 123.3 kB / 0.5566 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.4806, allocations: 0.9151 MB / 0.5575 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01233/0.4929, allocations: 3.874 MB / 0.5613 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01881/0.5117, allocations: 5.908 MB / 0.5671 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02033/0.532, allocations: 13.29 MB / 0.5801 GB, free: 8.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008064/0.5401, allocations: 2.809 MB / 0.5828 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.179/0.7191, allocations: 77.06 MB / 0.658 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07691/0.7961, allocations: 31.79 MB / 0.6891 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001647/0.7977, allocations: 212 kB / 0.6893 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01722/0.8149, allocations: 5.385 MB / 0.6946 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.01151/0.8264, allocations: 6.083 MB / 0.7005 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.005556/0.832, allocations: 3.711 MB / 0.7041 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00195/0.8339, allocations: 220 kB / 0.7043 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0008162/0.8347, allocations: 63.69 kB / 0.7044 GB, free: 4.73 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 (377) * Number of variables: 538 (377) Notification: Performance of [SIM] Bindings: time 0.02269/0.8574, allocations: 15.34 MB / 0.7194 GB, free: 5.844 MB / 0.5294 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i22 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i36 Notification: Performance of [SIM] FunctionAlias: time 0.003347/0.8608, allocations: 2.097 MB / 0.7214 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.01292/0.8737, allocations: 9.97 MB / 0.7312 GB, free: 9.977 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.003907/0.8776, allocations: 1.792 MB / 0.7329 GB, free: 8.156 MB / 0.545 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.01431/0.8919, allocations: 8.424 MB / 0.7411 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of [SIM] Simplify 2: time 0.003072/0.895, allocations: 1.711 MB / 0.7428 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of [SIM] Remove Stream: time 0.00111/0.8961, allocations: 0.6831 MB / 0.7435 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of [SIM] Detect States: time 0.001852/0.898, allocations: 1.605 MB / 0.745 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of [SIM] Events: time 0.001235/0.8992, allocations: 0.8014 MB / 0.7458 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of [SIM] Partitioning: time 0.003757/0.903, allocations: 3.22 MB / 0.749 GB, free: 6.785 MB / 0.5606 GB Error: Internal error NBResolveSingularities.indexReduction failed because dynamic index reduction is not yet supported. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.2903893700568005] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank.m', 'm_flow', 'T_forward', 'T_return', 'tankLevel', 'tank.ports[1].m_flow', 'tank.ports[1].p', 'tank.ports[1].h_outflow', 'tank.ports[2].m_flow', 'tank.ports[2].p', 'tank.ports[2].h_outflow', 'tank.portsData[1].diameter', 'tank.portsData[1].height', 'tank.portsData[1].zeta_out', 'tank.portsData[1].zeta_in', 'tank.portsData[2].diameter', 'tank.portsData[2].height', 'tank.portsData[2].zeta_out', 'tank.portsData[2].zeta_in', 'tank.ports_H_flow[1]', 'tank.ports_H_flow[2]', 'tank.ports_E_flow[1]', 'tank.ports_E_flow[2]', 'tank.ports_penetration[1]', 'tank.ports_penetration[2]', 'tank.portsData_diameter_internal[1]', 'tank.portsData_diameter_internal[2]', 'tank.portsData_height_internal[1]', 'tank.portsData_height_internal[2]', 'tank.portsData_zeta_in_internal[1]', 'tank.portsData_zeta_in_internal[2]', 'tank.portsData_zeta_out_internal[1]', 'tank.portsData_zeta_out_internal[2]', 'tank.portsData_diameter[1]', 'tank.portsData_diameter[2]', 'tank.portsData_height[1]', 'tank.portsData_height[2]', 'tank.portsData_zeta_in[1]', 'tank.portsData_zeta_in[2]', 'tank.portsData_zeta_out[1]', 'tank.portsData_zeta_out[2]', 'pump.port_b.m_flow', 'pump.port_b.p', 'pump.port_b.h_outflow', 'valve.port_b.m_flow', 'valve.port_b.p', 'valve.port_b.h_outflow', 'valve.minLimiter.y', 'sensor_m_flow.port_b.m_flow', 'sensor_m_flow.port_b.p', 'sensor_m_flow.port_b.h_outflow', 'heater.port_b.m_flow', 'heater.port_b.p', 'heater.port_b.h_outflow', 'radiator.port_b.m_flow', 'radiator.port_b.p', 'radiator.port_b.h_outflow', 'handle.y', 'pipe.port_b.m_flow', 'pipe.port_b.p', 'pipe.port_b.h_outflow'] 1.2264457559795119 1.239684475 0.401396684 Calling exit ...