Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001308/0.001308, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001599/0.001599, allocations: 204.7 kB / 24.55 MB, free: 3.73 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 46.97 MB / 361.7 MB, free: 4.004 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.803e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.3277/0.3277, allocations: 81.76 MB / 0.5773 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0376/0.3653, allocations: 19.62 MB / 0.5964 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003918/0.3692, allocations: 122.9 kB / 0.5965 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003809/0.373, allocations: 0.9201 MB / 0.5974 GB, free: 10 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01447/0.3875, allocations: 3.885 MB / 0.6012 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01865/0.4061, allocations: 5.951 MB / 0.607 GB, free: 160 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02015/0.4263, allocations: 13.42 MB / 0.6202 GB, free: 2.707 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008649/0.4349, allocations: 2.844 MB / 0.6229 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1827/0.6177, allocations: 77.23 MB / 0.6984 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07528/0.6929, allocations: 31.82 MB / 0.7294 GB, free: 1.707 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.6948, allocations: 212 kB / 0.7296 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4041/1.099, allocations: 5.412 MB / 0.7349 GB, free: 115.7 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.01067/1.11, allocations: 6.078 MB / 0.7409 GB, free: 114.3 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.004741/1.114, allocations: 3.706 MB / 0.7445 GB, free: 112.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001877/1.116, allocations: 217.7 kB / 0.7447 GB, free: 112.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 0.0006172/1.117, allocations: 71.02 kB / 0.7447 GB, free: 112.6 MB / 0.545 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.01996/1.137, allocations: 15.35 MB / 0.7597 GB, free: 107.9 MB / 0.545 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.003145/1.14, allocations: 2.101 MB / 0.7618 GB, free: 107.4 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.01139/1.151, allocations: 9.965 MB / 0.7715 GB, free: 107 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.004419/1.156, allocations: 1.792 MB / 0.7733 GB, free: 106.4 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.0124/1.168, allocations: 8.413 MB / 0.7815 GB, free: 104.4 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.002792/1.171, allocations: 1.698 MB / 0.7831 GB, free: 103.8 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.001031/1.172, allocations: 0.7023 MB / 0.7838 GB, free: 103.7 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.002063/1.174, allocations: 1.606 MB / 0.7854 GB, free: 103.4 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.001455/1.175, allocations: 0.7963 MB / 0.7862 GB, free: 103.1 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.00301/1.179, allocations: 3.203 MB / 0.7893 GB, free: 100.7 MB / 0.545 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: 3.963695257960353] 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.193361897021532 1.201781518 0.08234303300000001 Calling exit ...