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.872/0.872, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001685/0.001684, allocations: 147.5 kB / 149.1 MB, free: 0.9727 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.149e-05, allocations: 0 / 180.2 MB, free: 17.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06073/0.06078, allocations: 25.17 MB / 205.4 MB, free: 8.449 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8485/0.9093, allocations: 290.7 MB / 496.1 MB, free: 20.61 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.9097, allocations: 60.23 kB / 496.2 MB, free: 20.58 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2265/1.136, allocations: 25.96 MB / 0.5099 GB, free: 70.44 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.136, allocations: 5.188 kB / 0.5099 GB, free: 70.44 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/1.136, allocations: 5.25 kB / 0.5099 GB, free: 70.43 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.0009539/1.137, allocations: 434.6 kB / 0.5103 GB, free: 70.07 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/1.137, allocations: 9.594 kB / 0.5103 GB, free: 70.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/1.137, allocations: 8.219 kB / 0.5104 GB, free: 70.07 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.224e-05/1.138, allocations: 169.2 kB / 0.5105 GB, free: 69.87 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/1.138, allocations: 2.531 kB / 0.5105 GB, free: 69.87 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/1.138, allocations: 8.906 kB / 0.5105 GB, free: 69.87 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/1.138, allocations: 102.3 kB / 0.5106 GB, free: 69.84 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.138, allocations: 0 / 0.5106 GB, free: 69.84 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/1.138, allocations: 8.953 kB / 0.5106 GB, free: 69.84 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.138, allocations: 1.312 kB / 0.5106 GB, free: 69.84 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/1.138, allocations: 142.4 kB / 0.5108 GB, free: 69.83 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/1.139, allocations: 369.8 kB / 0.5111 GB, free: 69.56 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/1.139, allocations: 141.9 kB / 0.5113 GB, free: 69.54 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/1.14, allocations: 36.48 kB / 0.5113 GB, free: 69.53 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009973/1.141, allocations: 1.026 MB / 0.5123 GB, free: 68.5 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/1.141, allocations: 32.78 kB / 0.5123 GB, free: 68.46 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/1.141, allocations: 3.031 kB / 0.5123 GB, free: 68.46 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.001054/1.142, allocations: 249.7 kB / 0.5126 GB, free: 68.41 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/1.142, allocations: 52.78 kB / 0.5126 GB, free: 68.35 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.274e-05/1.142, allocations: 97.31 kB / 0.5127 GB, free: 68.26 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/1.142, allocations: 29.89 kB / 0.5127 GB, free: 68.23 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/1.142, allocations: 95.11 kB / 0.5128 GB, free: 68.14 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/1.142, allocations: 60 kB / 0.5129 GB, free: 68.11 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/1.142, allocations: 8.5 kB / 0.5129 GB, free: 68.11 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.146e-05/1.142, allocations: 315.7 kB / 0.5132 GB, free: 67.79 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/1.142, allocations: 42.38 kB / 0.5132 GB, free: 67.79 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.922e-05/1.142, allocations: 81.58 kB / 0.5133 GB, free: 67.75 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.292e-05/1.142, allocations: 46.39 kB / 0.5134 GB, free: 67.75 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/1.142, allocations: 0 / 0.5134 GB, free: 67.75 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002888/1.143, allocations: 164.2 kB / 0.5135 GB, free: 67.71 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.143, allocations: 6.219 kB / 0.5135 GB, free: 67.71 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.143, allocations: 0 / 0.5135 GB, free: 67.71 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.143, allocations: 3.938 kB / 0.5135 GB, free: 67.71 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/1.143, allocations: 51.11 kB / 0.5136 GB, free: 67.71 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/1.143, allocations: 2.219 kB / 0.5136 GB, free: 67.71 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/1.143, allocations: 16.56 kB / 0.5136 GB, free: 67.71 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/1.143, allocations: 9.562 kB / 0.5136 GB, free: 67.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 () * 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.282e-05/1.143, allocations: 111.8 kB / 0.5137 GB, free: 67.6 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/1.143, allocations: 11.83 kB / 0.5137 GB, free: 67.6 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/1.144, allocations: 187.7 kB / 0.5139 GB, free: 67.56 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/1.144, allocations: 3.453 kB / 0.5139 GB, free: 67.56 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.144, allocations: 5.203 kB / 0.5139 GB, free: 67.55 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.144, allocations: 2.25 kB / 0.5139 GB, free: 67.55 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007391/1.144, allocations: 472.9 kB / 0.5144 GB, free: 67.24 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.144, allocations: 6.359 kB / 0.5144 GB, free: 67.24 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/1.145, allocations: 39.22 kB / 0.5144 GB, free: 67.24 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/1.145, allocations: 1.219 kB / 0.5144 GB, free: 67.24 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/1.145, allocations: 10.81 kB / 0.5144 GB, free: 67.24 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.145, allocations: 1.406 kB / 0.5144 GB, free: 67.24 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.145, allocations: 6.625 kB / 0.5144 GB, free: 67.24 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/1.145, allocations: 266.5 kB / 0.5147 GB, free: 67.05 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/1.145, allocations: 86.17 kB / 0.5148 GB, free: 66.95 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/1.145, allocations: 6.031 kB / 0.5148 GB, free: 66.95 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/1.145, allocations: 11.34 kB / 0.5148 GB, free: 66.95 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/1.145, allocations: 13.64 kB / 0.5148 GB, free: 66.95 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/1.145, allocations: 11.77 kB / 0.5148 GB, free: 66.95 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.219e-05/1.145, allocations: 78.78 kB / 0.5149 GB, free: 66.88 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.145, allocations: 2.438 kB / 0.5149 GB, free: 66.88 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007977/1.146, allocations: 118.3 kB / 0.515 GB, free: 66.86 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.00107/1.147, allocations: 0.6088 MB / 0.5156 GB, free: 66.72 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002777/1.148, allocations: 115.1 kB / 0.5157 GB, free: 66.72 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.148, allocations: 0 / 0.5157 GB, free: 66.72 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/1.148, allocations: 60.97 kB / 0.5157 GB, free: 66.72 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/1.148, allocations: 33.61 kB / 0.5158 GB, free: 66.72 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/1.149, allocations: 147.9 kB / 0.5159 GB, free: 66.63 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/1.149, allocations: 0.6941 MB / 0.5166 GB, free: 65.93 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.000222/1.149, allocations: 38.61 kB / 0.5166 GB, free: 65.93 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/1.149, allocations: 26.28 kB / 0.5167 GB, free: 65.92 MB / 234.7 MB Notification: Performance of SimCode: time 4.31e-07/1.149, allocations: 2.5 kB / 0.5167 GB, free: 65.92 MB / 234.7 MB Notification: Performance of Templates: time 0.01571/1.165, allocations: 11.18 MB / 0.5276 GB, free: 64.75 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)