Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004584, allocations: 19.98 kB / 315 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.364, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1395/0.5035, allocations: 90.98 MB / 460.8 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4266/0.9302, allocations: 37.84 MB / 498.6 MB, free: 6.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004286/0.9345, allocations: 100.6 kB / 498.7 MB, free: 6.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00553/0.9401, allocations: 1.228 MB / 500 MB, free: 6.336 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02715/0.9673, allocations: 6.475 MB / 0.4946 GB, free: 6.258 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02997/0.9973, allocations: 7.47 MB / 0.5019 GB, free: 6.16 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01155/1.009, allocations: 5.369 MB / 0.5071 GB, free: 5.293 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003639/1.013, allocations: 1.568 MB / 0.5086 GB, free: 4.668 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.07466/1.087, allocations: 24.37 MB / 0.5324 GB, free: 5.484 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07545/1.163, allocations: 23.98 MB / 0.5559 GB, free: 15.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/1.164, allocations: 139.9 kB / 0.556 GB, free: 15.29 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04182/1.206, allocations: 12.66 MB / 0.5684 GB, free: 4.996 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002515/1.208, allocations: 0.9087 MB / 0.5692 GB, free: 4.41 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002059/1.211, allocations: 0.6154 MB / 0.5698 GB, free: 4.055 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02037/1.231, allocations: 6.98 MB / 0.5767 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.231, allocations: 0 / 0.5767 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.577e-06/1.231, allocations: 0 / 0.5767 GB, free: 14.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000151/1.231, allocations: 0 / 0.5767 GB, free: 14.08 MB / 458.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.01718/1.248, allocations: 4.028 MB / 0.5806 GB, free: 10.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/1.248, allocations: 8.031 kB / 0.5806 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009926/1.258, allocations: 0.99 MB / 0.5816 GB, free: 9.387 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005564/1.264, allocations: 1.718 MB / 0.5832 GB, free: 8.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004583/1.265, allocations: 283.5 kB / 0.5835 GB, free: 7.891 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009182/1.265, allocations: 233.8 kB / 0.5837 GB, free: 7.738 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/1.281, allocations: 4.424 MB / 0.5881 GB, free: 4.367 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.708e-05/1.281, allocations: 8.781 kB / 0.5881 GB, free: 4.363 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004402/1.281, allocations: 106.2 kB / 0.5882 GB, free: 4.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005964/1.282, allocations: 269.5 kB / 0.5884 GB, free: 4.105 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/1.298, allocations: 4.188 MB / 0.5925 GB, free: 1.141 MB / 458.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.04192/1.34, allocations: 18.85 MB / 0.6109 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/1.352, allocations: 2.765 MB / 0.6136 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06093/1.413, allocations: 17.21 MB / 0.6304 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.843e-05/1.413, allocations: 56.56 kB / 0.6305 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00221/1.415, allocations: 320.6 kB / 0.6308 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=179): time 6.011e-06/1.415, allocations: 0 / 0.6308 GB, free: 8.281 MB / 0.4948 GB 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: tank.medium.h 2: radiator.mediums[1].h 3: pump.medium.h 4: pump.medium.p 5: heater.mediums[1].h 6: radiator.mediums[1].p 7: pipe.mediums[2].p 8: pipe.mediums[2].h 9: heater.mediums[1].p 10: pipe.mediums[1].p 11: pipe.mediums[1].h 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:7904:5-7904:89:writable] Error: Internal error Transformation module sort components failed