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/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) 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.535/1.535, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003571, allocations: 12 kB / 233.2 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07192/0.07231, allocations: 38.77 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3198/0.3922, allocations: 71.39 MB / 343.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.3924, allocations: 75.64 kB / 343.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06987/0.4623, allocations: 18.12 MB / 361.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.526e-06/0.4624, allocations: 0 / 361.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.248e-05/0.4625, allocations: 19.94 kB / 361.6 MB, free: 3.219 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.002618/0.4651, allocations: 1.263 MB / 362.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4651, allocations: 12.03 kB / 362.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/0.4654, allocations: 114.8 kB / 363 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.4667, allocations: 0.5874 MB / 363.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/0.467, allocations: 152 kB / 363.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.4671, allocations: 69.75 kB / 363.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.4691, allocations: 0.9341 MB / 364.7 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.4692, allocations: 4 kB / 364.7 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.4693, allocations: 34.81 kB / 364.8 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.4693, allocations: 16 kB / 364.8 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.4712, allocations: 0.6345 MB / 365.4 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/0.4768, allocations: 2.492 MB / 367.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003651/0.4805, allocations: 0.9345 MB / 368.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.699e-05/0.4806, allocations: 12.59 kB / 368.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/0.4807, allocations: 50.64 kB / 368.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 4.185e-06/0.4807, allocations: 0 / 368.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.003809/0.4845, allocations: 1.461 MB / 370.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005715/0.4851, allocations: 0.9478 MB / 371.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.4864, allocations: 0.6605 MB / 372 MB, free: 10.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.4865, allocations: 46.58 kB / 372 MB, free: 10.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.4869, allocations: 402.9 kB / 372.4 MB, free: 9.773 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.4872, allocations: 255.5 kB / 372.7 MB, free: 9.555 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.4872, allocations: 13.25 kB / 372.7 MB, free: 9.551 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.4875, allocations: 340.4 kB / 373 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008118/0.4883, allocations: 266.4 kB / 373.3 MB, free: 9.047 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.4895, allocations: 0.5871 MB / 373.9 MB, free: 8.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009743/0.4905, allocations: 411.5 kB / 374.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4905, allocations: 0 / 374.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002407/0.4929, allocations: 0.9282 MB / 375.2 MB, free: 7.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/0.493, allocations: 89.09 kB / 375.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.493, allocations: 0 / 375.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004444/0.4935, allocations: 126.2 kB / 375.4 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/0.4944, allocations: 162.4 kB / 375.6 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008135/0.5026, allocations: 6.984 MB / 382.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.5037, allocations: 115.3 kB / 382.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/0.5038, allocations: 20 kB / 382.7 MB, free: 15.7 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.0005933/0.5044, allocations: 237.7 kB / 382.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.5047, allocations: 98.83 kB / 383 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.5049, allocations: 100.4 kB / 383.1 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.544e-06/0.505, allocations: 4 kB / 383.1 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.239e-06/0.505, allocations: 8 kB / 383.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002091/0.5071, allocations: 1.001 MB / 384.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/0.5112, allocations: 1.742 MB / 385.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.503e-06/0.5113, allocations: 0 / 385.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.5123, allocations: 159.8 kB / 386 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001899/0.5125, allocations: 36.8 kB / 386.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/0.5126, allocations: 15.98 kB / 386.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.5143, allocations: 1.456 MB / 387.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.5144, allocations: 3.938 kB / 387.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.5174, allocations: 1.119 MB / 388.7 MB, free: 9.375 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.5178, allocations: 175.9 kB / 388.8 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.518, allocations: 23.94 kB / 388.8 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/0.5186, allocations: 43.97 kB / 388.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.5188, allocations: 48.53 kB / 388.9 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/0.5189, allocations: 27.95 kB / 389 MB, free: 9.043 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00102/0.5199, allocations: 0.5186 MB / 389.5 MB, free: 8.527 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.52, allocations: 0 / 389.5 MB, free: 8.527 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001133/0.5211, allocations: 292 kB / 389.8 MB, free: 8.242 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.0002697/0.5214, allocations: 139.2 kB / 389.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003037/0.5244, allocations: 1.422 MB / 391.3 MB, free: 6.578 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.409e-06/0.5245, allocations: 0 / 391.3 MB, free: 6.578 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.5256, allocations: 442.2 kB / 391.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.5271, allocations: 242 kB / 392 MB, free: 5.898 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.5317, allocations: 2.036 MB / 394 MB, free: 3.824 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007959/0.5326, allocations: 0.9833 MB / 395 MB, free: 2.812 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/0.533, allocations: 79.42 kB / 395.1 MB, free: 2.734 MB / 314.7 MB Notification: Performance of SimCode: time 5.103e-06/0.533, allocations: 0 / 395.1 MB, free: 2.734 MB / 314.7 MB Notification: Performance of Templates: time 0.03534/0.5684, allocations: 21.93 MB / 417 MB, free: 12.79 MB / 346.7 MB