Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005607/0.0005609, allocations: 16 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.102, allocations: 44.5 MB / 309 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.502/0.6041, allocations: 76.73 MB / 385.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.6044, allocations: 82.36 kB / 385.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06194/0.6663, allocations: 15.55 MB / 401.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6664, allocations: 0 / 401.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.525e-05/0.6665, allocations: 15.34 kB / 401.4 MB, free: 13.19 MB / 314.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.003071/0.6695, allocations: 1.124 MB / 402.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.6696, allocations: 11.75 kB / 402.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/0.67, allocations: 108.8 kB / 402.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.6712, allocations: 0.5092 MB / 403.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002632/0.6715, allocations: 146.5 kB / 403.3 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.6717, allocations: 62.95 kB / 403.4 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.6737, allocations: 0.8319 MB / 404.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.6737, allocations: 0 / 404.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.6739, allocations: 26.41 kB / 404.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.6739, allocations: 15.5 kB / 404.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.6759, allocations: 0.5821 MB / 404.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005347/0.6813, allocations: 2.049 MB / 406.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/0.6845, allocations: 1.042 MB / 407.9 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.6847, allocations: 23.97 kB / 407.9 MB, free: 9.887 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/0.6848, allocations: 50.06 kB / 408 MB, free: 9.844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 4.278e-06/0.6848, allocations: 0 / 408 MB, free: 9.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.008214/0.693, allocations: 1.848 MB / 409.8 MB, free: 9.051 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/0.6933, allocations: 0.8224 MB / 410.7 MB, free: 8.047 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.6943, allocations: 0.6005 MB / 411.3 MB, free: 7.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002347/0.6946, allocations: 44.08 kB / 411.3 MB, free: 7.809 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.6949, allocations: 317.8 kB / 411.6 MB, free: 7.652 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.6952, allocations: 262.5 kB / 411.9 MB, free: 7.465 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.6953, allocations: 14.56 kB / 411.9 MB, free: 7.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6954, allocations: 382.8 kB / 412.3 MB, free: 7.125 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009002/0.6963, allocations: 264.8 kB / 412.5 MB, free: 7.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.6975, allocations: 0.5251 MB / 413 MB, free: 6.773 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.6985, allocations: 381.4 kB / 413.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.6985, allocations: 0 / 413.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003948/0.7025, allocations: 1.109 MB / 414.5 MB, free: 6.281 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/0.7026, allocations: 84.77 kB / 414.6 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.7026, allocations: 0 / 414.6 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.7037, allocations: 247.2 kB / 414.9 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.7048, allocations: 131.3 kB / 415 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.7152, allocations: 6.568 MB / 421.6 MB, free: 0.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.7165, allocations: 106.2 kB / 421.7 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/0.7166, allocations: 22.19 kB / 421.7 MB, free: 0.4961 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.0006319/0.7172, allocations: 213.4 kB / 421.9 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.7175, allocations: 85.84 kB / 422 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.7177, allocations: 95.09 kB / 422.1 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.7177, allocations: 7.875 kB / 422.1 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.7177, allocations: 0 / 422.1 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003617/0.7214, allocations: 1.259 MB / 423.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005873/0.7273, allocations: 1.912 MB / 425.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.7273, allocations: 7.938 kB / 425.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.7286, allocations: 135.7 kB / 425.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009864/0.7296, allocations: 209.2 kB / 425.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.7298, allocations: 14 kB / 425.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/0.7425, allocations: 5.126 MB / 430.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7425, allocations: 0 / 430.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006888/0.7495, allocations: 1.385 MB / 432.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.75, allocations: 167 kB / 432.3 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003518/0.7504, allocations: 19 kB / 432.3 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.7517, allocations: 49.75 kB / 432.3 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003398/0.752, allocations: 63.16 kB / 432.4 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/0.7521, allocations: 15.31 kB / 432.4 MB, free: 9.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.7533, allocations: 438.5 kB / 432.8 MB, free: 9.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7534, allocations: 0 / 432.8 MB, free: 9.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002006/0.7554, allocations: 277.4 kB / 433.1 MB, free: 9.766 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.0003759/0.7558, allocations: 143.8 kB / 433.3 MB, free: 9.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00397/0.7598, allocations: 1.319 MB / 434.6 MB, free: 8.887 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/0.7598, allocations: 3.875 kB / 434.6 MB, free: 8.887 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002695/0.7625, allocations: 0.7681 MB / 435.3 MB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.7645, allocations: 196.8 kB / 435.5 MB, free: 8.406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/0.7702, allocations: 1.834 MB / 437.4 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008489/0.7711, allocations: 0.9449 MB / 438.3 MB, free: 6.434 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009955/0.7721, allocations: 86.17 kB / 438.4 MB, free: 6.395 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/0.7725, allocations: 65.98 kB / 438.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7725, allocations: 3.938 kB / 438.5 MB, free: 6.379 MB / 330.7 MB Notification: Performance of Templates: time 0.05871/0.8312, allocations: 15.47 MB / 453.9 MB, free: 10.3 MB / 346.7 MB