Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002727/0.002732, allocations: 370.5 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.151/4.151, allocations: 388.9 MB / 405.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003499/0.003499, allocations: 227.7 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5354/0.5354, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006673/0.0006676, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.104, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.4832/0.5873, allocations: 101.6 MB / 0.7793 GB, free: 4.531 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.09212/0.6795, allocations: 40.72 MB / 0.8191 GB, free: 13.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004446/0.684, allocations: 107.1 kB / 0.8192 GB, free: 13.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005451/0.6895, allocations: 1.08 MB / 0.8202 GB, free: 12.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02882/0.7184, allocations: 6.979 MB / 0.827 GB, free: 5.609 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03101/0.7494, allocations: 7.498 MB / 0.8344 GB, free: 14.12 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01578/0.7652, allocations: 9.068 MB / 0.8432 GB, free: 5.027 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004362/0.7697, allocations: 1.574 MB / 0.8448 GB, free: 3.441 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06451/0.8342, allocations: 24.87 MB / 0.869 GB, free: 10.55 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06387/0.8982, allocations: 25.34 MB / 0.8938 GB, free: 1.195 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.3739/1.272, allocations: 136.6 kB / 0.8939 GB, free: 61.48 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03841/1.311, allocations: 12.27 MB / 0.9059 GB, free: 61.48 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002548/1.313, allocations: 0.9844 MB / 0.9069 GB, free: 61.48 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002337/1.316, allocations: 0.6212 MB / 0.9075 GB, free: 61.45 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0174/1.333, allocations: 6.992 MB / 0.9143 GB, free: 61.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.333, allocations: 0 / 0.9143 GB, free: 61.21 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.737e-06/1.333, allocations: 0.75 kB / 0.9143 GB, free: 61.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001681/1.333, allocations: 0 / 0.9143 GB, free: 61.21 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.01836/1.352, allocations: 4.023 MB / 0.9182 GB, free: 59.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.352, allocations: 8.969 kB / 0.9182 GB, free: 59.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/1.362, allocations: 0.9915 MB / 0.9192 GB, free: 59.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005313/1.367, allocations: 1.71 MB / 0.9209 GB, free: 58.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004538/1.368, allocations: 288.2 kB / 0.9212 GB, free: 58.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/1.369, allocations: 232.7 kB / 0.9214 GB, free: 58.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/1.384, allocations: 4.425 MB / 0.9257 GB, free: 58.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-05/1.384, allocations: 10.25 kB / 0.9257 GB, free: 58.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000489/1.384, allocations: 107.3 kB / 0.9258 GB, free: 58.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004934/1.385, allocations: 272.2 kB / 0.9261 GB, free: 58.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/1.401, allocations: 4.185 MB / 0.9302 GB, free: 58.23 MB / 474.7 MB 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.03878/1.44, allocations: 18.85 MB / 0.9486 GB, free: 45.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/1.451, allocations: 2.769 MB / 0.9513 GB, free: 43.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004417/1.456, allocations: 1.395 MB / 0.9526 GB, free: 42.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05709/1.513, allocations: 17.22 MB / 0.9694 GB, free: 23.47 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.558e-05/1.513, allocations: 58.31 kB / 0.9695 GB, free: 23.42 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002348/1.515, allocations: 325.8 kB / 0.9698 GB, free: 23.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=179): time 8.526e-06/1.515, allocations: 0 / 0.9698 GB, free: 23.12 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p 2: tank.medium.h 3: radiator.mediums[1].h 4: pipe.mediums[1].h 5: pipe.mediums[1].p 6: pipe.mediums[2].p 7: pipe.mediums[2].h 8: heater.mediums[1].h 9: radiator.mediums[1].p 10: pump.medium.h 11: heater.mediums[1].p Please use -d=bltdump for more information. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: pump.head = homotopy((pump.N / pump.N_nominal) ^ 2.0 * ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pump.flowCharacteristic(pump.V_flow_single * pump.N_nominal / pump.N, {0.0, pump.V_flow_op, 1.5 * pump.V_flow_op}, {2.0 * pump.head_op, pump.head_op, 0.0}), pump.N / pump.N_nominal * (ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pump.flowCharacteristic(0.0, {0.0, pump.V_flow_op, 1.5 * pump.V_flow_op}, {2.0 * pump.head_op, pump.head_op, 0.0}) + pump.delta_head_init * pump.V_flow_single / pump.V_flow_single_init)) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed