Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009459/0.0009459, allocations: 182.3 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.142/1.142, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001544/0.001544, allocations: 117.7 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 11.94 kB / 310.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07479/0.07508, allocations: 44.49 MB / 355 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7983/0.8735, allocations: 438.1 MB / 0.7745 GB, free: 58.26 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.8737, allocations: 68.66 kB / 0.7746 GB, free: 58.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04776/0.9215, allocations: 24.92 MB / 0.7989 GB, free: 36.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.9216, allocations: 0 / 0.7989 GB, free: 36.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.9216, allocations: 0 / 0.7989 GB, free: 36.92 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000786/0.9224, allocations: 431.1 kB / 0.7994 GB, free: 36.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.9224, allocations: 8.031 kB / 0.7994 GB, free: 36.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005525/0.928, allocations: 468.5 kB / 0.7998 GB, free: 35.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.886e-05/0.928, allocations: 159.1 kB / 0.8 GB, free: 35.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.9281, allocations: 5.406 kB / 0.8 GB, free: 35.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.9281, allocations: 8 kB / 0.8 GB, free: 35.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/0.9288, allocations: 305.8 kB / 0.8003 GB, free: 35.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.9288, allocations: 0 / 0.8003 GB, free: 35.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.9289, allocations: 11.94 kB / 0.8003 GB, free: 35.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.9289, allocations: 0 / 0.8003 GB, free: 35.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006742/0.9296, allocations: 273 kB / 0.8005 GB, free: 35.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008604/0.9304, allocations: 423 kB / 0.8009 GB, free: 34.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009206/0.9314, allocations: 222.5 kB / 0.8012 GB, free: 34.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.9314, allocations: 4 kB / 0.8012 GB, free: 34.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.9314, allocations: 34.5 kB / 0.8012 GB, free: 34.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.9314, allocations: 0 / 0.8012 GB, free: 34.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001562/0.933, allocations: 421.4 kB / 0.8016 GB, free: 34.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.933, allocations: 51.41 kB / 0.8016 GB, free: 33.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.832e-05/0.9331, allocations: 104.9 kB / 0.8017 GB, free: 33.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.9331, allocations: 35.3 kB / 0.8018 GB, free: 33.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.9331, allocations: 95.88 kB / 0.8019 GB, free: 33.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.9332, allocations: 55.2 kB / 0.8019 GB, free: 33.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/0.9332, allocations: 4 kB / 0.8019 GB, free: 33.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.9333, allocations: 318.8 kB / 0.8022 GB, free: 33.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.9335, allocations: 80.31 kB / 0.8023 GB, free: 33.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.9337, allocations: 117 kB / 0.8024 GB, free: 33.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.934, allocations: 85.12 kB / 0.8025 GB, free: 33.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.934, allocations: 4 kB / 0.8025 GB, free: 33.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005282/0.9345, allocations: 240.8 kB / 0.8027 GB, free: 32.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.9346, allocations: 8 kB / 0.8027 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.9346, allocations: 3.938 kB / 0.8027 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.9346, allocations: 4 kB / 0.8027 GB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.9349, allocations: 56.02 kB / 0.8028 GB, free: 32.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.9349, allocations: 0.875 kB / 0.8028 GB, free: 32.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.9352, allocations: 19.97 kB / 0.8028 GB, free: 32.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.9352, allocations: 11.95 kB / 0.8028 GB, free: 32.73 MB / 410.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 7.487e-05/0.9353, allocations: 122.9 kB / 0.803 GB, free: 32.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.9353, allocations: 7.906 kB / 0.803 GB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007003/0.9361, allocations: 283 kB / 0.8032 GB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.9361, allocations: 192 / 0.8032 GB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.9361, allocations: 0 / 0.8032 GB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9361, allocations: 3.984 kB / 0.8032 GB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/0.9371, allocations: 0.5717 MB / 0.8038 GB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9371, allocations: 4 kB / 0.8038 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.9374, allocations: 43.97 kB / 0.8038 GB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.9374, allocations: 3.953 kB / 0.8038 GB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.9374, allocations: 7.984 kB / 0.8038 GB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9374, allocations: 0 / 0.8038 GB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9374, allocations: 4.562 kB / 0.8039 GB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.938, allocations: 356.5 kB / 0.8042 GB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.938, allocations: 89 kB / 0.8043 GB, free: 31.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.938, allocations: 4 kB / 0.8043 GB, free: 31.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.9383, allocations: 15.98 kB / 0.8043 GB, free: 31.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.9383, allocations: 7.984 kB / 0.8043 GB, free: 31.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.9384, allocations: 12.64 kB / 0.8043 GB, free: 31.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.195e-05/0.9384, allocations: 83.28 kB / 0.8044 GB, free: 31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9384, allocations: 0 / 0.8044 GB, free: 31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004187/0.9388, allocations: 75.98 kB / 0.8045 GB, free: 30.93 MB / 410.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 (18): * Single equations (assignments): 18 * 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.0005828/0.9394, allocations: 0.5157 MB / 0.805 GB, free: 30.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005193/0.9399, allocations: 195.7 kB / 0.8052 GB, free: 30.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.9399, allocations: 0 / 0.8052 GB, free: 30.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.9402, allocations: 103.8 kB / 0.8053 GB, free: 30.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.9405, allocations: 42.27 kB / 0.8053 GB, free: 30.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.9411, allocations: 310.1 kB / 0.8056 GB, free: 29.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.445e-05/0.9412, allocations: 0.7013 MB / 0.8063 GB, free: 29.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003585/0.9416, allocations: 55.02 kB / 0.8063 GB, free: 28.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.9417, allocations: 35.41 kB / 0.8064 GB, free: 28.94 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.9417, allocations: 0 / 0.8064 GB, free: 28.94 MB / 410.7 MB Notification: Performance of Templates: time 0.009867/0.9516, allocations: 9.012 MB / 0.8152 GB, free: 19.95 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)