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.SimpleCooling.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.581/1.581, allocations: 171.2 MB / 184.2 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.188e-05, allocations: 11.92 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2041, allocations: 38.77 MB / 267.6 MB, free: 9.426 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.3083, allocations: 70.31 MB / 337.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.3086, allocations: 67.95 kB / 338 MB, free: 2.949 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03591/0.3445, allocations: 9.032 MB / 347 MB, free: 9.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.69e-06/0.3446, allocations: 0 / 347 MB, free: 9.855 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.3446, allocations: 12 kB / 347 MB, free: 9.844 MB / 298.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.001203/0.3458, allocations: 0.6713 MB / 347.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3459, allocations: 8.031 kB / 347.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.3461, allocations: 59.34 kB / 347.7 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006666/0.3467, allocations: 360.3 kB / 348.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.3469, allocations: 62.83 kB / 348.1 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.347, allocations: 35.95 kB / 348.2 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008617/0.3479, allocations: 434.9 kB / 348.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.3479, allocations: 0 / 348.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.348, allocations: 16 kB / 348.6 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.348, allocations: 11.94 kB / 348.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.3487, allocations: 255.1 kB / 348.9 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.3514, allocations: 1.233 MB / 350.1 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.3529, allocations: 429.5 kB / 350.5 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.3533, allocations: 137.3 kB / 350.7 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.3533, allocations: 4.281 kB / 350.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.3534, allocations: 38.84 kB / 350.7 MB, free: 5.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 6.412e-06/0.3534, allocations: 4 kB / 350.7 MB, free: 5.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009963/0.3544, allocations: 340.9 kB / 351.1 MB, free: 5.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000258/0.3547, allocations: 448.9 kB / 351.5 MB, free: 4.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.3553, allocations: 375.2 kB / 351.9 MB, free: 4.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.3554, allocations: 29.7 kB / 351.9 MB, free: 4.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.3556, allocations: 262.7 kB / 352.1 MB, free: 4.301 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.3558, allocations: 114.3 kB / 352.3 MB, free: 4.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.3558, allocations: 16 kB / 352.3 MB, free: 4.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.356, allocations: 322.8 kB / 352.6 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.3563, allocations: 99.78 kB / 352.7 MB, free: 3.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.3567, allocations: 238.6 kB / 352.9 MB, free: 3.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.3571, allocations: 160.6 kB / 353.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.284e-06/0.3571, allocations: 0 / 353.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00101/0.3581, allocations: 390.7 kB / 353.5 MB, free: 2.902 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.3582, allocations: 35.89 kB / 353.5 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.209e-06/0.3582, allocations: 0 / 353.5 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004077/0.3586, allocations: 69.66 kB / 353.6 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.3591, allocations: 71.91 kB / 353.6 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1816/0.5407, allocations: 2.732 MB / 356.4 MB, free: 77.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.5413, allocations: 55.58 kB / 356.4 MB, free: 77.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.5413, allocations: 12.03 kB / 356.4 MB, free: 77.13 MB / 298.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 () * 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 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.5415, allocations: 131.7 kB / 356.6 MB, free: 77.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.5416, allocations: 47.67 kB / 356.6 MB, free: 77.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.5418, allocations: 49.88 kB / 356.6 MB, free: 77.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.483e-06/0.5418, allocations: 3.719 kB / 356.7 MB, free: 77.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.47e-06/0.5418, allocations: 3.219 kB / 356.7 MB, free: 77.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007616/0.5426, allocations: 0.6364 MB / 357.3 MB, free: 76.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.5444, allocations: 0.88 MB / 358.2 MB, free: 76.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.5444, allocations: 1.297 kB / 358.2 MB, free: 76.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.5449, allocations: 74.98 kB / 358.2 MB, free: 76.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.17e-06/0.545, allocations: 1.594 kB / 358.2 MB, free: 76.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.545, allocations: 7.125 kB / 358.3 MB, free: 76.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.545, allocations: 2.844 kB / 358.3 MB, free: 76.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.945e-06/0.545, allocations: 6.062 kB / 358.3 MB, free: 76.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009358/0.546, allocations: 0.5037 MB / 358.8 MB, free: 76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.5461, allocations: 130.3 kB / 358.9 MB, free: 75.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.795e-05/0.5462, allocations: 9.125 kB / 358.9 MB, free: 75.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.5466, allocations: 26.86 kB / 358.9 MB, free: 75.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.5467, allocations: 16.38 kB / 358.9 MB, free: 75.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.5467, allocations: 11.64 kB / 359 MB, free: 75.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000423/0.5471, allocations: 300.9 kB / 359.2 MB, free: 75.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.5472, allocations: 1.375 kB / 359.3 MB, free: 75.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006173/0.5478, allocations: 134.8 kB / 359.4 MB, free: 75.79 MB / 298.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 () * 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.0001751/0.548, allocations: 119.1 kB / 359.5 MB, free: 75.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.5492, allocations: 0.5504 MB / 360 MB, free: 75.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.626e-06/0.5492, allocations: 8.25 kB / 360.1 MB, free: 75.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.5494, allocations: 117.2 kB / 360.2 MB, free: 75.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.5501, allocations: 114.9 kB / 360.3 MB, free: 75.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.5517, allocations: 0.659 MB / 360.9 MB, free: 75.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.552, allocations: 0.8218 MB / 361.8 MB, free: 74.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.5522, allocations: 45.55 kB / 361.8 MB, free: 74.48 MB / 298.7 MB Notification: Performance of SimCode: time 1.683e-06/0.5522, allocations: 0 / 361.8 MB, free: 74.48 MB / 298.7 MB Notification: Performance of Templates: time 0.01137/0.5636, allocations: 7.643 MB / 369.5 MB, free: 72.61 MB / 298.7 MB