Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.641/1.641, allocations: 171.2 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 8 kB / 233.8 MB, free: 3.09 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08029/0.08069, allocations: 38.77 MB / 272.5 MB, free: 12.24 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3544/0.4352, allocations: 71.38 MB / 343.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.4355, allocations: 73.16 kB / 344 MB, free: 2.605 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07645/0.5119, allocations: 18.12 MB / 362.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.512, allocations: 0 / 362.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.145e-05/0.5121, allocations: 23.94 kB / 362.1 MB, free: 3.352 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.003613/0.5157, allocations: 1.26 MB / 363.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5158, allocations: 8.031 kB / 363.4 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004049/0.5162, allocations: 122.3 kB / 363.5 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.5176, allocations: 0.5749 MB / 364.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.5179, allocations: 158 kB / 364.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.5181, allocations: 69.19 kB / 364.3 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.5204, allocations: 0.9455 MB / 365.3 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.5205, allocations: 0 / 365.3 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.5206, allocations: 32 kB / 365.3 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.5207, allocations: 16 kB / 365.3 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.5229, allocations: 0.632 MB / 366 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006319/0.5293, allocations: 2.496 MB / 368.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004389/0.5337, allocations: 0.8643 MB / 369.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.5339, allocations: 16.62 kB / 369.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.534, allocations: 49.03 kB / 369.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.166e-06/0.534, allocations: 0 / 369.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.004793/0.5388, allocations: 1.467 MB / 370.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004374/0.5393, allocations: 0.9509 MB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.5408, allocations: 0.7418 MB / 372.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.541, allocations: 45.39 kB / 372.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.5414, allocations: 407 kB / 373 MB, free: 9.898 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.5418, allocations: 246.7 kB / 373.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.5419, allocations: 15.62 kB / 373.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.542, allocations: 338.1 kB / 373.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.5431, allocations: 273.5 kB / 373.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.5445, allocations: 0.5901 MB / 374.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.5457, allocations: 410.7 kB / 374.8 MB, free: 8.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.5457, allocations: 0 / 374.8 MB, free: 8.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002846/0.5486, allocations: 0.9308 MB / 375.8 MB, free: 7.562 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.598e-05/0.5487, allocations: 82.2 kB / 375.8 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.5487, allocations: 4 kB / 375.8 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000504/0.5492, allocations: 127.3 kB / 376 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.5506, allocations: 162.7 kB / 376.1 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00805/0.5587, allocations: 6.984 MB / 383.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5601, allocations: 111.3 kB / 383.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/0.5602, allocations: 27.98 kB / 383.2 MB, free: 15.77 MB / 314.7 MB 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 () * Number of clocked 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 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006213/0.5608, allocations: 233.7 kB / 383.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.5611, allocations: 102.8 kB / 383.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.5614, allocations: 100.4 kB / 383.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.5614, allocations: 8 kB / 383.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.5614, allocations: 4 kB / 383.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002398/0.5638, allocations: 0.9973 MB / 384.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004734/0.5686, allocations: 1.742 MB / 386.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.5686, allocations: 0 / 386.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.5701, allocations: 167.7 kB / 386.6 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001841/0.5704, allocations: 32.84 kB / 386.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.495e-05/0.5705, allocations: 15.98 kB / 386.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.5721, allocations: 1.452 MB / 388.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5721, allocations: 0 / 388.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/0.576, allocations: 1.119 MB / 389.2 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/0.5764, allocations: 175.9 kB / 389.4 MB, free: 9.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/0.5767, allocations: 23.94 kB / 389.4 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009123/0.5776, allocations: 47.97 kB / 389.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.5778, allocations: 44.55 kB / 389.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/0.5779, allocations: 27.98 kB / 389.5 MB, free: 9.129 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.579, allocations: 0.5186 MB / 390 MB, free: 8.617 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.579, allocations: 0 / 390 MB, free: 8.617 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001343/0.5804, allocations: 296.1 kB / 390.3 MB, free: 8.328 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 () * Number of clocked 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.0003138/0.5807, allocations: 143.1 kB / 390.5 MB, free: 8.176 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003557/0.5843, allocations: 1.417 MB / 391.9 MB, free: 6.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.5843, allocations: 4 kB / 391.9 MB, free: 6.656 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.5856, allocations: 446.5 kB / 392.3 MB, free: 6.207 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.5874, allocations: 239.5 kB / 392.6 MB, free: 5.973 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/0.5927, allocations: 2.032 MB / 394.6 MB, free: 3.902 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007533/0.5935, allocations: 0.9833 MB / 395.6 MB, free: 2.891 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/0.594, allocations: 83.41 kB / 395.7 MB, free: 2.809 MB / 314.7 MB Notification: Performance of SimCode: time 3.045e-06/0.594, allocations: 0 / 395.7 MB, free: 2.809 MB / 314.7 MB Notification: Performance of Templates: time 0.04239/0.6364, allocations: 21.93 MB / 417.6 MB, free: 12.86 MB / 346.7 MB