Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.SimpleLiquidWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.783/1.783, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 8 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08404/0.08442, allocations: 44.51 MB / 308.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7421/0.8266, allocations: 268.5 MB / 0.5634 GB, free: 132.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.8269, allocations: 67.97 kB / 0.5635 GB, free: 132.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02958/0.8565, allocations: 9.382 MB / 0.5726 GB, free: 122.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.652e-06/0.8565, allocations: 0 / 0.5726 GB, free: 122.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.8565, allocations: 7.938 kB / 0.5726 GB, free: 122.7 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008085/0.8574, allocations: 463.8 kB / 0.5731 GB, free: 122.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.8574, allocations: 8.031 kB / 0.5731 GB, free: 122.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.8577, allocations: 20.5 kB / 0.5731 GB, free: 122.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.8579, allocations: 222.7 kB / 0.5733 GB, free: 121.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.8579, allocations: 8.281 kB / 0.5733 GB, free: 121.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.8579, allocations: 16 kB / 0.5733 GB, free: 121.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.8584, allocations: 212.6 kB / 0.5735 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.8584, allocations: 3.938 kB / 0.5735 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.8585, allocations: 8 kB / 0.5736 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.44e-06/0.8585, allocations: 4 kB / 0.5736 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.8589, allocations: 147.8 kB / 0.5737 GB, free: 121.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.8602, allocations: 0.9404 MB / 0.5746 GB, free: 120.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.8607, allocations: 146.8 kB / 0.5748 GB, free: 120.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005405/0.8613, allocations: 0.5035 MB / 0.5752 GB, free: 119.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.8613, allocations: 34.55 kB / 0.5753 GB, free: 119.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.985e-06/0.8613, allocations: 0 / 0.5753 GB, free: 119.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.002821/0.8641, allocations: 0.7614 MB / 0.576 GB, free: 118.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.8642, allocations: 51.41 kB / 0.5761 GB, free: 118.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.8643, allocations: 140 kB / 0.5762 GB, free: 118.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.8644, allocations: 37.7 kB / 0.5762 GB, free: 118.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.8645, allocations: 206.3 kB / 0.5764 GB, free: 118.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.8645, allocations: 71 kB / 0.5765 GB, free: 118.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.8646, allocations: 7.938 kB / 0.5765 GB, free: 118.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.8646, allocations: 330.8 kB / 0.5768 GB, free: 118.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.8649, allocations: 75.94 kB / 0.5769 GB, free: 118 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.8653, allocations: 195.1 kB / 0.5771 GB, free: 117.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.8656, allocations: 108.8 kB / 0.5772 GB, free: 117.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.458e-06/0.8656, allocations: 0 / 0.5772 GB, free: 117.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008108/0.8664, allocations: 318.3 kB / 0.5775 GB, free: 117.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8665, allocations: 8 kB / 0.5775 GB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.57e-06/0.8665, allocations: 4 kB / 0.5775 GB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.8665, allocations: 7.953 kB / 0.5775 GB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.867, allocations: 83.83 kB / 0.5776 GB, free: 117.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.867, allocations: 12.25 kB / 0.5776 GB, free: 117.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.8673, allocations: 15.98 kB / 0.5776 GB, free: 117.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.8674, allocations: 19.98 kB / 0.5776 GB, free: 117.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 37 * 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 prepare postOptimizeDAE: time 0.0001331/0.8675, allocations: 128.9 kB / 0.5778 GB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.8676, allocations: 15.91 kB / 0.5778 GB, free: 117 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007908/0.8684, allocations: 246.5 kB / 0.578 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.08e-06/0.8684, allocations: 4 kB / 0.578 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.728e-06/0.8684, allocations: 0 / 0.578 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.8684, allocations: 0 / 0.578 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.8699, allocations: 0.5873 MB / 0.5786 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.203e-06/0.8699, allocations: 4 kB / 0.5786 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.8703, allocations: 60.02 kB / 0.5787 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.904e-06/0.8703, allocations: 0 / 0.5787 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.8703, allocations: 7.984 kB / 0.5787 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.197e-06/0.8703, allocations: 7.984 kB / 0.5787 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.486e-06/0.8703, allocations: 0 / 0.5787 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009353/0.8713, allocations: 449.5 kB / 0.5791 GB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.8714, allocations: 92.91 kB / 0.5792 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.8714, allocations: 0 / 0.5792 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.8717, allocations: 15.98 kB / 0.5792 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.8718, allocations: 19.94 kB / 0.5792 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.8718, allocations: 15.92 kB / 0.5792 GB, free: 115.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.261e-05/0.8719, allocations: 103.3 kB / 0.5793 GB, free: 115.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.44e-07/0.8719, allocations: 4.062 kB / 0.5793 GB, free: 115.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005446/0.8725, allocations: 67.94 kB / 0.5794 GB, free: 115.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.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 (20): * Single equations (assignments): 20 * 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.000229/0.8727, allocations: 151.3 kB / 0.5795 GB, free: 115.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006762/0.8734, allocations: 223.1 kB / 0.5798 GB, free: 114.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8734, allocations: 0 / 0.5798 GB, free: 114.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.8737, allocations: 91.81 kB / 0.5798 GB, free: 114.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.8741, allocations: 41.36 kB / 0.5799 GB, free: 114.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.8753, allocations: 0.5751 MB / 0.5804 GB, free: 114.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.8754, allocations: 0.7168 MB / 0.5811 GB, free: 113.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.8756, allocations: 31.42 kB / 0.5812 GB, free: 113.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.752e-06/0.8756, allocations: 0 / 0.5812 GB, free: 113.3 MB / 410.7 MB Notification: Performance of Templates: time 0.00517/0.8808, allocations: 2.727 MB / 0.5838 GB, free: 110.6 MB / 410.7 MB