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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.735/1.735, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.761e-05/1.766e-05, allocations: 0 / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07023/0.07027, allocations: 38.77 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2808/0.3511, allocations: 70.66 MB / 331.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.3514, allocations: 69.34 kB / 332 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06101/0.4124, allocations: 15.3 MB / 347.3 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.253e-06/0.4125, allocations: 0 / 347.3 MB, free: 5.035 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.098e-05/0.4126, allocations: 14.62 kB / 347.3 MB, free: 5.023 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.002219/0.4148, allocations: 1.026 MB / 348.3 MB, free: 3.988 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4149, allocations: 8.031 kB / 348.4 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.4152, allocations: 98.97 kB / 348.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.4163, allocations: 0.4994 MB / 348.9 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.4166, allocations: 130.7 kB / 349.1 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.4167, allocations: 39.89 kB / 349.1 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001283/0.418, allocations: 468.7 kB / 349.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.4195, allocations: 0.6911 MB / 350.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.4195, allocations: 4 kB / 350.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.908e-05/0.4196, allocations: 3.984 kB / 350.3 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.4196, allocations: 20 kB / 350.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00453/0.4242, allocations: 1.925 MB / 352.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.4263, allocations: 0.8709 MB / 353.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007657/0.4271, allocations: 314.9 kB / 353.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.267e-05/0.4272, allocations: 20.67 kB / 353.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.4272, allocations: 51.33 kB / 353.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 4.232e-06/0.4272, allocations: 0 / 353.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.002805/0.4301, allocations: 0.8188 MB / 354.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005223/0.4306, allocations: 0.8235 MB / 355.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008974/0.4315, allocations: 450.3 kB / 355.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.4317, allocations: 33.69 kB / 355.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.4321, allocations: 335.4 kB / 355.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/0.4324, allocations: 252.2 kB / 356.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.4324, allocations: 0 / 356.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4326, allocations: 339.6 kB / 356.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000531/0.4332, allocations: 201.6 kB / 356.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008344/0.434, allocations: 462.9 kB / 357.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/0.4347, allocations: 245.8 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.541e-06/0.4347, allocations: 4 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002732/0.4375, allocations: 0.8365 MB / 358.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.4376, allocations: 89.09 kB / 358.3 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.4376, allocations: 3.953 kB / 358.3 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009081/0.4386, allocations: 219.2 kB / 358.5 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.4393, allocations: 123.9 kB / 358.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008997/0.4484, allocations: 6.012 MB / 364.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009/0.4493, allocations: 83.55 kB / 364.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.4494, allocations: 20 kB / 364.8 MB, free: 3.062 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 () * 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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003302/0.4498, allocations: 131.7 kB / 364.9 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.45, allocations: 79.16 kB / 365 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.4502, allocations: 79.33 kB / 365 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.4502, allocations: 8 kB / 365 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.701e-06/0.4502, allocations: 0 / 365 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002579/0.4528, allocations: 1.127 MB / 366.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/0.4575, allocations: 1.704 MB / 367.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.493e-06/0.4575, allocations: 0 / 367.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008626/0.4584, allocations: 127.9 kB / 368 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008166/0.4592, allocations: 166.5 kB / 368.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.4594, allocations: 11.98 kB / 368.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00889/0.4683, allocations: 4.631 MB / 372.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.4684, allocations: 3.953 kB / 372.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.4718, allocations: 1.218 MB / 374 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.4722, allocations: 164.1 kB / 374.2 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.4724, allocations: 4 kB / 374.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005975/0.473, allocations: 39.88 kB / 374.2 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.4732, allocations: 52.7 kB / 374.3 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.378e-05/0.4733, allocations: 19.98 kB / 374.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006334/0.474, allocations: 351 kB / 374.6 MB, free: 8.566 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-07/0.474, allocations: 0 / 374.6 MB, free: 8.566 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00119/0.4752, allocations: 247.7 kB / 374.9 MB, free: 8.324 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete 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.0002732/0.4755, allocations: 135.1 kB / 375 MB, free: 8.184 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002495/0.478, allocations: 1.167 MB / 376.2 MB, free: 6.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.31e-06/0.478, allocations: 4 kB / 376.2 MB, free: 6.938 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.4795, allocations: 0.6759 MB / 376.9 MB, free: 6.234 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.4808, allocations: 165.9 kB / 377 MB, free: 6.074 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.4841, allocations: 1.218 MB / 378.2 MB, free: 4.812 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/0.4849, allocations: 0.948 MB / 379.2 MB, free: 3.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.4852, allocations: 67.36 kB / 379.3 MB, free: 3.773 MB / 314.7 MB Notification: Performance of SimCode: time 1.885e-06/0.4852, allocations: 0 / 379.3 MB, free: 3.773 MB / 314.7 MB Notification: Performance of Templates: time 0.03252/0.5178, allocations: 19.72 MB / 399 MB, free: 4 kB / 330.7 MB