Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.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_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 1.826/1.826, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003568, allocations: 11.98 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08271/0.08309, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3708/0.4539, allocations: 71.41 MB / 344 MB, free: 1.922 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.4543, allocations: 80.89 kB / 344.1 MB, free: 1.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06965/0.5239, allocations: 15.49 MB / 359.6 MB, free: 4.828 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.524, allocations: 3.938 kB / 359.6 MB, free: 4.824 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.474e-05/0.5241, allocations: 12 kB / 359.6 MB, free: 4.812 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.003307/0.5274, allocations: 1.129 MB / 360.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5275, allocations: 8.031 kB / 360.7 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.5278, allocations: 98.97 kB / 360.8 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.529, allocations: 0.5149 MB / 361.4 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003031/0.5294, allocations: 144.6 kB / 361.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.5295, allocations: 60.81 kB / 361.6 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.5317, allocations: 0.8309 MB / 362.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.5318, allocations: 3.906 kB / 362.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.5319, allocations: 27.44 kB / 362.4 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.5319, allocations: 12 kB / 362.4 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.534, allocations: 0.5805 MB / 363 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0053/0.5393, allocations: 2.048 MB / 365.1 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.5427, allocations: 1.044 MB / 366.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.806e-05/0.5428, allocations: 8.656 kB / 366.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.5429, allocations: 49.41 kB / 366.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 3.737e-06/0.5429, allocations: 0 / 366.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.008577/0.5515, allocations: 1.847 MB / 368 MB, free: 13.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004615/0.552, allocations: 0.8228 MB / 368.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.5532, allocations: 0.6034 MB / 369.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.5534, allocations: 44.27 kB / 369.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.5538, allocations: 312.1 kB / 369.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.5541, allocations: 263.5 kB / 370 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.5542, allocations: 19.27 kB / 370.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002339/0.5544, allocations: 381.5 kB / 370.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009592/0.5554, allocations: 257 kB / 370.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.5567, allocations: 0.5251 MB / 371.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.5578, allocations: 391.9 kB / 371.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.5579, allocations: 0 / 371.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004292/0.5622, allocations: 1.108 MB / 372.7 MB, free: 9.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.48e-05/0.5623, allocations: 81.11 kB / 372.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5623, allocations: 0 / 372.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.5634, allocations: 247.8 kB / 373 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.5646, allocations: 143.1 kB / 373.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.5769, allocations: 6.576 MB / 379.7 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.5782, allocations: 109 kB / 379.8 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.763e-05/0.5783, allocations: 23.36 kB / 379.9 MB, free: 2.418 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.0005385/0.5788, allocations: 219.4 kB / 380.1 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.5791, allocations: 87 kB / 380.2 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.5793, allocations: 93.3 kB / 380.3 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.5793, allocations: 11.98 kB / 380.3 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.5794, allocations: 0 / 380.3 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003997/0.5834, allocations: 1.253 MB / 381.5 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006224/0.5897, allocations: 1.902 MB / 383.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.5897, allocations: 3.953 kB / 383.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.591, allocations: 135.8 kB / 383.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009787/0.592, allocations: 210.5 kB / 383.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.94e-05/0.5921, allocations: 16 kB / 383.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.6031, allocations: 5.118 MB / 388.9 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.6031, allocations: 4.188 kB / 388.9 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005371/0.6085, allocations: 1.382 MB / 390.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.6089, allocations: 168 kB / 390.4 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.6091, allocations: 20 kB / 390.5 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007963/0.61, allocations: 43.98 kB / 390.5 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/0.6102, allocations: 56.56 kB / 390.6 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/0.6103, allocations: 28.11 kB / 390.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008748/0.6112, allocations: 435 kB / 391 MB, free: 6.996 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6112, allocations: 0 / 391 MB, free: 6.996 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001314/0.6125, allocations: 279.7 kB / 391.3 MB, free: 6.723 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.0003096/0.6129, allocations: 143.1 kB / 391.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003236/0.6161, allocations: 1.313 MB / 392.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6161, allocations: 4.062 kB / 392.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002289/0.6184, allocations: 0.7612 MB / 393.5 MB, free: 4.371 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.6201, allocations: 199.5 kB / 393.7 MB, free: 4.176 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.6249, allocations: 1.85 MB / 395.6 MB, free: 2.297 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.6256, allocations: 0.9437 MB / 396.5 MB, free: 1.324 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007526/0.6264, allocations: 98.14 kB / 396.6 MB, free: 1.227 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.6267, allocations: 55.44 kB / 396.6 MB, free: 1.172 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6267, allocations: 0 / 396.6 MB, free: 1.172 MB / 314.7 MB Notification: Performance of Templates: time 0.04496/0.6717, allocations: 15.34 MB / 412 MB, free: 1.887 MB / 330.7 MB