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.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 171.1 MB / 186.7 MB, free: 1.141 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005418/0.000542, allocations: 8 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.0974, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4734, allocations: 71.39 MB / 344 MB, free: 2.008 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.4737, allocations: 74.83 kB / 344.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08847/0.5622, allocations: 18.12 MB / 362.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5623, allocations: 0 / 362.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.347e-05/0.5623, allocations: 27.92 kB / 362.2 MB, free: 2.715 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.00358/0.5659, allocations: 1.26 MB / 363.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.566, allocations: 12.03 kB / 363.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004173/0.5664, allocations: 114.8 kB / 363.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.5681, allocations: 0.5748 MB / 364.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003346/0.5685, allocations: 157.5 kB / 364.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.5687, allocations: 71.06 kB / 364.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.5712, allocations: 0.9412 MB / 365.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.5713, allocations: 0 / 365.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.5714, allocations: 35.62 kB / 365.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.5714, allocations: 16 kB / 365.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.5737, allocations: 0.6335 MB / 366 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006846/0.5806, allocations: 2.488 MB / 368.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005037/0.5857, allocations: 0.9387 MB / 369.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.5859, allocations: 19.88 kB / 369.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.707e-05/0.586, allocations: 45.78 kB / 369.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.587e-06/0.586, allocations: 0 / 369.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.00483/0.5908, allocations: 1.463 MB / 371 MB, free: 11.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007009/0.5916, allocations: 0.9512 MB / 371.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.5931, allocations: 0.7451 MB / 372.7 MB, free: 9.508 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002385/0.5934, allocations: 45.77 kB / 372.7 MB, free: 9.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.5938, allocations: 399.7 kB / 373.1 MB, free: 9.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00033/0.5942, allocations: 250.2 kB / 373.4 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.5943, allocations: 13.56 kB / 373.4 MB, free: 9.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5944, allocations: 330.1 kB / 373.7 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.5955, allocations: 272.9 kB / 374 MB, free: 8.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.5969, allocations: 0.5901 MB / 374.6 MB, free: 7.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.5981, allocations: 404.5 kB / 375 MB, free: 7.641 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5981, allocations: 0 / 375 MB, free: 7.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003122/0.6012, allocations: 0.9889 MB / 375.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-05/0.6014, allocations: 85.11 kB / 376 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.6014, allocations: 0 / 376 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005122/0.6019, allocations: 135.4 kB / 376.2 MB, free: 6.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.6034, allocations: 151.5 kB / 376.3 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008593/0.612, allocations: 6.985 MB / 383.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.6135, allocations: 111.3 kB / 383.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.6136, allocations: 24 kB / 383.4 MB, free: 15.02 MB / 314.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.0006716/0.6143, allocations: 237.6 kB / 383.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.6146, allocations: 107.4 kB / 383.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.6149, allocations: 96.38 kB / 383.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.615, allocations: 8 kB / 383.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.615, allocations: 0 / 383.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002422/0.6174, allocations: 1.001 MB / 384.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/0.6222, allocations: 1.75 MB / 386.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.6223, allocations: 0 / 386.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.6238, allocations: 163.8 kB / 386.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001653/0.624, allocations: 32.83 kB / 386.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.6241, allocations: 12 kB / 386.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.6257, allocations: 1.452 MB / 388.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6258, allocations: 7.969 kB / 388.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.6295, allocations: 1.115 MB / 389.4 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/0.63, allocations: 183.8 kB / 389.6 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002647/0.6302, allocations: 19.94 kB / 389.6 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008776/0.6311, allocations: 51.97 kB / 389.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.6313, allocations: 44.92 kB / 389.7 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-05/0.6314, allocations: 23.98 kB / 389.7 MB, free: 8.359 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.6325, allocations: 0.5186 MB / 390.2 MB, free: 7.848 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.6326, allocations: 0 / 390.2 MB, free: 7.848 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001466/0.634, allocations: 292 kB / 390.5 MB, free: 7.562 MB / 314.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.0003269/0.6344, allocations: 139.2 kB / 390.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003629/0.638, allocations: 1.429 MB / 392.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/0.6381, allocations: 4 kB / 392.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.6395, allocations: 446.5 kB / 392.5 MB, free: 5.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.6414, allocations: 238.8 kB / 392.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/0.6471, allocations: 1.988 MB / 394.7 MB, free: 3.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007472/0.6479, allocations: 0.9833 MB / 395.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009386/0.6489, allocations: 115 kB / 395.8 MB, free: 2.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.6493, allocations: 75.42 kB / 395.9 MB, free: 1.977 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6493, allocations: 7.938 kB / 395.9 MB, free: 1.969 MB / 314.7 MB Notification: Performance of Templates: time 0.04574/0.695, allocations: 15.1 MB / 411 MB, free: 2.926 MB / 330.7 MB