Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00173/0.00173, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.2 MB / 257.8 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2326/0.2326, allocations: 46.9 MB / 361.1 MB, free: 4.633 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0031/0.0031, allocations: 83.84 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3509, allocations: 65.99 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1149/0.4658, allocations: 91.64 MB / 0.6507 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03775/0.5035, allocations: 21.53 MB / 0.6717 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004034/0.5076, allocations: 91.38 kB / 0.6718 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00363/0.5112, allocations: 0.955 MB / 0.6728 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.5238, allocations: 3.795 MB / 0.6765 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01714/0.541, allocations: 5.676 MB / 0.682 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01188/0.5528, allocations: 6.944 MB / 0.6888 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003815/0.5567, allocations: 1.583 MB / 0.6903 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5381/1.095, allocations: 75.13 MB / 0.7637 GB, free: 41.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05698/1.152, allocations: 32.19 MB / 0.7951 GB, free: 31.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001049/1.153, allocations: 243.6 kB / 0.7954 GB, free: 31.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/1.165, allocations: 6.172 MB / 0.8014 GB, free: 26.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001792/1.167, allocations: 1.112 MB / 0.8025 GB, free: 25.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002276/1.169, allocations: 1.489 MB / 0.8039 GB, free: 25.01 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008233/1.178, allocations: 5.538 MB / 0.8094 GB, free: 20.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.178, allocations: 0 / 0.8094 GB, free: 20.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/1.178, allocations: 0 / 0.8094 GB, free: 20.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.974e-05/1.178, allocations: 0 / 0.8094 GB, free: 20.69 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.007417/1.185, allocations: 3.588 MB / 0.8129 GB, free: 17.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.185, allocations: 12.03 kB / 0.8129 GB, free: 17.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009225/1.186, allocations: 318.2 kB / 0.8132 GB, free: 17.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003582/1.19, allocations: 1.683 MB / 0.8148 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/1.19, allocations: 210.3 kB / 0.815 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002782/1.19, allocations: 192.5 kB / 0.8152 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00436/1.194, allocations: 3.271 MB / 0.8184 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/1.194, allocations: 7.844 kB / 0.8184 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/1.195, allocations: 81.5 kB / 0.8185 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002314/1.195, allocations: 249.8 kB / 0.8187 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004197/1.199, allocations: 3.097 MB / 0.8217 GB, free: 10.83 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.01663/1.216, allocations: 13.68 MB / 0.8351 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004293/1.22, allocations: 2.104 MB / 0.8372 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/1.222, allocations: 1.117 MB / 0.8383 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009525/1.231, allocations: 5.46 MB / 0.8436 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/1.231, allocations: 51.88 kB / 0.8436 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007187/1.232, allocations: 158.6 kB / 0.8438 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=158): time 3.977e-06/1.232, allocations: 0 / 0.8438 GB, free: 5.418 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8016:5-8016: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.473652723245323] 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.7463624677620828 1.758888412 0.577919089 Calling exit ...