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.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004838, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09774, allocations: 44.5 MB / 309 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4498/0.5476, allocations: 75.72 MB / 384.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5479, allocations: 74.69 kB / 384.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03517/0.5831, allocations: 9.071 MB / 393.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5832, allocations: 4 kB / 393.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.672e-05/0.5832, allocations: 15.62 kB / 393.9 MB, free: 14.33 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001502/0.5847, allocations: 0.7312 MB / 394.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.5848, allocations: 7.719 kB / 394.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.585, allocations: 62.12 kB / 394.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007402/0.5857, allocations: 367.4 kB / 395.1 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.5859, allocations: 60.61 kB / 395.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.586, allocations: 33.56 kB / 395.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009418/0.5869, allocations: 460.3 kB / 395.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.587, allocations: 0 / 395.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/0.587, allocations: 14.84 kB / 395.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.587, allocations: 11.44 kB / 395.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.5879, allocations: 294.5 kB / 395.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.5907, allocations: 1.23 MB / 397.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/0.5935, allocations: 444.5 kB / 397.6 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.375e-05/0.5936, allocations: 11.42 kB / 397.6 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.5937, allocations: 48.69 kB / 397.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.347e-06/0.5937, allocations: 0 / 397.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001784/0.5955, allocations: 0.6131 MB / 398.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.5956, allocations: 448.5 kB / 398.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/0.5963, allocations: 436.7 kB / 399.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-05/0.5964, allocations: 33.02 kB / 399.2 MB, free: 11.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.5966, allocations: 229.4 kB / 399.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.5968, allocations: 112.5 kB / 399.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.5968, allocations: 6.812 kB / 399.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5969, allocations: 356.7 kB / 399.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.5973, allocations: 115.5 kB / 400 MB, free: 11.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/0.5979, allocations: 252.9 kB / 400.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.5984, allocations: 167.3 kB / 400.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5984, allocations: 0 / 400.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001162/0.5996, allocations: 429.1 kB / 400.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.5996, allocations: 29.67 kB / 400.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.5996, allocations: 7.875 kB / 400.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.5999, allocations: 47.11 kB / 400.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.6005, allocations: 79.39 kB / 401 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.6032, allocations: 2.767 MB / 403.7 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.6039, allocations: 50.33 kB / 403.8 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.6039, allocations: 11.14 kB / 403.8 MB, free: 8.246 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003151/0.6043, allocations: 167.2 kB / 403.9 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.6044, allocations: 50.44 kB / 404 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.6045, allocations: 59.83 kB / 404.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.6046, allocations: 11.84 kB / 404.1 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6046, allocations: 0 / 404.1 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008938/0.6055, allocations: 0.6598 MB / 404.7 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.6074, allocations: 0.9157 MB / 405.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.6074, allocations: 0 / 405.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.6081, allocations: 76.59 kB / 405.7 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.6081, allocations: 0 / 405.7 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.6081, allocations: 7.062 kB / 405.7 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.6081, allocations: 4 kB / 405.7 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6082, allocations: 0 / 405.7 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.6094, allocations: 0.5369 MB / 406.3 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.6096, allocations: 131.5 kB / 406.4 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.6097, allocations: 9 kB / 406.4 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.6102, allocations: 20.36 kB / 406.4 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.6102, allocations: 16.78 kB / 406.4 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.6103, allocations: 11.16 kB / 406.4 MB, free: 6.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005129/0.6108, allocations: 306.8 kB / 406.7 MB, free: 6.793 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6108, allocations: 0 / 406.7 MB, free: 6.793 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006712/0.6115, allocations: 140.7 kB / 406.9 MB, free: 6.777 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001936/0.6117, allocations: 124.2 kB / 407 MB, free: 6.684 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.6129, allocations: 0.581 MB / 407.6 MB, free: 6.375 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6129, allocations: 0 / 407.6 MB, free: 6.375 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.6133, allocations: 139.5 kB / 407.7 MB, free: 6.363 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009536/0.6143, allocations: 113.6 kB / 407.8 MB, free: 6.355 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.6164, allocations: 1.037 MB / 408.9 MB, free: 5.797 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.6167, allocations: 0.8247 MB / 409.7 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003772/0.6171, allocations: 59.78 kB / 409.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.6173, allocations: 44.5 kB / 409.8 MB, free: 5.059 MB / 314.7 MB Notification: Performance of SimCode: time 8.31e-07/0.6173, allocations: 0 / 409.8 MB, free: 5.059 MB / 314.7 MB Notification: Performance of Templates: time 0.01843/0.6357, allocations: 7.147 MB / 416.9 MB, free: 1.797 MB / 314.7 MB