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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 0.986/0.986, allocations: 111.2 MB / 124.3 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.477e-05, allocations: 4 kB / 154.3 MB, free: 13.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1404, allocations: 25.15 MB / 179.4 MB, free: 0.8047 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6701/0.8105, allocations: 290.7 MB / 470.2 MB, free: 46.06 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001731/0.8107, allocations: 55.62 kB / 470.2 MB, free: 46.04 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07753/0.8882, allocations: 25.97 MB / 496.2 MB, free: 23.45 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.8883, allocations: 0 / 496.2 MB, free: 23.45 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.54e-06/0.8883, allocations: 0 / 496.2 MB, free: 23.45 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.0007462/0.8891, allocations: 430.2 kB / 496.6 MB, free: 22.98 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.8891, allocations: 12.03 kB / 496.6 MB, free: 22.97 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.8892, allocations: 15.89 kB / 496.6 MB, free: 22.95 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.002e-05/0.8892, allocations: 170.9 kB / 496.8 MB, free: 22.75 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.8893, allocations: 8 kB / 496.8 MB, free: 22.74 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.8893, allocations: 4 kB / 496.8 MB, free: 22.73 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.8895, allocations: 107.1 kB / 496.9 MB, free: 22.62 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.8895, allocations: 3.984 kB / 496.9 MB, free: 22.62 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.8896, allocations: 7.938 kB / 496.9 MB, free: 22.61 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-06/0.8896, allocations: 4 kB / 496.9 MB, free: 22.61 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.8898, allocations: 131.9 kB / 497.1 MB, free: 22.48 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.8904, allocations: 360.7 kB / 497.4 MB, free: 22.08 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.8911, allocations: 154.4 kB / 497.6 MB, free: 21.92 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.8912, allocations: 36.86 kB / 497.6 MB, free: 21.88 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000956/0.8922, allocations: 1.023 MB / 498.6 MB, free: 20.68 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.8923, allocations: 30.69 kB / 498.7 MB, free: 20.64 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.594e-06/0.8923, allocations: 8 kB / 498.7 MB, free: 20.64 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.001134/0.8934, allocations: 249.3 kB / 498.9 MB, free: 20.39 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.8935, allocations: 55.41 kB / 499 MB, free: 20.32 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.767e-05/0.8935, allocations: 96.91 kB / 499.1 MB, free: 20.22 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.8936, allocations: 25.7 kB / 499.1 MB, free: 20.19 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.8936, allocations: 163 kB / 499.2 MB, free: 20.03 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.8937, allocations: 67.05 kB / 499.3 MB, free: 19.96 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.599e-05/0.8937, allocations: 4 kB / 499.3 MB, free: 19.96 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.8938, allocations: 322.8 kB / 499.6 MB, free: 19.63 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.856e-05/0.8939, allocations: 40.36 kB / 499.7 MB, free: 19.59 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.894, allocations: 73.78 kB / 499.7 MB, free: 19.5 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.8941, allocations: 45.23 kB / 499.8 MB, free: 19.46 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.936e-06/0.8941, allocations: 7.953 kB / 499.8 MB, free: 19.45 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003552/0.8945, allocations: 166.9 kB / 500 MB, free: 19.29 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.8945, allocations: 4 kB / 500 MB, free: 19.28 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.742e-06/0.8945, allocations: 4 kB / 500 MB, free: 19.28 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.8946, allocations: 0 / 500 MB, free: 19.28 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.8949, allocations: 52.08 kB / 0.4883 GB, free: 19.23 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.8949, allocations: 7.875 kB / 0.4883 GB, free: 19.22 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.8951, allocations: 15.98 kB / 0.4883 GB, free: 19.2 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.8951, allocations: 12 kB / 0.4883 GB, free: 19.19 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 7.027e-05/0.8952, allocations: 111.9 kB / 0.4884 GB, free: 19.08 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.8953, allocations: 7.953 kB / 0.4884 GB, free: 19.07 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.8958, allocations: 200.6 kB / 0.4886 GB, free: 18.88 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.798e-06/0.8958, allocations: 4 kB / 0.4886 GB, free: 18.87 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.905e-06/0.8958, allocations: 0 / 0.4886 GB, free: 18.87 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.18e-06/0.8959, allocations: 3.984 kB / 0.4886 GB, free: 18.87 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/0.8967, allocations: 468.7 kB / 0.4891 GB, free: 18.35 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.559e-06/0.8967, allocations: 0 / 0.4891 GB, free: 18.35 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.897, allocations: 43.89 kB / 0.4891 GB, free: 18.3 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.764e-06/0.897, allocations: 4 kB / 0.4891 GB, free: 18.3 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.897, allocations: 4 kB / 0.4891 GB, free: 18.3 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.495e-06/0.8971, allocations: 4 kB / 0.4891 GB, free: 18.29 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.207e-06/0.8971, allocations: 0 / 0.4891 GB, free: 18.29 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.8974, allocations: 272.4 kB / 0.4894 GB, free: 17.99 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.8975, allocations: 85.02 kB / 0.4895 GB, free: 17.89 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.8975, allocations: 4 kB / 0.4895 GB, free: 17.89 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.8977, allocations: 15.94 kB / 0.4895 GB, free: 17.87 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.8978, allocations: 11.98 kB / 0.4895 GB, free: 17.86 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.8978, allocations: 11.98 kB / 0.4895 GB, free: 17.85 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.097e-05/0.8978, allocations: 83.45 kB / 0.4896 GB, free: 17.77 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.25e-07/0.8978, allocations: 0 / 0.4896 GB, free: 17.77 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006746/0.8985, allocations: 115.9 kB / 0.4897 GB, free: 17.65 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.0009389/0.8995, allocations: 0.5925 MB / 0.4903 GB, free: 17.06 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.8998, allocations: 115.9 kB / 0.4904 GB, free: 16.95 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8998, allocations: 0 / 0.4904 GB, free: 16.95 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.8999, allocations: 59.92 kB / 0.4905 GB, free: 16.89 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.9003, allocations: 27.97 kB / 0.4905 GB, free: 16.86 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.9008, allocations: 177.5 kB / 0.4907 GB, free: 16.65 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.9009, allocations: 0.6973 MB / 0.4913 GB, free: 15.93 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.9011, allocations: 27.42 kB / 0.4914 GB, free: 15.9 MB / 234.7 MB Notification: Performance of SimCode: time 1.407e-06/0.9011, allocations: 0 / 0.4914 GB, free: 15.9 MB / 234.7 MB Notification: Performance of Templates: time 0.00846/0.9095, allocations: 5.582 MB / 0.4968 GB, free: 10.32 MB / 234.7 MB