Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007889/0.007889, allocations: 101.8 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 195.9 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 55.92 kB / 326.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09505, allocations: 46.61 MB / 373.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4468/0.5419, allocations: 150.4 MB / 0.5113 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.544, allocations: 1.526 MB / 0.5128 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.614e-05/0.5441, allocations: 0 / 0.5128 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.5445, allocations: 27.89 kB / 0.5128 GB, free: 7.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.5461, allocations: 318.3 kB / 0.5131 GB, free: 6.867 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.5465, allocations: 63.73 kB / 0.5132 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.5467, allocations: 71.59 kB / 0.5133 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.495e-05/0.5468, allocations: 4 kB / 0.5133 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.547, allocations: 41.48 kB / 0.5133 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.5472, allocations: 27.84 kB / 0.5133 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.5472, allocations: 4 kB / 0.5133 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.5483, allocations: 359.5 kB / 0.5137 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.5483, allocations: 4 kB / 0.5137 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.5483, allocations: 35.86 kB / 0.5137 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.5489, allocations: 291 kB / 0.514 GB, free: 5.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.5489, allocations: 7.984 kB / 0.514 GB, free: 5.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.5489, allocations: 0 / 0.514 GB, free: 5.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.5489, allocations: 0 / 0.514 GB, free: 5.98 MB / 446.1 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.0009627/0.5499, allocations: 427.3 kB / 0.5144 GB, free: 5.516 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.5499, allocations: 12.03 kB / 0.5144 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005978/0.5559, allocations: 469.2 kB / 0.5149 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.5561, allocations: 168.5 kB / 0.515 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.5561, allocations: 11.94 kB / 0.515 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.5562, allocations: 4 kB / 0.515 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00083/0.557, allocations: 293.3 kB / 0.5153 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5571, allocations: 8 kB / 0.5153 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.5571, allocations: 0 / 0.5153 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.5571, allocations: 0 / 0.5153 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008482/0.558, allocations: 283.6 kB / 0.5156 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.5591, allocations: 428.8 kB / 0.516 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.5601, allocations: 198.4 kB / 0.5162 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.5603, allocations: 72.81 kB / 0.5163 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.5604, allocations: 4 kB / 0.5163 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.5604, allocations: 38.48 kB / 0.5163 GB, free: 3.453 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.5604, allocations: 4 kB / 0.5163 GB, free: 3.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001853/0.5623, allocations: 419.3 kB / 0.5167 GB, free: 3.035 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.5624, allocations: 51.41 kB / 0.5168 GB, free: 2.973 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.859e-05/0.5625, allocations: 109.8 kB / 0.5169 GB, free: 2.855 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.5625, allocations: 29.7 kB / 0.5169 GB, free: 2.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.5626, allocations: 92.52 kB / 0.517 GB, free: 2.727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.5626, allocations: 59.19 kB / 0.517 GB, free: 2.668 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.5627, allocations: 45.69 kB / 0.5171 GB, free: 2.617 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5629, allocations: 326.8 kB / 0.5174 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.5631, allocations: 75.94 kB / 0.5175 GB, free: 2.215 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.5635, allocations: 112.2 kB / 0.5176 GB, free: 2.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/0.564, allocations: 211.3 kB / 0.5178 GB, free: 1.871 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5641, allocations: 0 / 0.5178 GB, free: 1.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00073/0.5648, allocations: 241.3 kB / 0.518 GB, free: 1.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.5648, allocations: 4 kB / 0.518 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.5648, allocations: 12.11 kB / 0.518 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5649, allocations: 0 / 0.518 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.5652, allocations: 55.89 kB / 0.5181 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.5653, allocations: 4 kB / 0.5181 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.5655, allocations: 11.98 kB / 0.5181 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.5656, allocations: 12.88 kB / 0.5181 GB, free: 1.531 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.5657, allocations: 125.7 kB / 0.5182 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.5657, allocations: 11.84 kB / 0.5182 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008226/0.5666, allocations: 282.3 kB / 0.5185 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5666, allocations: 0 / 0.5185 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5666, allocations: 2.875 kB / 0.5185 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.5666, allocations: 0 / 0.5185 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.568, allocations: 0.5751 MB / 0.5191 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.568, allocations: 3.938 kB / 0.5191 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.5684, allocations: 51.89 kB / 0.5191 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.5684, allocations: 4 kB / 0.5191 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.5685, allocations: 12.05 kB / 0.5191 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5685, allocations: 0 / 0.5191 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.5685, allocations: 0 / 0.5191 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/0.5692, allocations: 341.4 kB / 0.5195 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.5693, allocations: 85.02 kB / 0.5195 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.5693, allocations: 4 kB / 0.5195 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.5696, allocations: 11.98 kB / 0.5196 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.5696, allocations: 15.92 kB / 0.5196 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.5697, allocations: 11.98 kB / 0.5196 GB, free: 15.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.065e-05/0.5697, allocations: 83.28 kB / 0.5197 GB, free: 15.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5697, allocations: 0 / 0.5197 GB, free: 15.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003324/0.5701, allocations: 48 kB / 0.5197 GB, free: 15.77 MB / 462.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000206/0.5703, allocations: 123.1 kB / 0.5198 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006879/0.571, allocations: 199.7 kB / 0.52 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.571, allocations: 0 / 0.52 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.5713, allocations: 108.2 kB / 0.5201 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.5717, allocations: 33.98 kB / 0.5201 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/0.5726, allocations: 274.9 kB / 0.5204 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.5729, allocations: 0.6889 MB / 0.5211 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003466/0.5732, allocations: 60.73 kB / 0.5211 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.5734, allocations: 35.41 kB / 0.5212 GB, free: 14.2 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5734, allocations: 0 / 0.5212 GB, free: 14.2 MB / 462.1 MB Notification: Performance of Templates: time 0.006577/0.58, allocations: 3.116 MB / 0.5242 GB, free: 11.09 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)