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.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005962/0.0005966, allocations: 8 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.09894, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.4971, allocations: 72.35 MB / 345 MB, free: 1.137 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.4974, allocations: 76.53 kB / 345 MB, free: 1.098 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07436/0.5718, allocations: 16.24 MB / 361.3 MB, free: 3.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5718, allocations: 0 / 361.3 MB, free: 3.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.955e-05/0.5719, allocations: 16 kB / 361.3 MB, free: 3.379 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003624/0.5756, allocations: 1.206 MB / 362.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5756, allocations: 8.031 kB / 362.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004047/0.576, allocations: 110 kB / 362.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.5775, allocations: 0.5209 MB / 363.1 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000315/0.5778, allocations: 154.7 kB / 363.3 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.578, allocations: 59.75 kB / 363.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.5804, allocations: 0.8882 MB / 364.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.5804, allocations: 0 / 364.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.5806, allocations: 26.5 kB / 364.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.5806, allocations: 16 kB / 364.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.5832, allocations: 0.6659 MB / 364.9 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00584/0.5891, allocations: 2.172 MB / 367.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.5923, allocations: 1.142 MB / 368.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.5924, allocations: 12.64 kB / 368.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.5925, allocations: 48.59 kB / 368.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 3.727e-06/0.5925, allocations: 0 / 368.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=78): time 0.009956/0.6025, allocations: 2.033 MB / 370.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004812/0.603, allocations: 0.8284 MB / 371.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.6044, allocations: 0.6325 MB / 371.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.6047, allocations: 46.77 kB / 371.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.6051, allocations: 329.2 kB / 372.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003944/0.6055, allocations: 282 kB / 372.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.6056, allocations: 15.19 kB / 372.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002794/0.6059, allocations: 384.8 kB / 372.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.6071, allocations: 301.2 kB / 373.1 MB, free: 9.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.6088, allocations: 0.5775 MB / 373.7 MB, free: 8.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.6103, allocations: 426.3 kB / 374.1 MB, free: 8.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.6104, allocations: 0 / 374.1 MB, free: 8.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.005025/0.6154, allocations: 1.2 MB / 375.3 MB, free: 7.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.026e-05/0.6155, allocations: 81.11 kB / 375.4 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.6156, allocations: 7.953 kB / 375.4 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.6168, allocations: 253.1 kB / 375.7 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.6182, allocations: 151.7 kB / 375.8 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.6307, allocations: 6.576 MB / 382.4 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.6321, allocations: 133.3 kB / 382.5 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.6323, allocations: 27.62 kB / 382.5 MB, free: 128 kB / 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 (73): * Single equations (assignments): 66 * 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 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006548/0.6329, allocations: 218.1 kB / 382.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.6332, allocations: 86.97 kB / 382.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.6335, allocations: 104.1 kB / 382.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.6335, allocations: 8 kB / 383 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.6335, allocations: 0 / 383 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004544/0.6381, allocations: 1.35 MB / 384.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006931/0.6451, allocations: 2.066 MB / 386.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.6451, allocations: 3.984 kB / 386.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.6466, allocations: 151.8 kB / 386.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009765/0.6475, allocations: 210.4 kB / 386.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.249e-05/0.6477, allocations: 15.98 kB / 386.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.6589, allocations: 5.11 MB / 391.9 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.659, allocations: 3.984 kB / 391.9 MB, free: 6.215 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006457/0.6654, allocations: 1.563 MB / 393.4 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/0.6659, allocations: 168 kB / 393.6 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/0.6661, allocations: 23.98 kB / 393.6 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009739/0.6671, allocations: 59.97 kB / 393.7 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/0.6674, allocations: 64.55 kB / 393.7 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/0.6675, allocations: 20 kB / 393.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009584/0.6685, allocations: 451 kB / 394.2 MB, free: 3.844 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6685, allocations: 4 kB / 394.2 MB, free: 3.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001407/0.6699, allocations: 287.6 kB / 394.5 MB, free: 3.559 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 (66): * Single equations (assignments): 63 * 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.0003174/0.6703, allocations: 139.1 kB / 394.6 MB, free: 3.414 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003944/0.6742, allocations: 1.422 MB / 396 MB, free: 1.898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.6743, allocations: 0 / 396 MB, free: 1.898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002671/0.677, allocations: 0.8198 MB / 396.9 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.6786, allocations: 203.6 kB / 397.1 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005731/0.6844, allocations: 1.997 MB / 399.1 MB, free: 14.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/0.6852, allocations: 0.9634 MB / 400 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007876/0.686, allocations: 98.42 kB / 400.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.6863, allocations: 67.42 kB / 400.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6863, allocations: 0 / 400.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of Templates: time 0.04744/0.7337, allocations: 15.97 MB / 416.1 MB, free: 13.75 MB / 346.7 MB