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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001353/0.001353, allocations: 196 kB / 18 MB, free: 5.105 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.541/1.541, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.001164/0.001164, allocations: 59.91 kB / 327.8 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1013, allocations: 46.61 MB / 374.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4409/0.5422, allocations: 150.4 MB / 0.5126 GB, free: 8.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.544, allocations: 1.524 MB / 0.5141 GB, free: 7.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.544, allocations: 0 / 0.5141 GB, free: 7.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.5443, allocations: 33.5 kB / 0.5141 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008411/0.5451, allocations: 322.3 kB / 0.5144 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.5453, allocations: 55.75 kB / 0.5145 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.5454, allocations: 75.59 kB / 0.5145 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.5455, allocations: 8 kB / 0.5146 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.5456, allocations: 37.48 kB / 0.5146 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.5456, allocations: 31.84 kB / 0.5146 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.5457, allocations: 0 / 0.5146 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006507/0.5463, allocations: 367.5 kB / 0.515 GB, free: 6.336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.5463, allocations: 0 / 0.515 GB, free: 6.336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.5464, allocations: 31.86 kB / 0.515 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.5468, allocations: 291 kB / 0.5153 GB, free: 6.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5468, allocations: 0 / 0.5153 GB, free: 6.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5469, allocations: 4 kB / 0.5153 GB, free: 6.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.5469, allocations: 0 / 0.5153 GB, free: 6.02 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.0008305/0.5477, allocations: 435.3 kB / 0.5157 GB, free: 5.547 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.5477, allocations: 12.03 kB / 0.5157 GB, free: 5.535 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005833/0.5536, allocations: 457.3 kB / 0.5161 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.5537, allocations: 176.4 kB / 0.5163 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.5537, allocations: 11.94 kB / 0.5163 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.5538, allocations: 4 kB / 0.5163 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000758/0.5546, allocations: 293.3 kB / 0.5166 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5546, allocations: 0 / 0.5166 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-05/0.5547, allocations: 8 kB / 0.5166 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5547, allocations: 0 / 0.5166 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.5555, allocations: 283.6 kB / 0.5169 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009862/0.5565, allocations: 428.8 kB / 0.5173 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.5575, allocations: 202.4 kB / 0.5175 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.5577, allocations: 68.83 kB / 0.5176 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.5577, allocations: 3.984 kB / 0.5176 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.5578, allocations: 38.56 kB / 0.5176 GB, free: 3.488 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.5578, allocations: 0 / 0.5176 GB, free: 3.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001755/0.5595, allocations: 421.7 kB / 0.518 GB, free: 3.074 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.5596, allocations: 59.34 kB / 0.5181 GB, free: 3.004 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.5597, allocations: 105.8 kB / 0.5182 GB, free: 2.891 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.5597, allocations: 29.7 kB / 0.5182 GB, free: 2.855 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.5598, allocations: 92.56 kB / 0.5183 GB, free: 2.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.5598, allocations: 59.19 kB / 0.5183 GB, free: 2.703 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.5599, allocations: 45.64 kB / 0.5184 GB, free: 2.652 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.56, allocations: 318.8 kB / 0.5187 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.5603, allocations: 79.94 kB / 0.5188 GB, free: 2.254 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.5606, allocations: 116.2 kB / 0.5189 GB, free: 2.125 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.5612, allocations: 204.1 kB / 0.5191 GB, free: 1.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5612, allocations: 4 kB / 0.5191 GB, free: 1.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000665/0.5619, allocations: 249.3 kB / 0.5193 GB, free: 1.656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.5619, allocations: 4.781 kB / 0.5193 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5619, allocations: 4 kB / 0.5193 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5619, allocations: 0 / 0.5193 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.5623, allocations: 56.02 kB / 0.5194 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.5623, allocations: 4 kB / 0.5194 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.5626, allocations: 11.98 kB / 0.5194 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.5626, allocations: 12 kB / 0.5194 GB, free: 1.566 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.0001163/0.5628, allocations: 129.7 kB / 0.5195 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.5628, allocations: 7.906 kB / 0.5195 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008264/0.5636, allocations: 283.1 kB / 0.5198 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5637, allocations: 0 / 0.5198 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5637, allocations: 0 / 0.5198 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5637, allocations: 3.984 kB / 0.5198 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.5649, allocations: 0.5779 MB / 0.5204 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.565, allocations: 0 / 0.5204 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.5653, allocations: 51.83 kB / 0.5204 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/0.5653, allocations: 4 kB / 0.5204 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.5653, allocations: 7.984 kB / 0.5204 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5654, allocations: 4 kB / 0.5204 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5654, allocations: 4.062 kB / 0.5204 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/0.566, allocations: 329.5 kB / 0.5207 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.5661, allocations: 85.02 kB / 0.5208 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.5661, allocations: 11.94 kB / 0.5208 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.5664, allocations: 11.98 kB / 0.5208 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.5665, allocations: 19.91 kB / 0.5209 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.5665, allocations: 8 kB / 0.5209 GB, free: 15.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.882e-05/0.5666, allocations: 87.27 kB / 0.521 GB, free: 15.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5666, allocations: 0 / 0.521 GB, free: 15.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.5669, allocations: 40 kB / 0.521 GB, free: 15.81 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.0002377/0.5671, allocations: 131.2 kB / 0.5211 GB, free: 15.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006519/0.5678, allocations: 195.7 kB / 0.5213 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5678, allocations: 4 kB / 0.5213 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.5681, allocations: 99.88 kB / 0.5214 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.5686, allocations: 39.91 kB / 0.5214 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.5695, allocations: 270.9 kB / 0.5217 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.5697, allocations: 0.6928 MB / 0.5224 GB, free: 14.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002742/0.57, allocations: 52.77 kB / 0.5224 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.5701, allocations: 39.39 kB / 0.5225 GB, free: 14.24 MB / 462.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5701, allocations: 4 kB / 0.5225 GB, free: 14.23 MB / 462.1 MB Notification: Performance of Templates: time 0.006329/0.5765, allocations: 3.115 MB / 0.5255 GB, free: 11.12 MB / 462.1 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)