Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 1.658/1.658, allocations: 171.2 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004788, allocations: 8 kB / 233.8 MB, free: 0.9766 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08202, allocations: 38.76 MB / 272.5 MB, free: 10.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3489/0.431, allocations: 71.4 MB / 343.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/0.4314, allocations: 75.95 kB / 344 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0779/0.5093, allocations: 15.49 MB / 359.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5094, allocations: 4 kB / 359.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.959e-05/0.5095, allocations: 12 kB / 359.5 MB, free: 12.03 MB / 298.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.00343/0.5129, allocations: 1.138 MB / 360.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.513, allocations: 8.031 kB / 360.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004186/0.5134, allocations: 98.97 kB / 360.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.5148, allocations: 0.5041 MB / 361.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003258/0.5152, allocations: 154.4 kB / 361.4 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.5154, allocations: 56 kB / 361.5 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.5177, allocations: 0.8322 MB / 362.3 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.5178, allocations: 7.906 kB / 362.3 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.5179, allocations: 28 kB / 362.3 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.518, allocations: 12 kB / 362.4 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.5202, allocations: 0.5751 MB / 362.9 MB, free: 8.387 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005912/0.5262, allocations: 2.061 MB / 365 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.5295, allocations: 1.009 MB / 366 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.5297, allocations: 16.7 kB / 366 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.5297, allocations: 47.22 kB / 366.1 MB, free: 5.086 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 3.758e-06/0.5298, allocations: 0 / 366.1 MB, free: 5.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.008847/0.5386, allocations: 1.842 MB / 367.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004088/0.5391, allocations: 0.8311 MB / 368.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.5403, allocations: 0.6018 MB / 369.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002176/0.5405, allocations: 45.7 kB / 369.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.5409, allocations: 327.6 kB / 369.7 MB, free: 1.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.5412, allocations: 264.2 kB / 370 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.5413, allocations: 12 kB / 370 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5415, allocations: 334.8 kB / 370.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.5425, allocations: 263.5 kB / 370.6 MB, free: 272 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.5438, allocations: 0.53 MB / 371.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.545, allocations: 392 kB / 371.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.545, allocations: 0 / 371.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004228/0.5493, allocations: 1.06 MB / 372.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/0.5494, allocations: 85.73 kB / 372.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.5494, allocations: 4 kB / 372.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.5505, allocations: 239.3 kB / 372.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.5517, allocations: 135.8 kB / 373 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.5641, allocations: 6.582 MB / 379.6 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.5654, allocations: 103.4 kB / 379.7 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.5656, allocations: 27.98 kB / 379.7 MB, free: 6.41 MB / 314.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.0005655/0.5662, allocations: 213.7 kB / 379.9 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.5665, allocations: 83.06 kB / 380 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.5668, allocations: 95.72 kB / 380.1 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.5668, allocations: 11.94 kB / 380.1 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5668, allocations: 0 / 380.1 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004021/0.5708, allocations: 1.257 MB / 381.3 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006367/0.5773, allocations: 1.894 MB / 383.2 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.5773, allocations: 3.953 kB / 383.2 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.5786, allocations: 143.8 kB / 383.4 MB, free: 2.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009738/0.5796, allocations: 214.7 kB / 383.6 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.5797, allocations: 12 kB / 383.6 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.5903, allocations: 5.118 MB / 388.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5904, allocations: 3.953 kB / 388.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/0.5959, allocations: 1.39 MB / 390.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/0.5963, allocations: 168 kB / 390.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.5966, allocations: 20 kB / 390.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.5974, allocations: 35.98 kB / 390.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.5976, allocations: 64.5 kB / 390.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.5977, allocations: 19.98 kB / 390.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008653/0.5986, allocations: 439.1 kB / 390.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5986, allocations: 3.938 kB / 390.8 MB, free: 10.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001289/0.5999, allocations: 279.7 kB / 391.1 MB, free: 10.33 MB / 330.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.0003261/0.6003, allocations: 131.2 kB / 391.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003262/0.6035, allocations: 1.324 MB / 392.6 MB, free: 8.785 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.6036, allocations: 4 kB / 392.6 MB, free: 8.781 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002316/0.6059, allocations: 0.7574 MB / 393.3 MB, free: 7.984 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.6075, allocations: 206.8 kB / 393.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.6123, allocations: 1.875 MB / 395.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006368/0.6129, allocations: 0.9361 MB / 396.3 MB, free: 4.902 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/0.6134, allocations: 67.42 kB / 396.4 MB, free: 4.836 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6134, allocations: 3.938 kB / 396.4 MB, free: 4.832 MB / 330.7 MB Notification: Performance of Templates: time 0.03892/0.6523, allocations: 20.08 MB / 416.5 MB, free: 0.7305 MB / 346.7 MB