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.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.682/1.682, allocations: 171.3 MB / 179.2 MB, free: 7.566 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.169e-05, allocations: 7.984 kB / 222.5 MB, free: 8.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07022/0.07027, allocations: 38.76 MB / 261.3 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2827/0.353, allocations: 70.66 MB / 331.9 MB, free: 1.293 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.3533, allocations: 74.52 kB / 332 MB, free: 1.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1026/0.4559, allocations: 17.89 MB / 349.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.461e-06/0.456, allocations: 0 / 349.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001205/0.4562, allocations: 27.88 kB / 349.9 MB, free: 2.574 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.004733/0.4609, allocations: 1.115 MB / 351 MB, free: 1.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.357e-05/0.461, allocations: 8.031 kB / 351 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006229/0.4617, allocations: 122.7 kB / 351.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.4644, allocations: 0.5691 MB / 351.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005221/0.4649, allocations: 137.9 kB / 351.9 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.4652, allocations: 36 kB / 351.9 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003033/0.4683, allocations: 0.5122 MB / 352.4 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/0.4716, allocations: 0.7963 MB / 353.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/0.4717, allocations: 0 / 353.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.4719, allocations: 4 kB / 353.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.4719, allocations: 12 kB / 353.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009719/0.4816, allocations: 2.347 MB / 355.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006077/0.4878, allocations: 0.8504 MB / 356.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.4892, allocations: 295.2 kB / 356.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.4894, allocations: 24.75 kB / 356.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.159e-05/0.4895, allocations: 51.28 kB / 356.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 7.369e-06/0.4895, allocations: 0 / 356.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.00347/0.493, allocations: 0.6595 MB / 357.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007753/0.4938, allocations: 0.9529 MB / 358.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.4957, allocations: 0.5583 MB / 359 MB, free: 9.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.4959, allocations: 29.7 kB / 359 MB, free: 9.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005623/0.4965, allocations: 406.7 kB / 359.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/0.497, allocations: 244.3 kB / 359.6 MB, free: 8.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.4971, allocations: 0 / 359.6 MB, free: 8.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002577/0.4974, allocations: 338.8 kB / 359.9 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.4984, allocations: 205.5 kB / 360.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.5, allocations: 0.5177 MB / 360.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.5012, allocations: 273.7 kB / 360.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.5013, allocations: 0 / 360.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003669/0.505, allocations: 0.7189 MB / 361.7 MB, free: 6.445 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.5051, allocations: 93.09 kB / 361.7 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.5052, allocations: 0 / 361.7 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.5067, allocations: 180 kB / 361.9 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.5085, allocations: 151.8 kB / 362.1 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.521, allocations: 6.656 MB / 368.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.5228, allocations: 83.47 kB / 368.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.523, allocations: 27.98 kB / 368.8 MB, free: 14.65 MB / 314.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: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005326/0.5235, allocations: 144.7 kB / 369 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/0.524, allocations: 90.97 kB / 369.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.5243, allocations: 79.92 kB / 369.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.5244, allocations: 8 kB / 369.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.5244, allocations: 0 / 369.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002539/0.527, allocations: 0.8831 MB / 370 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005993/0.533, allocations: 1.531 MB / 371.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.5331, allocations: 0 / 371.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/0.5351, allocations: 163.8 kB / 371.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002426/0.5354, allocations: 24.84 kB / 371.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.5355, allocations: 11.98 kB / 371.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.5379, allocations: 1.389 MB / 373.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.653e-06/0.538, allocations: 8.031 kB / 373.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/0.5418, allocations: 0.9283 MB / 374.1 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005719/0.5425, allocations: 179.9 kB / 374.3 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/0.5428, allocations: 0 / 374.3 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.544, allocations: 35.92 kB / 374.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.5442, allocations: 44.72 kB / 374.3 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.5444, allocations: 19.98 kB / 374.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001381/0.5458, allocations: 435.2 kB / 374.8 MB, free: 8.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.565e-06/0.5458, allocations: 0 / 374.8 MB, free: 8.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002137/0.548, allocations: 263.6 kB / 375 MB, free: 8.102 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004031/0.5484, allocations: 119.1 kB / 375.2 MB, free: 7.973 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005011/0.5534, allocations: 1.301 MB / 376.5 MB, free: 6.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.73e-06/0.5535, allocations: 0 / 376.5 MB, free: 6.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.5549, allocations: 372.7 kB / 376.8 MB, free: 6.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.5572, allocations: 215.3 kB / 377 MB, free: 6.008 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006001/0.5633, allocations: 1.263 MB / 378.3 MB, free: 4.711 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.5645, allocations: 0.9835 MB / 379.3 MB, free: 3.703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006674/0.5652, allocations: 71.42 kB / 379.3 MB, free: 3.633 MB / 314.7 MB Notification: Performance of SimCode: time 2.31e-06/0.5652, allocations: 0 / 379.3 MB, free: 3.633 MB / 314.7 MB Notification: Performance of Templates: time 0.04447/0.6097, allocations: 21.63 MB / 401 MB, free: 13.97 MB / 346.7 MB