Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003932/0.003938, allocations: 353 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.927/3.927, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003489/0.00348, allocations: 229.1 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5343/0.5343, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004994, allocations: 8 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09624, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.4212/0.5175, allocations: 100.9 MB / 0.7053 GB, free: 12.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07958/0.5972, allocations: 40.46 MB / 0.7448 GB, free: 3.586 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004116/0.6013, allocations: 103.1 kB / 0.7449 GB, free: 3.484 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005302/0.6067, allocations: 1.087 MB / 0.7459 GB, free: 2.391 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03082/0.6376, allocations: 6.903 MB / 0.7527 GB, free: 11.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02987/0.6675, allocations: 7.443 MB / 0.76 GB, free: 4.082 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.3555/1.023, allocations: 9.023 MB / 0.7688 GB, free: 18.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005209/1.028, allocations: 1.565 MB / 0.7703 GB, free: 17.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06443/1.093, allocations: 24.59 MB / 0.7943 GB, free: 17.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06874/1.162, allocations: 25.7 MB / 0.8194 GB, free: 15.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001672/1.163, allocations: 140 kB / 0.8195 GB, free: 15.55 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03795/1.201, allocations: 12.08 MB / 0.8313 GB, free: 5.887 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002867/1.204, allocations: 0.9797 MB / 0.8323 GB, free: 5.227 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002227/1.206, allocations: 0.625 MB / 0.8329 GB, free: 4.867 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01841/1.225, allocations: 6.923 MB / 0.8397 GB, free: 15.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/1.225, allocations: 0 / 0.8397 GB, free: 15.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.176e-06/1.225, allocations: 0 / 0.8397 GB, free: 15.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001737/1.225, allocations: 0 / 0.8397 GB, free: 15.16 MB / 442.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.01783/1.243, allocations: 3.962 MB / 0.8435 GB, free: 11.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.243, allocations: 8.031 kB / 0.8435 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/1.253, allocations: 0.9591 MB / 0.8445 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005761/1.259, allocations: 1.712 MB / 0.8462 GB, free: 9.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005366/1.26, allocations: 282.3 kB / 0.8464 GB, free: 9.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/1.261, allocations: 231.6 kB / 0.8466 GB, free: 8.918 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/1.278, allocations: 4.437 MB / 0.851 GB, free: 5.543 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/1.278, allocations: 7.75 kB / 0.851 GB, free: 5.539 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008854/1.279, allocations: 105.5 kB / 0.8511 GB, free: 5.516 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/1.28, allocations: 271.6 kB / 0.8513 GB, free: 5.277 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/1.298, allocations: 4.189 MB / 0.8554 GB, free: 2.312 MB / 442.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.04485/1.343, allocations: 18.83 MB / 0.8738 GB, free: 1.168 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/1.355, allocations: 2.78 MB / 0.8765 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004658/1.359, allocations: 1.393 MB / 0.8779 GB, free: 14.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07387/1.433, allocations: 17.22 MB / 0.8947 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/1.433, allocations: 49.94 kB / 0.8948 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002828/1.436, allocations: 321.9 kB / 0.8951 GB, free: 11.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=179): time 1.233e-05/1.436, allocations: 0 / 0.8951 GB, free: 11.07 MB / 490.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