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.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 1.794/1.794, allocations: 171.2 MB / 186.8 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003543, allocations: 12 kB / 233.2 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06734/0.06772, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2877/0.3555, allocations: 71.41 MB / 343.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.3558, allocations: 70.03 kB / 343.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06/0.4158, allocations: 15.49 MB / 359 MB, free: 5.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.992e-06/0.4159, allocations: 3.938 kB / 359 MB, free: 5.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.31e-05/0.4159, allocations: 16 kB / 359 MB, free: 5.41 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.002475/0.4184, allocations: 1.133 MB / 360.1 MB, free: 4.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4185, allocations: 12.03 kB / 360.1 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.4187, allocations: 98.97 kB / 360.2 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.4198, allocations: 0.5041 MB / 360.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.4201, allocations: 147.1 kB / 360.9 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.4203, allocations: 64.36 kB / 360.9 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.4221, allocations: 0.8227 MB / 361.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.4221, allocations: 3.906 kB / 361.8 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/0.4222, allocations: 26.94 kB / 361.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.4223, allocations: 19.98 kB / 361.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.4239, allocations: 0.5742 MB / 362.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/0.4283, allocations: 2.047 MB / 364.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.431, allocations: 1.039 MB / 365.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.649e-05/0.4311, allocations: 16.03 kB / 365.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.4311, allocations: 45.72 kB / 365.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 4.264e-06/0.4312, allocations: 0 / 365.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.006178/0.4373, allocations: 1.849 MB / 367.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004871/0.4379, allocations: 0.8272 MB / 368.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009742/0.4389, allocations: 0.5312 MB / 368.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.439, allocations: 45.08 kB / 368.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.4393, allocations: 338.3 kB / 369.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.4396, allocations: 254.3 kB / 369.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.4397, allocations: 15.25 kB / 369.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4398, allocations: 343.1 kB / 369.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007967/0.4407, allocations: 253.8 kB / 370 MB, free: 11.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.4417, allocations: 0.5321 MB / 370.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008936/0.4427, allocations: 391.1 kB / 370.9 MB, free: 11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.489e-06/0.4427, allocations: 3.938 kB / 370.9 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003184/0.4459, allocations: 1.054 MB / 371.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.152e-05/0.446, allocations: 89.09 kB / 372 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.446, allocations: 0 / 372 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009026/0.4469, allocations: 246.2 kB / 372.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/0.4478, allocations: 133.8 kB / 372.4 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.4582, allocations: 6.579 MB / 379 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000942/0.4591, allocations: 112.2 kB / 379.1 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.4592, allocations: 19.56 kB / 379.1 MB, free: 3.109 MB / 298.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 1,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004946/0.4597, allocations: 215.7 kB / 379.3 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.46, allocations: 87.05 kB / 379.4 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.4602, allocations: 92.73 kB / 379.5 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.4602, allocations: 12 kB / 379.5 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.731e-06/0.4602, allocations: 0 / 379.5 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003053/0.4633, allocations: 1.258 MB / 380.8 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005057/0.4684, allocations: 1.898 MB / 382.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.248e-06/0.4684, allocations: 0 / 382.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008745/0.4693, allocations: 135.8 kB / 382.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007654/0.4701, allocations: 210.5 kB / 383 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.729e-05/0.4702, allocations: 15.98 kB / 383 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0088/0.479, allocations: 5.118 MB / 388.1 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.847e-06/0.479, allocations: 128 / 388.1 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004131/0.4832, allocations: 1.39 MB / 389.5 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.4836, allocations: 172 kB / 389.7 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.4837, allocations: 16 kB / 389.7 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/0.4843, allocations: 43.97 kB / 389.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.4846, allocations: 64.56 kB / 389.8 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/0.4847, allocations: 16 kB / 389.8 MB, free: 8.152 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007805/0.4854, allocations: 439 kB / 390.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.4855, allocations: 0 / 390.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001134/0.4866, allocations: 279.7 kB / 390.5 MB, free: 7.457 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002824/0.4869, allocations: 143.2 kB / 390.7 MB, free: 7.309 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002716/0.4896, allocations: 1.321 MB / 392 MB, free: 5.906 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.4897, allocations: 4 kB / 392 MB, free: 5.902 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.4914, allocations: 0.7613 MB / 392.8 MB, free: 5.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.4927, allocations: 202 kB / 393 MB, free: 4.898 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.4965, allocations: 1.877 MB / 394.8 MB, free: 2.984 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.4973, allocations: 0.9399 MB / 395.8 MB, free: 2.016 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.4976, allocations: 71.36 kB / 395.8 MB, free: 1.945 MB / 314.7 MB Notification: Performance of SimCode: time 1.601e-06/0.4976, allocations: 0 / 395.8 MB, free: 1.945 MB / 314.7 MB Notification: Performance of Templates: time 0.03189/0.5295, allocations: 20.07 MB / 415.9 MB, free: 13.86 MB / 346.7 MB