Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.027/1.027, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.175e-05, allocations: 4 kB / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06609/0.06614, allocations: 25.18 MB / 173.3 MB, free: 13 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6795/0.7457, allocations: 290.1 MB / 463.4 MB, free: 24.99 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001783/0.7459, allocations: 65.41 kB / 463.4 MB, free: 24.96 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07682/0.8227, allocations: 25.46 MB / 488.9 MB, free: 1.281 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.8228, allocations: 0 / 488.9 MB, free: 1.281 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.8228, allocations: 0 / 488.9 MB, free: 1.281 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.0007747/0.8236, allocations: 429.2 kB / 489.3 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.8236, allocations: 12.03 kB / 489.3 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.8237, allocations: 7.906 kB / 489.3 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.113e-05/0.8238, allocations: 178.9 kB / 489.5 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.8238, allocations: 4 kB / 489.5 MB, free: 0.582 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.8238, allocations: 4 kB / 489.5 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000238/0.8241, allocations: 127.9 kB / 489.6 MB, free: 464 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.8242, allocations: 96.3 kB / 489.7 MB, free: 364 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.8243, allocations: 7.844 kB / 489.7 MB, free: 356 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.8243, allocations: 8 kB / 489.7 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-06/0.8243, allocations: 0 / 489.7 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1221/0.9464, allocations: 334.1 kB / 490.1 MB, free: 70.44 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.9473, allocations: 128.6 kB / 490.2 MB, free: 70.41 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.9474, allocations: 36.92 kB / 490.2 MB, free: 70.41 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.9485, allocations: 1.018 MB / 491.3 MB, free: 69.38 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.9486, allocations: 43.23 kB / 491.3 MB, free: 69.34 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.852e-06/0.9486, allocations: 0 / 491.3 MB, free: 69.34 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.006458/0.9551, allocations: 1.061 MB / 492.4 MB, free: 69.3 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.9551, allocations: 54.94 kB / 492.4 MB, free: 69.24 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.9552, allocations: 98.36 kB / 492.5 MB, free: 69.15 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.9552, allocations: 30.55 kB / 492.5 MB, free: 69.12 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.9553, allocations: 163.1 kB / 492.7 MB, free: 68.96 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.9554, allocations: 55.55 kB / 492.7 MB, free: 68.93 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.9554, allocations: 0 / 492.7 MB, free: 68.93 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.9554, allocations: 319.5 kB / 493.1 MB, free: 68.62 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/0.9556, allocations: 35.5 kB / 493.1 MB, free: 68.62 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.9557, allocations: 76.88 kB / 493.2 MB, free: 68.58 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002631/0.9583, allocations: 479.4 kB / 493.6 MB, free: 68.57 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.153e-06/0.9584, allocations: 0 / 493.6 MB, free: 68.57 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002863/0.9612, allocations: 0.5633 MB / 494.2 MB, free: 68.53 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.9613, allocations: 8.562 kB / 494.2 MB, free: 68.53 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.196e-06/0.9613, allocations: 2.531 kB / 494.2 MB, free: 68.53 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.9614, allocations: 6.875 kB / 494.2 MB, free: 68.53 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.9617, allocations: 49.72 kB / 494.3 MB, free: 68.53 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.9617, allocations: 2.469 kB / 494.3 MB, free: 68.53 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.9619, allocations: 9.422 kB / 494.3 MB, free: 68.53 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.962, allocations: 9.156 kB / 494.3 MB, free: 68.53 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 () * 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 8.136e-05/0.9621, allocations: 106.2 kB / 494.4 MB, free: 68.43 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.9622, allocations: 17.88 kB / 494.4 MB, free: 68.42 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.9651, allocations: 0.5903 MB / 495 MB, free: 68.37 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.672e-06/0.9652, allocations: 3.531 kB / 495 MB, free: 68.37 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.335e-06/0.9652, allocations: 3.938 kB / 495 MB, free: 68.37 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.741e-06/0.9652, allocations: 1.031 kB / 495 MB, free: 68.37 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/0.9686, allocations: 0.843 MB / 495.8 MB, free: 68.08 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.23e-06/0.9687, allocations: 3.812 kB / 495.9 MB, free: 68.08 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.969, allocations: 51.16 kB / 495.9 MB, free: 68.08 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.137e-06/0.969, allocations: 1.375 kB / 495.9 MB, free: 68.08 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.969, allocations: 2.75 kB / 495.9 MB, free: 68.08 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.969, allocations: 1.375 kB / 495.9 MB, free: 68.08 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.003e-06/0.9691, allocations: 1.375 kB / 495.9 MB, free: 68.08 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.9717, allocations: 0.6768 MB / 496.6 MB, free: 67.89 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.9718, allocations: 79.86 kB / 496.7 MB, free: 67.79 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.9718, allocations: 1.375 kB / 496.7 MB, free: 67.79 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.9721, allocations: 9.438 kB / 496.7 MB, free: 67.79 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.9721, allocations: 11.45 kB / 496.7 MB, free: 67.79 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.9722, allocations: 13.23 kB / 496.7 MB, free: 67.79 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.449e-05/0.9722, allocations: 84.66 kB / 496.8 MB, free: 67.71 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.9722, allocations: 0 / 496.8 MB, free: 67.71 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006612/0.9729, allocations: 102.6 kB / 496.9 MB, free: 67.71 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 () * 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.001136/0.9741, allocations: 0.6748 MB / 497.6 MB, free: 67.6 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.9744, allocations: 111.5 kB / 497.7 MB, free: 67.59 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.9744, allocations: 1.375 kB / 497.7 MB, free: 67.59 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.9745, allocations: 51.59 kB / 497.7 MB, free: 67.59 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.9749, allocations: 34.42 kB / 497.8 MB, free: 67.59 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.9754, allocations: 166.6 kB / 497.9 MB, free: 67.48 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.9756, allocations: 0.6993 MB / 498.6 MB, free: 66.78 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.9757, allocations: 27.22 kB / 498.6 MB, free: 66.77 MB / 234.7 MB Notification: Performance of SimCode: time 1.572e-06/0.9757, allocations: 0 / 498.6 MB, free: 66.77 MB / 234.7 MB Notification: Performance of Templates: time 0.009614/0.9853, allocations: 5.533 MB / 0.4924 GB, free: 66.34 MB / 234.7 MB