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.001333/0.001333, allocations: 110.8 kB / 21.19 MB, free: 0.6484 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.001468/0.001468, allocations: 211.6 kB / 24.49 MB, free: 3.938 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2238/0.2238, allocations: 46.97 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] 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 - loaded program: time 0.002022/0.002022, allocations: 64.09 kB / 0.4974 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3225, allocations: 66.04 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.09963/0.4222, allocations: 81.75 MB / 0.6417 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03462/0.4568, allocations: 19.62 MB / 0.6608 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.4598, allocations: 118.9 kB / 0.661 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003006/0.4628, allocations: 0.92 MB / 0.6619 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.4749, allocations: 3.892 MB / 0.6657 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01629/0.4912, allocations: 6.051 MB / 0.6716 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01204/0.5032, allocations: 7.276 MB / 0.6787 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00339/0.5066, allocations: 1.611 MB / 0.6802 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4459/0.9525, allocations: 74.43 MB / 0.7529 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05391/1.006, allocations: 31.88 MB / 0.7841 GB, free: 44.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009848/1.007, allocations: 244.9 kB / 0.7843 GB, free: 44.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/1.019, allocations: 5.505 MB / 0.7897 GB, free: 43.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001651/1.02, allocations: 1.105 MB / 0.7907 GB, free: 43.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001965/1.022, allocations: 1.25 MB / 0.792 GB, free: 43.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007978/1.03, allocations: 5.392 MB / 0.7972 GB, free: 41.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.03, allocations: 0 / 0.7972 GB, free: 41.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.41e-07/1.03, allocations: 0 / 0.7972 GB, free: 41.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.926e-05/1.03, allocations: 3.188 kB / 0.7972 GB, free: 41.42 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.008278/1.039, allocations: 3.509 MB / 0.8007 GB, free: 38.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.039, allocations: 8.031 kB / 0.8007 GB, free: 38.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009903/1.04, allocations: 330 kB / 0.801 GB, free: 37.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/1.043, allocations: 1.576 MB / 0.8025 GB, free: 36.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/1.043, allocations: 266.3 kB / 0.8028 GB, free: 36.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/1.043, allocations: 186.2 kB / 0.803 GB, free: 36.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004558/1.048, allocations: 3.659 MB / 0.8065 GB, free: 33.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.64e-05/1.048, allocations: 3.562 kB / 0.8065 GB, free: 33.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000223/1.048, allocations: 84.25 kB / 0.8066 GB, free: 33.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002389/1.048, allocations: 253.5 kB / 0.8069 GB, free: 33.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004307/1.053, allocations: 3.09 MB / 0.8099 GB, free: 31.23 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/1.069, allocations: 9.766 MB / 0.8194 GB, free: 23.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003675/1.073, allocations: 2.097 MB / 0.8215 GB, free: 22.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/1.074, allocations: 1.109 MB / 0.8225 GB, free: 21.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009021/1.083, allocations: 3.229 MB / 0.8257 GB, free: 18.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/1.083, allocations: 54.88 kB / 0.8257 GB, free: 18.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009435/1.084, allocations: 126.9 kB / 0.8259 GB, free: 18.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=158): time 9.318e-06/1.084, allocations: 0 / 0.8259 GB, free: 18.23 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: radiator.mediums[1].h = 104929.29464256502 + 4181.885502948851 * (-298.15 + radiator.mediums[1].T) + 9.260700016004721e-4 * (-101325.0 + radiator.mediums[1].p) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState could not be translated " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.303677306997997] 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.6856009289986105 1.699250752 0.665610489 Calling exit ...