Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.8 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005802/0.0005809, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1122, allocations: 44.5 MB / 308.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.4748, allocations: 76.73 MB / 385.2 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.475, allocations: 73.03 kB / 385.2 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06419/0.5393, allocations: 18.2 MB / 403.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5393, allocations: 0 / 403.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.911e-05/0.5394, allocations: 23.44 kB / 403.5 MB, free: 16.54 MB / 314.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.002258/0.5416, allocations: 1.249 MB / 404.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5417, allocations: 7.75 kB / 404.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.542, allocations: 121.5 kB / 404.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.543, allocations: 0.5787 MB / 405.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.5432, allocations: 162.4 kB / 405.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.5434, allocations: 67.47 kB / 405.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.5452, allocations: 0.9345 MB / 406.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.5452, allocations: 0 / 406.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.754e-05/0.5453, allocations: 33.31 kB / 406.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.5453, allocations: 15.59 kB / 406.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.5471, allocations: 0.6388 MB / 407.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004678/0.5518, allocations: 2.493 MB / 409.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.5553, allocations: 0.9464 MB / 410.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.039e-05/0.5554, allocations: 16.27 kB / 410.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.5554, allocations: 53.12 kB / 410.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.938e-06/0.5554, allocations: 0 / 410.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.003484/0.5589, allocations: 1.461 MB / 412.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/0.5591, allocations: 0.9519 MB / 413.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.5602, allocations: 0.6646 MB / 413.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.5604, allocations: 46.67 kB / 413.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.5606, allocations: 391.4 kB / 414.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.5609, allocations: 255.1 kB / 414.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.5609, allocations: 18.31 kB / 414.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.561, allocations: 336.6 kB / 414.9 MB, free: 10 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/0.5618, allocations: 266 kB / 415.1 MB, free: 9.973 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.5628, allocations: 0.5858 MB / 415.7 MB, free: 9.582 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009006/0.5637, allocations: 415.5 kB / 416.1 MB, free: 9.441 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5638, allocations: 0 / 416.1 MB, free: 9.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002309/0.5661, allocations: 0.9282 MB / 417.1 MB, free: 9.145 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.5662, allocations: 88.94 kB / 417.1 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.855e-06/0.5662, allocations: 3.938 kB / 417.1 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004121/0.5666, allocations: 125.8 kB / 417.3 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008962/0.5675, allocations: 160.1 kB / 417.4 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00636/0.5739, allocations: 6.973 MB / 424.4 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.575, allocations: 116.2 kB / 424.5 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.635e-05/0.5751, allocations: 31.23 kB / 424.5 MB, free: 18.26 MB / 330.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.00056/0.5757, allocations: 229.6 kB / 424.8 MB, free: 18.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.5759, allocations: 96.56 kB / 424.9 MB, free: 18.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.5762, allocations: 101.3 kB / 425 MB, free: 18.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.5762, allocations: 7.75 kB / 425 MB, free: 18.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.165e-06/0.5762, allocations: 0 / 425 MB, free: 18.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00194/0.5781, allocations: 1.01 MB / 426 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/0.5819, allocations: 1.758 MB / 427.7 MB, free: 16.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.319e-06/0.582, allocations: 4 kB / 427.7 MB, free: 16.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.583, allocations: 156.2 kB / 427.9 MB, free: 16.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001488/0.5832, allocations: 35.36 kB / 427.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.5833, allocations: 13.56 kB / 427.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.5849, allocations: 1.446 MB / 429.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.418e-06/0.5849, allocations: 64 / 429.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/0.5877, allocations: 1.126 MB / 430.5 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.5881, allocations: 181.7 kB / 430.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.5884, allocations: 29.56 kB / 430.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007145/0.5891, allocations: 41.75 kB / 430.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.5892, allocations: 46.34 kB / 430.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/0.5893, allocations: 26.98 kB / 430.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008789/0.5902, allocations: 0.5205 MB / 431.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.5902, allocations: 0 / 431.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00114/0.5914, allocations: 299.3 kB / 431.6 MB, free: 14.52 MB / 330.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.0002638/0.5917, allocations: 129.5 kB / 431.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002651/0.5943, allocations: 1.424 MB / 433.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.16e-06/0.5944, allocations: 256 / 433.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009405/0.5953, allocations: 450.7 kB / 433.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.5968, allocations: 244.3 kB / 433.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.6006, allocations: 1.998 MB / 435.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/0.6014, allocations: 0.9763 MB / 436.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.6018, allocations: 83.95 kB / 436.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.731e-06/0.6018, allocations: 4 kB / 436.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of Templates: time 0.07243/0.6742, allocations: 22.01 MB / 458.9 MB, free: 9.902 MB / 346.7 MB