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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008025/0.008025, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001597/0.001597, allocations: 194 kB / 16.67 MB, free: 5.969 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.577/1.577, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.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.001232/0.001232, allocations: 53.83 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.395/0.5056, allocations: 150.4 MB / 0.5113 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.5074, allocations: 1.52 MB / 0.5128 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.5075, allocations: 0 / 0.5128 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.5077, allocations: 20.52 kB / 0.5128 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009403/0.5086, allocations: 326.8 kB / 0.5131 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.5088, allocations: 62.58 kB / 0.5132 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.509, allocations: 78.23 kB / 0.5133 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.509, allocations: 2.781 kB / 0.5133 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.5092, allocations: 37.39 kB / 0.5133 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.5092, allocations: 32.03 kB / 0.5133 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.5093, allocations: 2.719 kB / 0.5133 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007078/0.51, allocations: 362.7 kB / 0.5137 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.51, allocations: 10.64 kB / 0.5137 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.51, allocations: 23.75 kB / 0.5137 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.5105, allocations: 294.7 kB / 0.514 GB, free: 3.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5106, allocations: 0 / 0.514 GB, free: 3.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5106, allocations: 0 / 0.514 GB, free: 3.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.5106, allocations: 3.938 kB / 0.514 GB, free: 3.773 MB / 398.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.0008327/0.5114, allocations: 435.6 kB / 0.5144 GB, free: 3.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5115, allocations: 10.06 kB / 0.5144 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/0.517, allocations: 458.5 kB / 0.5149 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.5172, allocations: 164.5 kB / 0.515 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.5172, allocations: 12.5 kB / 0.515 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.049e-05/0.5173, allocations: 10.47 kB / 0.515 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.518, allocations: 292.8 kB / 0.5153 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.518, allocations: 3.938 kB / 0.5153 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.5181, allocations: 10.38 kB / 0.5153 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5181, allocations: 0 / 0.5153 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007724/0.5189, allocations: 282.2 kB / 0.5156 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009663/0.5198, allocations: 417.8 kB / 0.516 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009268/0.5208, allocations: 204.6 kB / 0.5162 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.521, allocations: 71.98 kB / 0.5163 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.521, allocations: 6.516 kB / 0.5163 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.5211, allocations: 41.41 kB / 0.5163 GB, free: 1.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.5211, allocations: 2.281 kB / 0.5163 GB, free: 1.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00164/0.5227, allocations: 423.6 kB / 0.5167 GB, free: 1.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.5228, allocations: 57.56 kB / 0.5168 GB, free: 1.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.5228, allocations: 109.1 kB / 0.5169 GB, free: 1.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.5229, allocations: 29.7 kB / 0.5169 GB, free: 1.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.5229, allocations: 91.39 kB / 0.517 GB, free: 1.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.523, allocations: 55.91 kB / 0.517 GB, free: 1.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.5231, allocations: 41.05 kB / 0.5171 GB, free: 1.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5232, allocations: 321.6 kB / 0.5174 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.5234, allocations: 79.94 kB / 0.5175 GB, free: 1.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.5237, allocations: 113.3 kB / 0.5176 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.5242, allocations: 207.6 kB / 0.5178 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.5242, allocations: 0 / 0.5178 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006101/0.5249, allocations: 250.2 kB / 0.518 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5249, allocations: 5.719 kB / 0.518 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5249, allocations: 6.062 kB / 0.518 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.5249, allocations: 2.938 kB / 0.518 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.5253, allocations: 51.33 kB / 0.5181 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.5253, allocations: 6.375 kB / 0.5181 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.5256, allocations: 15.39 kB / 0.5181 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.5256, allocations: 7.125 kB / 0.5181 GB, free: 0.6289 MB / 398.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.0001051/0.5257, allocations: 135.4 kB / 0.5182 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.5258, allocations: 8.969 kB / 0.5182 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007471/0.5265, allocations: 267.6 kB / 0.5185 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5265, allocations: 5.938 kB / 0.5185 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5265, allocations: 0 / 0.5185 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5266, allocations: 192 / 0.5185 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.5277, allocations: 0.5824 MB / 0.5191 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5278, allocations: 3.984 kB / 0.5191 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.5281, allocations: 44.36 kB / 0.5191 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5281, allocations: 6.75 kB / 0.5191 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.5281, allocations: 10.55 kB / 0.5191 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5281, allocations: 0 / 0.5191 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5281, allocations: 2.375 kB / 0.5191 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.5288, allocations: 332.6 kB / 0.5195 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.5288, allocations: 83.8 kB / 0.5195 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.5289, allocations: 9.812 kB / 0.5195 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.5291, allocations: 10.27 kB / 0.5196 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.5292, allocations: 22.78 kB / 0.5196 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.5292, allocations: 7.781 kB / 0.5196 GB, free: 15.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.686e-05/0.5292, allocations: 84.53 kB / 0.5197 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5292, allocations: 0 / 0.5197 GB, free: 15.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003318/0.5296, allocations: 43.27 kB / 0.5197 GB, free: 15.33 MB / 414.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.0002306/0.5298, allocations: 136.2 kB / 0.5198 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005908/0.5304, allocations: 199.8 kB / 0.52 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5304, allocations: 0 / 0.52 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.5307, allocations: 100.8 kB / 0.5201 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.5312, allocations: 47.39 kB / 0.5202 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.5319, allocations: 268.1 kB / 0.5204 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.5322, allocations: 0.6941 MB / 0.5211 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.5325, allocations: 47.83 kB / 0.5211 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.5326, allocations: 40.72 kB / 0.5212 GB, free: 14.1 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5326, allocations: 0 / 0.5212 GB, free: 14.1 MB / 414.1 MB Notification: Performance of Templates: time 0.007665/0.5403, allocations: 3.062 MB / 0.5242 GB, free: 11.82 MB / 414.1 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)