Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8652/0.8652, allocations: 110.9 MB / 125.9 MB, free: 6.207 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001949/0.001949, allocations: 146.5 kB / 151.9 MB, free: 4.977 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003126, allocations: 8 kB / 184.9 MB, free: 3.918 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1703, allocations: 25.15 MB / 210 MB, free: 29.7 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6469/0.8173, allocations: 290.8 MB / 0.4891 GB, free: 66.21 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001668/0.8175, allocations: 59.97 kB / 0.4892 GB, free: 66.15 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05498/0.8725, allocations: 26.07 MB / 0.5147 GB, free: 40.05 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.8725, allocations: 0 / 0.5147 GB, free: 40.05 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.8726, allocations: 0 / 0.5147 GB, free: 40.05 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.0007887/0.8734, allocations: 431.1 kB / 0.5151 GB, free: 39.58 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.8734, allocations: 12.03 kB / 0.5151 GB, free: 39.57 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.8735, allocations: 11.91 kB / 0.5151 GB, free: 39.55 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.089e-05/0.8735, allocations: 178.9 kB / 0.5153 GB, free: 39.34 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.8736, allocations: 8 kB / 0.5153 GB, free: 39.33 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.8736, allocations: 8 kB / 0.5153 GB, free: 39.32 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.8739, allocations: 111.5 kB / 0.5154 GB, free: 39.21 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.8739, allocations: 3.938 kB / 0.5154 GB, free: 39.21 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.8739, allocations: 0 / 0.5154 GB, free: 39.21 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.8739, allocations: 4 kB / 0.5154 GB, free: 39.2 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.8742, allocations: 159.8 kB / 0.5155 GB, free: 39.05 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.8748, allocations: 360.7 kB / 0.5159 GB, free: 38.64 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.8756, allocations: 167.2 kB / 0.516 GB, free: 38.47 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009355/0.8765, allocations: 1.023 MB / 0.517 GB, free: 37.28 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.8766, allocations: 34.94 kB / 0.5171 GB, free: 37.23 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.8766, allocations: 0 / 0.5171 GB, free: 37.23 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0015/0.8781, allocations: 322 kB / 0.5174 GB, free: 36.91 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.8781, allocations: 55.41 kB / 0.5174 GB, free: 36.85 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.493e-05/0.8782, allocations: 96.98 kB / 0.5175 GB, free: 36.75 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.8782, allocations: 29.7 kB / 0.5176 GB, free: 36.71 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.8782, allocations: 99.83 kB / 0.5176 GB, free: 36.61 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.8783, allocations: 55.11 kB / 0.5177 GB, free: 36.55 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.8783, allocations: 4 kB / 0.5177 GB, free: 36.55 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.8784, allocations: 322.8 kB / 0.518 GB, free: 36.23 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.8785, allocations: 52.33 kB / 0.5181 GB, free: 36.17 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.8787, allocations: 96.98 kB / 0.5182 GB, free: 36.06 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.8789, allocations: 57.84 kB / 0.5182 GB, free: 36.01 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.8789, allocations: 0 / 0.5182 GB, free: 36.01 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004303/0.8794, allocations: 197.3 kB / 0.5184 GB, free: 35.81 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.8794, allocations: 7.984 kB / 0.5184 GB, free: 35.8 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8794, allocations: 4.188 kB / 0.5184 GB, free: 35.8 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.8794, allocations: 0 / 0.5184 GB, free: 35.8 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.8796, allocations: 51.91 kB / 0.5185 GB, free: 35.75 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.8797, allocations: 0 / 0.5185 GB, free: 35.75 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.8798, allocations: 20.09 kB / 0.5185 GB, free: 35.73 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.8798, allocations: 11.98 kB / 0.5185 GB, free: 35.71 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 7.435e-05/0.8799, allocations: 116.8 kB / 0.5186 GB, free: 35.59 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.88, allocations: 11.86 kB / 0.5186 GB, free: 35.58 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005507/0.8805, allocations: 232.1 kB / 0.5188 GB, free: 35.35 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.8805, allocations: 4 kB / 0.5188 GB, free: 35.35 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8805, allocations: 0 / 0.5188 GB, free: 35.35 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8806, allocations: 0 / 0.5188 GB, free: 35.35 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008366/0.8814, allocations: 0.4891 MB / 0.5193 GB, free: 34.8 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.8814, allocations: 3.984 kB / 0.5193 GB, free: 34.79 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.8816, allocations: 43.84 kB / 0.5194 GB, free: 34.75 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.8816, allocations: 4 kB / 0.5194 GB, free: 34.75 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.8816, allocations: 4.062 kB / 0.5194 GB, free: 34.74 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.8816, allocations: 8 kB / 0.5194 GB, free: 34.73 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8817, allocations: 0 / 0.5194 GB, free: 34.73 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.8821, allocations: 301.3 kB / 0.5197 GB, free: 34.41 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.8821, allocations: 85.02 kB / 0.5197 GB, free: 34.3 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.8821, allocations: 7.984 kB / 0.5198 GB, free: 34.3 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.8823, allocations: 8 kB / 0.5198 GB, free: 34.29 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.8823, allocations: 19.94 kB / 0.5198 GB, free: 34.27 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.8824, allocations: 7.984 kB / 0.5198 GB, free: 34.26 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.288e-05/0.8824, allocations: 83.28 kB / 0.5199 GB, free: 34.18 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8824, allocations: 0 / 0.5199 GB, free: 34.18 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006018/0.883, allocations: 115.9 kB / 0.52 GB, free: 34.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.0008397/0.8838, allocations: 0.6064 MB / 0.5206 GB, free: 33.46 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004172/0.8843, allocations: 143.8 kB / 0.5207 GB, free: 33.32 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8843, allocations: 0 / 0.5207 GB, free: 33.32 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.8845, allocations: 71.89 kB / 0.5208 GB, free: 33.25 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.8848, allocations: 41.75 kB / 0.5208 GB, free: 33.21 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.8854, allocations: 279.1 kB / 0.5211 GB, free: 32.91 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.8856, allocations: 0.697 MB / 0.5218 GB, free: 32.18 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.8858, allocations: 44.56 kB / 0.5218 GB, free: 32.14 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.8859, allocations: 23.42 kB / 0.5218 GB, free: 32.12 MB / 234.7 MB Notification: Performance of SimCode: time 3.81e-07/0.8859, allocations: 0 / 0.5218 GB, free: 32.12 MB / 234.7 MB Notification: Performance of Templates: time 0.01142/0.8973, allocations: 9.682 MB / 0.5313 GB, free: 22.43 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.1_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)