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.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 194.9 MB / 211.7 MB, free: 2.875 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004863, allocations: 8 kB / 264.5 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.1002, allocations: 44.51 MB / 309 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4952/0.5954, allocations: 76.72 MB / 385.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004068/0.5959, allocations: 75.22 kB / 385.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1151/0.711, allocations: 18.2 MB / 404 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.599e-06/0.711, allocations: 0 / 404 MB, free: 12.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001034/0.7112, allocations: 23.31 kB / 404.1 MB, free: 12.32 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.005177/0.7164, allocations: 1.258 MB / 405.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.7164, allocations: 7.781 kB / 405.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006698/0.7171, allocations: 120.7 kB / 405.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.7195, allocations: 0.5732 MB / 406 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004792/0.7201, allocations: 158.5 kB / 406.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/0.7204, allocations: 68.16 kB / 406.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003797/0.7242, allocations: 0.9381 MB / 407.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/0.7243, allocations: 3.984 kB / 407.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.7245, allocations: 37.22 kB / 407.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.7246, allocations: 15.34 kB / 407.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/0.7283, allocations: 0.6292 MB / 407.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009041/0.7374, allocations: 2.5 MB / 410.4 MB, free: 8.984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007442/0.7449, allocations: 0.95 MB / 411.3 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.7451, allocations: 15.78 kB / 411.3 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/0.7452, allocations: 49.44 kB / 411.4 MB, free: 8.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 7.243e-06/0.7452, allocations: 7.984 kB / 411.4 MB, free: 8.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.006924/0.7522, allocations: 1.464 MB / 412.9 MB, free: 7.914 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002814/0.7525, allocations: 0.9477 MB / 413.8 MB, free: 6.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.7546, allocations: 0.752 MB / 414.6 MB, free: 6.516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002858/0.7549, allocations: 44.48 kB / 414.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004981/0.7554, allocations: 383.7 kB / 415 MB, free: 6.305 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004312/0.7559, allocations: 252.3 kB / 415.2 MB, free: 6.125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.756, allocations: 14.38 kB / 415.2 MB, free: 6.125 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7561, allocations: 334.6 kB / 415.6 MB, free: 5.812 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.7577, allocations: 265 kB / 415.8 MB, free: 5.777 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.7598, allocations: 0.592 MB / 416.4 MB, free: 5.387 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.7616, allocations: 408.9 kB / 416.8 MB, free: 5.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.7616, allocations: 0 / 416.8 MB, free: 5.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004523/0.7661, allocations: 0.9845 MB / 417.8 MB, free: 4.926 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.401e-05/0.7663, allocations: 88.84 kB / 417.9 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.7663, allocations: 3.938 kB / 417.9 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007452/0.7671, allocations: 133 kB / 418 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.7692, allocations: 155.3 kB / 418.2 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.7799, allocations: 6.979 MB / 425.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/0.7821, allocations: 114.9 kB / 425.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.7824, allocations: 22.84 kB / 425.3 MB, free: 14.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 71 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009161/0.7833, allocations: 239.7 kB / 425.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/0.7838, allocations: 93.41 kB / 425.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.7842, allocations: 100.8 kB / 425.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.7843, allocations: 3.969 kB / 425.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/0.7843, allocations: 3.906 kB / 425.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003641/0.788, allocations: 1.002 MB / 426.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007687/0.7957, allocations: 1.757 MB / 428.5 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.7958, allocations: 4 kB / 428.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/0.7981, allocations: 166.7 kB / 428.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002789/0.7984, allocations: 27.97 kB / 428.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/0.7986, allocations: 14.53 kB / 428.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.8011, allocations: 1.455 MB / 430.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.8012, allocations: 0 / 430.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005552/0.8068, allocations: 1.12 MB / 431.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006172/0.8074, allocations: 182.9 kB / 431.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005117/0.808, allocations: 28.17 kB / 431.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.8096, allocations: 44.89 kB / 431.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/0.81, allocations: 43.09 kB / 431.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-05/0.8101, allocations: 18.42 kB / 431.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001602/0.8118, allocations: 0.5232 MB / 432.1 MB, free: 10.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.403e-06/0.8118, allocations: 0 / 432.1 MB, free: 10.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002291/0.8141, allocations: 296.1 kB / 432.4 MB, free: 10.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005292/0.8147, allocations: 141.8 kB / 432.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005181/0.8199, allocations: 1.423 MB / 433.9 MB, free: 9.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/0.82, allocations: 0 / 433.9 MB, free: 9.324 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002009/0.822, allocations: 446.7 kB / 434.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.8249, allocations: 241.4 kB / 434.6 MB, free: 9.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007697/0.8327, allocations: 1.972 MB / 436.6 MB, free: 7.871 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.8337, allocations: 0.9802 MB / 437.6 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001426/0.8352, allocations: 116.6 kB / 437.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/0.8358, allocations: 78.55 kB / 437.7 MB, free: 6.961 MB / 330.7 MB Notification: Performance of SimCode: time 1.693e-06/0.8359, allocations: 0 / 437.7 MB, free: 6.961 MB / 330.7 MB Notification: Performance of Templates: time 0.05612/0.892, allocations: 15.32 MB / 453.1 MB, free: 11.27 MB / 346.7 MB