Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.639/1.639, allocations: 171.3 MB / 179.2 MB, free: 7.48 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.237e-05/1.255e-05, allocations: 0 / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 38.77 MB / 261.3 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/0.4167, allocations: 69.64 MB / 330.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.4169, allocations: 72.81 kB / 331 MB, free: 2.695 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03505/0.452, allocations: 8.91 MB / 339.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.978e-06/0.452, allocations: 4 kB / 339.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.399e-05/0.4521, allocations: 19.98 kB / 339.9 MB, free: 11.39 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001227/0.4533, allocations: 0.6633 MB / 340.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4534, allocations: 12.03 kB / 340.6 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.4536, allocations: 55.34 kB / 340.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.4543, allocations: 361.5 kB / 341 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.4544, allocations: 50.47 kB / 341.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/0.4545, allocations: 20.34 kB / 341.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006553/0.4552, allocations: 242.4 kB / 341.3 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007666/0.456, allocations: 395.3 kB / 341.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.456, allocations: 0 / 341.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.4561, allocations: 3.938 kB / 341.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.4561, allocations: 8 kB / 341.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.4587, allocations: 1.14 MB / 342.8 MB, free: 8.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.4601, allocations: 409.5 kB / 343.2 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.4604, allocations: 130.3 kB / 343.4 MB, free: 8.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.4605, allocations: 8.266 kB / 343.4 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.4606, allocations: 38.16 kB / 343.4 MB, free: 8.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 3.797e-06/0.4606, allocations: 3.938 kB / 343.4 MB, free: 8.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009441/0.4615, allocations: 312.7 kB / 343.7 MB, free: 8.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002626/0.4618, allocations: 448.5 kB / 344.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.4623, allocations: 316.7 kB / 344.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.4624, allocations: 29.7 kB / 344.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.4626, allocations: 271.7 kB / 344.8 MB, free: 7.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.4628, allocations: 108.4 kB / 344.9 MB, free: 6.914 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.4628, allocations: 0 / 344.9 MB, free: 6.914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.463, allocations: 329.9 kB / 345.2 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.4632, allocations: 95.17 kB / 345.3 MB, free: 6.535 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.4636, allocations: 220.2 kB / 345.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.4639, allocations: 113.3 kB / 345.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.578e-06/0.4639, allocations: 4 kB / 345.6 MB, free: 6.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008973/0.4648, allocations: 341 kB / 346 MB, free: 5.992 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.4649, allocations: 29.7 kB / 346 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4649, allocations: 4 kB / 346 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.4654, allocations: 79.44 kB / 346.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.4658, allocations: 67.91 kB / 346.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.469, allocations: 2.64 MB / 348.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/0.4695, allocations: 35.67 kB / 348.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.4696, allocations: 11.98 kB / 348.8 MB, free: 3.062 MB / 282.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002364/0.4698, allocations: 127.5 kB / 348.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.47, allocations: 39.53 kB / 349 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.4701, allocations: 42.25 kB / 349 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.4701, allocations: 0 / 349 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.825e-06/0.4701, allocations: 4 kB / 349 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008074/0.471, allocations: 0.6167 MB / 349.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.4725, allocations: 0.8037 MB / 350.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-06/0.4726, allocations: 0 / 350.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/0.4731, allocations: 71.98 kB / 350.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.4731, allocations: 11.94 kB / 350.5 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.4731, allocations: 3.812 kB / 350.5 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.444e-06/0.4731, allocations: 0 / 350.5 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.697e-06/0.4731, allocations: 0 / 350.5 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009051/0.4741, allocations: 498.3 kB / 351 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.4742, allocations: 120.3 kB / 351.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.4743, allocations: 4 kB / 351.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.4747, allocations: 11.98 kB / 351.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.4748, allocations: 19.78 kB / 351.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.4748, allocations: 11.19 kB / 351.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003801/0.4752, allocations: 243.4 kB / 351.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.531e-06/0.4752, allocations: 0 / 351.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006327/0.4759, allocations: 131.8 kB / 351.5 MB, free: 0.5742 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002178/0.4761, allocations: 111.8 kB / 351.7 MB, free: 468 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.4774, allocations: 0.5208 MB / 352.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.282e-06/0.4774, allocations: 0 / 352.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.4777, allocations: 119.9 kB / 352.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007104/0.4784, allocations: 105.1 kB / 352.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.4802, allocations: 0.6295 MB / 353 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.4808, allocations: 0.8197 MB / 353.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.481, allocations: 39.42 kB / 353.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of SimCode: time 1.855e-06/0.4811, allocations: 0 / 353.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Templates: time 0.01448/0.4955, allocations: 7.389 MB / 361.3 MB, free: 6.82 MB / 298.7 MB