Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.IdealGasH2O.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.429/1.429, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003946, allocations: 8 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07304/0.07348, allocations: 25.16 MB / 184 MB, free: 6.031 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8576/0.9311, allocations: 290.8 MB / 474.9 MB, free: 5.504 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.9314, allocations: 60.66 kB / 474.9 MB, free: 5.473 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2679/1.199, allocations: 26.06 MB / 0.4892 GB, free: 77.1 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.199, allocations: 0 / 0.4892 GB, free: 77.1 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/1.199, allocations: 8 kB / 0.4892 GB, free: 77.09 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001063/1.2, allocations: 427.1 kB / 0.4897 GB, free: 76.63 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.2, allocations: 8.031 kB / 0.4897 GB, free: 76.62 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/1.201, allocations: 15.8 kB / 0.4897 GB, free: 76.61 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.555e-05/1.201, allocations: 170.9 kB / 0.4898 GB, free: 76.4 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/1.201, allocations: 8 kB / 0.4898 GB, free: 76.39 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/1.201, allocations: 8 kB / 0.4899 GB, free: 76.38 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/1.201, allocations: 113.6 kB / 0.49 GB, free: 76.27 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/1.201, allocations: 7.906 kB / 0.49 GB, free: 76.26 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/1.201, allocations: 0 / 0.49 GB, free: 76.26 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/1.201, allocations: 3.953 kB / 0.49 GB, free: 76.25 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/1.202, allocations: 155.9 kB / 0.4901 GB, free: 76.1 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007442/1.202, allocations: 364.7 kB / 0.4905 GB, free: 75.7 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.204, allocations: 162.4 kB / 0.4906 GB, free: 75.53 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/1.205, allocations: 1.019 MB / 0.4916 GB, free: 74.34 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/1.205, allocations: 34.69 kB / 0.4917 GB, free: 74.29 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.324e-06/1.205, allocations: 4 kB / 0.4917 GB, free: 74.29 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.002454/1.208, allocations: 327.2 kB / 0.492 GB, free: 73.96 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/1.208, allocations: 55.36 kB / 0.492 GB, free: 73.9 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/1.208, allocations: 105.8 kB / 0.4921 GB, free: 73.79 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/1.208, allocations: 33.64 kB / 0.4922 GB, free: 73.75 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/1.208, allocations: 162.3 kB / 0.4923 GB, free: 73.59 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/1.208, allocations: 67.08 kB / 0.4924 GB, free: 73.52 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/1.208, allocations: 7.938 kB / 0.4924 GB, free: 73.51 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.098e-05/1.208, allocations: 318.8 kB / 0.4927 GB, free: 73.19 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/1.208, allocations: 60.33 kB / 0.4927 GB, free: 73.13 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/1.209, allocations: 96.7 kB / 0.4928 GB, free: 73.02 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/1.209, allocations: 59.97 kB / 0.4929 GB, free: 72.96 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.209, allocations: 0 / 0.4929 GB, free: 72.96 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008497/1.21, allocations: 203.8 kB / 0.4931 GB, free: 72.76 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.21, allocations: 4 kB / 0.4931 GB, free: 72.76 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.21, allocations: 0 / 0.4931 GB, free: 72.76 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.21, allocations: 4 kB / 0.4931 GB, free: 72.75 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/1.21, allocations: 47.91 kB / 0.4931 GB, free: 72.71 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/1.21, allocations: 11.94 kB / 0.4932 GB, free: 72.7 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/1.211, allocations: 8 kB / 0.4932 GB, free: 72.69 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/1.211, allocations: 11.98 kB / 0.4932 GB, free: 72.68 MB / 234.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 (21): * Single equations (assignments): 21 * 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.0001001/1.211, allocations: 118 kB / 0.4933 GB, free: 72.55 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/1.211, allocations: 4 kB / 0.4933 GB, free: 72.55 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/1.212, allocations: 225.7 kB / 0.4935 GB, free: 72.32 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.212, allocations: 0 / 0.4935 GB, free: 72.32 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.212, allocations: 7.984 kB / 0.4935 GB, free: 72.31 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.212, allocations: 3.953 kB / 0.4935 GB, free: 72.31 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/1.214, allocations: 496.7 kB / 0.494 GB, free: 71.76 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.214, allocations: 0 / 0.494 GB, free: 71.76 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/1.214, allocations: 39.91 kB / 0.494 GB, free: 71.72 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.214, allocations: 3.953 kB / 0.494 GB, free: 71.72 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/1.214, allocations: 11.98 kB / 0.494 GB, free: 71.71 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/1.214, allocations: 4 kB / 0.494 GB, free: 71.7 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.214, allocations: 4.062 kB / 0.494 GB, free: 71.7 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007914/1.215, allocations: 268.9 kB / 0.4943 GB, free: 71.41 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/1.215, allocations: 89 kB / 0.4944 GB, free: 71.31 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/1.215, allocations: 12.14 kB / 0.4944 GB, free: 71.3 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/1.215, allocations: 7.984 kB / 0.4944 GB, free: 71.29 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/1.215, allocations: 15.97 kB / 0.4944 GB, free: 71.27 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/1.215, allocations: 8 kB / 0.4944 GB, free: 71.27 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.427e-05/1.215, allocations: 79.28 kB / 0.4945 GB, free: 71.19 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.163e-06/1.215, allocations: 0 / 0.4945 GB, free: 71.19 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007557/1.216, allocations: 119.8 kB / 0.4946 GB, free: 71.07 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 17 * 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.001167/1.217, allocations: 0.603 MB / 0.4952 GB, free: 70.46 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0008295/1.218, allocations: 146.6 kB / 0.4953 GB, free: 70.32 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.218, allocations: 4.25 kB / 0.4954 GB, free: 70.31 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003522/1.219, allocations: 69.3 kB / 0.4954 GB, free: 70.25 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/1.219, allocations: 35.89 kB / 0.4955 GB, free: 70.21 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009462/1.22, allocations: 311.5 kB / 0.4958 GB, free: 69.87 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/1.22, allocations: 0.6973 MB / 0.4964 GB, free: 69.14 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/1.22, allocations: 23.42 kB / 0.4965 GB, free: 69.12 MB / 234.7 MB Notification: Performance of SimCode: time 1.032e-06/1.22, allocations: 4 kB / 0.4965 GB, free: 69.12 MB / 234.7 MB Notification: Performance of Templates: time 0.0114/1.232, allocations: 5.598 MB / 0.5019 GB, free: 63.53 MB / 234.7 MB