Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.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.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 2.142/2.142, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.000376, allocations: 12 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1082, allocations: 44.51 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9575/1.066, allocations: 268.5 MB / 0.564 GB, free: 110.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/1.066, allocations: 68.42 kB / 0.5641 GB, free: 110.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03321/1.099, allocations: 9.387 MB / 0.5732 GB, free: 104.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/1.099, allocations: 4 kB / 0.5732 GB, free: 104.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/1.099, allocations: 4 kB / 0.5732 GB, free: 104.5 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.001104/1.1, allocations: 461.8 kB / 0.5737 GB, free: 104 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.101, allocations: 12.03 kB / 0.5737 GB, free: 104 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/1.101, allocations: 27.73 kB / 0.5737 GB, free: 104 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/1.101, allocations: 201.9 kB / 0.5739 GB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/1.101, allocations: 19.53 kB / 0.5739 GB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/1.101, allocations: 15.44 kB / 0.5739 GB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/1.102, allocations: 207 kB / 0.5741 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/1.102, allocations: 0 / 0.5741 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/1.102, allocations: 15.5 kB / 0.5741 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.102, allocations: 4 kB / 0.5741 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/1.102, allocations: 139.9 kB / 0.5743 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/1.104, allocations: 0.9536 MB / 0.5752 GB, free: 102.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/1.105, allocations: 142.9 kB / 0.5753 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006333/1.105, allocations: 0.5041 MB / 0.5758 GB, free: 101.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/1.105, allocations: 33.81 kB / 0.5759 GB, free: 101.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.905e-06/1.105, allocations: 4 kB / 0.5759 GB, free: 101.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.004019/1.109, allocations: 0.7495 MB / 0.5766 GB, free: 101.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/1.109, allocations: 59.41 kB / 0.5767 GB, free: 101 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/1.11, allocations: 160 kB / 0.5768 GB, free: 100.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/1.11, allocations: 29.02 kB / 0.5768 GB, free: 100.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/1.11, allocations: 142.4 kB / 0.577 GB, free: 100.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.76e-05/1.11, allocations: 64.89 kB / 0.577 GB, free: 100.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/1.11, allocations: 11.25 kB / 0.5771 GB, free: 100.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.525e-05/1.11, allocations: 330.2 kB / 0.5774 GB, free: 100.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/1.11, allocations: 81.58 kB / 0.5774 GB, free: 100.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/1.111, allocations: 189.7 kB / 0.5776 GB, free: 100.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/1.111, allocations: 108.8 kB / 0.5777 GB, free: 99.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.111, allocations: 4 kB / 0.5777 GB, free: 99.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001048/1.112, allocations: 312.4 kB / 0.578 GB, free: 99.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.112, allocations: 8 kB / 0.578 GB, free: 99.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.112, allocations: 0 / 0.578 GB, free: 99.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/1.112, allocations: 12.42 kB / 0.5781 GB, free: 99.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/1.113, allocations: 87.58 kB / 0.5781 GB, free: 99.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/1.113, allocations: 8 kB / 0.5781 GB, free: 99.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/1.113, allocations: 15.73 kB / 0.5782 GB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/1.114, allocations: 23.47 kB / 0.5782 GB, free: 99.6 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.0001497/1.114, allocations: 129.2 kB / 0.5783 GB, free: 99.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/1.114, allocations: 15.81 kB / 0.5783 GB, free: 99.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/1.115, allocations: 245.1 kB / 0.5786 GB, free: 99.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.115, allocations: 4 kB / 0.5786 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.115, allocations: 0 / 0.5786 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/1.115, allocations: 0 / 0.5786 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/1.117, allocations: 0.5901 MB / 0.5791 GB, free: 98.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.117, allocations: 4.031 kB / 0.5791 GB, free: 98.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/1.117, allocations: 55.89 kB / 0.5792 GB, free: 98.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/1.117, allocations: 0 / 0.5792 GB, free: 98.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/1.117, allocations: 15.36 kB / 0.5792 GB, free: 98.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.117, allocations: 4 kB / 0.5792 GB, free: 98.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.117, allocations: 0 / 0.5792 GB, free: 98.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/1.119, allocations: 400.1 kB / 0.5796 GB, free: 98.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/1.119, allocations: 96.42 kB / 0.5797 GB, free: 98.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/1.119, allocations: 4 kB / 0.5797 GB, free: 98.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/1.119, allocations: 15.42 kB / 0.5797 GB, free: 98.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/1.119, allocations: 15.55 kB / 0.5797 GB, free: 98.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/1.119, allocations: 11.92 kB / 0.5797 GB, free: 98.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.369e-05/1.119, allocations: 113 kB / 0.5798 GB, free: 98.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.119, allocations: 0 / 0.5798 GB, free: 98.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005282/1.12, allocations: 67 kB / 0.5799 GB, free: 97.96 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.0002441/1.12, allocations: 146.5 kB / 0.58 GB, free: 97.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008837/1.121, allocations: 218.8 kB / 0.5802 GB, free: 97.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.121, allocations: 0 / 0.5802 GB, free: 97.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/1.121, allocations: 89.88 kB / 0.5803 GB, free: 97.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/1.122, allocations: 39.3 kB / 0.5804 GB, free: 97.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/1.123, allocations: 0.5527 MB / 0.5809 GB, free: 96.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/1.123, allocations: 0.7167 MB / 0.5816 GB, free: 96.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000489/1.124, allocations: 45.94 kB / 0.5817 GB, free: 96.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/1.124, allocations: 27.42 kB / 0.5817 GB, free: 96.17 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/1.124, allocations: 0 / 0.5817 GB, free: 96.17 MB / 410.7 MB Notification: Performance of Templates: time 0.00832/1.132, allocations: 2.74 MB / 0.5844 GB, free: 93.46 MB / 410.7 MB