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.781/0.781, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00168/0.00168, allocations: 163.3 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.713e-05, allocations: 3.938 kB / 173.8 MB, free: 22.81 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06759/0.06763, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8594/0.9271, allocations: 290.1 MB / 489.1 MB, free: 37.43 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.9276, allocations: 62.22 kB / 489.2 MB, free: 37.39 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05402/0.9816, allocations: 25.46 MB / 0.5026 GB, free: 14.55 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.9816, allocations: 0 / 0.5026 GB, free: 14.55 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.9817, allocations: 0 / 0.5026 GB, free: 14.55 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.0009067/0.9826, allocations: 430.2 kB / 0.503 GB, free: 14.09 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.9826, allocations: 8.031 kB / 0.503 GB, free: 14.08 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.9827, allocations: 10.5 kB / 0.503 GB, free: 14.07 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.9828, allocations: 175 kB / 0.5032 GB, free: 13.86 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.9829, allocations: 3.984 kB / 0.5032 GB, free: 13.86 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.9829, allocations: 4 kB / 0.5032 GB, free: 13.86 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000248/0.9832, allocations: 131.9 kB / 0.5033 GB, free: 13.73 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.9833, allocations: 93.58 kB / 0.5034 GB, free: 13.63 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.9833, allocations: 0 / 0.5034 GB, free: 13.63 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.9834, allocations: 4 kB / 0.5034 GB, free: 13.62 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.9834, allocations: 4 kB / 0.5034 GB, free: 13.62 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.9839, allocations: 341.1 kB / 0.5037 GB, free: 13.25 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006369/0.9846, allocations: 138.5 kB / 0.5038 GB, free: 13.11 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.9846, allocations: 29.36 kB / 0.5039 GB, free: 13.07 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009555/0.9856, allocations: 1.015 MB / 0.5049 GB, free: 11.88 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.9856, allocations: 46.44 kB / 0.5049 GB, free: 11.83 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.745e-06/0.9857, allocations: 0 / 0.5049 GB, free: 11.83 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.003964/0.9896, allocations: 1.069 MB / 0.5059 GB, free: 10.75 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.9897, allocations: 59.34 kB / 0.506 GB, free: 10.68 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.552e-05/0.9898, allocations: 93 kB / 0.5061 GB, free: 10.59 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.9898, allocations: 33.69 kB / 0.5061 GB, free: 10.55 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.9898, allocations: 91.89 kB / 0.5062 GB, free: 10.45 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.9899, allocations: 55.2 kB / 0.5063 GB, free: 10.4 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.9899, allocations: 0 / 0.5063 GB, free: 10.4 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.99, allocations: 322.8 kB / 0.5066 GB, free: 10.07 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.99, allocations: 32.38 kB / 0.5066 GB, free: 10.04 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.723e-05/0.9901, allocations: 70.05 kB / 0.5067 GB, free: 9.957 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.9916, allocations: 486.7 kB / 0.5071 GB, free: 9.484 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9916, allocations: 0 / 0.5071 GB, free: 9.484 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001661/0.9933, allocations: 0.5634 MB / 0.5077 GB, free: 8.914 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.9933, allocations: 8 kB / 0.5077 GB, free: 8.906 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.9933, allocations: 0 / 0.5077 GB, free: 8.906 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.9934, allocations: 4.125 kB / 0.5077 GB, free: 8.902 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.9936, allocations: 47.95 kB / 0.5077 GB, free: 8.855 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.9936, allocations: 4 kB / 0.5077 GB, free: 8.852 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.9938, allocations: 7.984 kB / 0.5078 GB, free: 8.844 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.9938, allocations: 11.94 kB / 0.5078 GB, free: 8.832 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 () * 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.427e-05/0.9939, allocations: 105 kB / 0.5079 GB, free: 8.723 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.9939, allocations: 15.84 kB / 0.5079 GB, free: 8.707 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.9957, allocations: 0.5912 MB / 0.5085 GB, free: 8.113 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.9957, allocations: 4 kB / 0.5085 GB, free: 8.109 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9958, allocations: 0 / 0.5085 GB, free: 8.109 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.9958, allocations: 0 / 0.5085 GB, free: 8.109 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.9979, allocations: 0.8476 MB / 0.5093 GB, free: 7.211 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9979, allocations: 3.984 kB / 0.5093 GB, free: 7.207 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.9981, allocations: 39.97 kB / 0.5093 GB, free: 7.168 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.9981, allocations: 0 / 0.5093 GB, free: 7.168 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.9981, allocations: 8 kB / 0.5093 GB, free: 7.16 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.9981, allocations: 7.875 kB / 0.5093 GB, free: 7.152 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.9982, allocations: 4 kB / 0.5094 GB, free: 7.148 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.9998, allocations: 0.6743 MB / 0.51 GB, free: 6.441 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.9998, allocations: 81.11 kB / 0.5101 GB, free: 6.344 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.9999, allocations: 0 / 0.5101 GB, free: 6.344 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/1, allocations: 12.17 kB / 0.5101 GB, free: 6.332 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/1, allocations: 19.94 kB / 0.5101 GB, free: 6.312 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/1, allocations: 11.97 kB / 0.5101 GB, free: 6.301 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.943e-05/1, allocations: 79.28 kB / 0.5102 GB, free: 6.223 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1, allocations: 0 / 0.5102 GB, free: 6.223 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005493/1.001, allocations: 103.9 kB / 0.5103 GB, free: 6.121 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 () * 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.001018/1.002, allocations: 0.6733 MB / 0.511 GB, free: 5.441 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002225/1.002, allocations: 115.8 kB / 0.5111 GB, free: 5.328 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.002, allocations: 3.938 kB / 0.5111 GB, free: 5.324 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 6.736e-05/1.002, allocations: 52.91 kB / 0.5111 GB, free: 5.273 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/1.002, allocations: 31.95 kB / 0.5112 GB, free: 5.242 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/1.003, allocations: 134.4 kB / 0.5113 GB, free: 5.082 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/1.003, allocations: 0.6966 MB / 0.512 GB, free: 4.359 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.000221/1.003, allocations: 40.75 kB / 0.512 GB, free: 4.32 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/1.003, allocations: 19.44 kB / 0.512 GB, free: 4.301 MB / 234.7 MB Notification: Performance of SimCode: time 2.61e-07/1.003, allocations: 0 / 0.512 GB, free: 4.301 MB / 234.7 MB Notification: Performance of Templates: time 0.1444/1.148, allocations: 6.052 MB / 0.5179 GB, free: 68.91 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)