Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 1.869/1.869, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/4.02e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08899/0.08906, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.154/6.243, allocations: 2.56 GB / 2.878 GB, free: 66.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/6.243, allocations: 81.02 kB / 2.879 GB, free: 66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.671/10.91, allocations: 0.9957 GB / 3.874 GB, free: 24.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.117e-06/10.91, allocations: 0 / 3.874 GB, free: 24.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003069/10.92, allocations: 76.45 kB / 3.874 GB, free: 24.79 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.01701/10.93, allocations: 4.263 MB / 3.878 GB, free: 22.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/10.93, allocations: 11.03 kB / 3.878 GB, free: 22.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/10.94, allocations: 0.9788 MB / 3.879 GB, free: 22.63 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007563/10.95, allocations: 2.233 MB / 3.882 GB, free: 22.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004131/10.95, allocations: 289.4 kB / 3.882 GB, free: 22.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/10.95, allocations: 241.4 kB / 3.882 GB, free: 22.07 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01282/10.96, allocations: 4.45 MB / 3.886 GB, free: 21.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-05/10.96, allocations: 6.094 kB / 3.886 GB, free: 21.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004898/10.97, allocations: 110.3 kB / 3.887 GB, free: 21.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003216/10.97, allocations: 222.4 kB / 3.887 GB, free: 21.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/10.98, allocations: 4.03 MB / 3.891 GB, free: 21.43 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.03312/11.01, allocations: 19.04 MB / 3.909 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007847/11.02, allocations: 2.665 MB / 3.912 GB, free: 10.42 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002708/11.02, allocations: 1.302 MB / 3.913 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04005/11.06, allocations: 17.06 MB / 3.93 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/11.06, allocations: 52.38 kB / 3.93 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002035/11.06, allocations: 368.9 kB / 3.93 GB, free: 15.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 6.859e-06/11.06, allocations: 0 / 3.93 GB, free: 15.41 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: pipe.mediums[2].p 4: pipe.mediums[1].p 5: radiator.mediums[1].p 6: pump.medium.h 7: heater.mediums[1].p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=283): time 0.9644/12.03, allocations: 62.19 MB / 3.991 GB, free: 53.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3255/12.35, allocations: 86.95 MB / 4.076 GB, free: 47.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003499/12.36, allocations: 1.674 MB / 4.077 GB, free: 47.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007866/12.36, allocations: 75.55 kB / 4.078 GB, free: 47.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008413/12.36, allocations: 1.089 MB / 4.079 GB, free: 47.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001412/12.36, allocations: 0.9488 MB / 4.08 GB, free: 46.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004819/12.36, allocations: 62.06 kB / 4.08 GB, free: 46.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002095/12.36, allocations: 424.4 kB / 4.08 GB, free: 46.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005514/12.37, allocations: 2.571 MB / 4.082 GB, free: 46.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006253/12.37, allocations: 3.127 MB / 4.086 GB, free: 45.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007694/12.38, allocations: 2.995 MB / 4.088 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.678e-05/12.38, allocations: 5.094 kB / 4.088 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.02211/12.4, allocations: 8.513 MB / 4.097 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00119/12.4, allocations: 5.838 MB / 4.102 GB, free: 39.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.914e-05/12.4, allocations: 13.88 kB / 4.103 GB, free: 39.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09056/12.49, allocations: 16.37 MB / 4.118 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/12.5, allocations: 378.9 kB / 4.119 GB, free: 31.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/12.52, allocations: 10.08 MB / 4.129 GB, free: 25.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005821/12.53, allocations: 403.5 kB / 4.129 GB, free: 25.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/12.53, allocations: 179.9 kB / 4.129 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/12.53, allocations: 4 kB / 4.129 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01899/12.55, allocations: 7.971 MB / 4.137 GB, free: 21.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.538e-05/12.55, allocations: 19.98 kB / 4.137 GB, free: 21.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03785/12.58, allocations: 8.101 MB / 4.145 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/12.59, allocations: 446.6 kB / 4.145 GB, free: 16.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/12.61, allocations: 9.173 MB / 4.154 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004947/12.61, allocations: 397 kB / 4.155 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009475/12.61, allocations: 172.3 kB / 4.155 GB, free: 8.879 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 79,17 85} Notification: Performance of prepare postOptimizeDAE: time 0.001209/12.61, allocations: 278.6 kB / 4.155 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008878/12.61, allocations: 256.8 kB / 4.155 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3899/13, allocations: 17.69 MB / 4.173 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001814/13, allocations: 118.6 kB / 4.173 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/13, allocations: 0 / 4.173 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02967/13.03, allocations: 15.41 MB / 4.188 GB, free: 64.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0553/13.09, allocations: 27.17 MB / 4.214 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.313e-05/13.09, allocations: 3.062 kB / 4.214 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/13.09, allocations: 228 kB / 4.215 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09733/13.19, allocations: 26.61 MB / 4.241 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008498/13.19, allocations: 104 kB / 4.241 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02917/13.22, allocations: 15.49 MB / 4.256 GB, free: 61.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.7289/13.95, allocations: 146.9 MB / 4.399 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04073/13.99, allocations: 22.34 MB / 4.421 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003502/13.99, allocations: 1.154 MB / 4.422 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001298/13.99, allocations: 58.72 kB / 4.422 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005379/14, allocations: 435.1 kB / 4.423 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001058/14, allocations: 266.4 kB / 4.423 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005932/14, allocations: 139.3 kB / 4.423 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002852/14, allocations: 1.332 MB / 4.424 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.596e-06/14, allocations: 0 / 4.424 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0287/14.03, allocations: 7.187 MB / 4.431 GB, free: 58.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 60 ($cse85.phase,$cse85.region,$cse88.phase,$cse88.region,$cse89.phase,$cse89.region,$cse91.phase,$cse91.region,$cse93.phase,$cse93.region,$cse94.region3boundary,$cse95.region3boundary,$cse96.phase,$cse96.region,$cse97.phase,$cse97.region,$cse101.phase,$cse101.region,$cse102.phase,$cse102.region,$cse105.phase,$cse105.region,$cse106.phase,$cse106.region,$cse107.region3boundary,$cse108.region3boundary,$cse109.phase,$cse109.region,$cse119.phase,$cse119.region,$cse120.phase,$cse120.region,$cse121.region3boundary,$cse122.region3boundary,$cse123.phase,$cse123.region,$cse130.phase,$cse130.region,$cse131.phase,$cse131.region,$cse132.phase,$cse132.region,$cse133.region3boundary,$cse134.region3boundary,$cse135.phase,$cse135.region,$cse136.region3boundary,$cse137.region3boundary,$cse138.phase,$cse138.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 82,19 121} Notification: Performance of Backend phase and start with SimCode phase: time 0.03835/14.07, allocations: 5.684 MB / 4.437 GB, free: 57.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03309/14.1, allocations: 11.78 MB / 4.448 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/14.1, allocations: 0 / 4.448 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01469/14.12, allocations: 5.643 MB / 4.454 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00767/14.13, allocations: 1.071 MB / 4.455 GB, free: 57.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/14.15, allocations: 12.06 MB / 4.467 GB, free: 53.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004071/14.15, allocations: 2.989 MB / 4.47 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002334/14.16, allocations: 315.2 kB / 4.47 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of SimCode: time 2.673e-06/14.16, allocations: 1.625 kB / 4.47 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.7221/14.88, allocations: 214.2 MB / 4.679 GB, free: 17.87 MB / 0.5105 GB