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.01309/0.01309, allocations: 96.97 kB / 15.73 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.003084/0.003084, allocations: 194.5 kB / 16.68 MB, free: 5.957 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.646/1.646, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001993/0.001993, allocations: 46.53 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1442, allocations: 46.63 MB / 373.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4281/0.5724, allocations: 150.4 MB / 0.5113 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.5743, allocations: 1.522 MB / 0.5128 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.5743, allocations: 0 / 0.5128 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.5746, allocations: 28.39 kB / 0.5128 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.5757, allocations: 320.6 kB / 0.5131 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.576, allocations: 58.05 kB / 0.5132 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.5761, allocations: 78.22 kB / 0.5133 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.5762, allocations: 6.125 kB / 0.5133 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.5763, allocations: 32.14 kB / 0.5133 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.5764, allocations: 32.08 kB / 0.5133 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.5764, allocations: 2.875 kB / 0.5133 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007717/0.5772, allocations: 362.8 kB / 0.5137 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.5772, allocations: 11.14 kB / 0.5137 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.5772, allocations: 27.64 kB / 0.5137 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006534/0.5779, allocations: 295.5 kB / 0.514 GB, free: 3.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5779, allocations: 0 / 0.514 GB, free: 3.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5779, allocations: 2.719 kB / 0.514 GB, free: 3.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.5779, allocations: 0 / 0.514 GB, free: 3.785 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.001015/0.579, allocations: 446.9 kB / 0.5144 GB, free: 3.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.579, allocations: 10.22 kB / 0.5144 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006021/0.585, allocations: 453.6 kB / 0.5149 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.5852, allocations: 163.1 kB / 0.515 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.5852, allocations: 10.44 kB / 0.515 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.5853, allocations: 5.875 kB / 0.515 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008097/0.5862, allocations: 306.1 kB / 0.5153 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.5862, allocations: 10.02 kB / 0.5153 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.5862, allocations: 0 / 0.5153 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.5863, allocations: 2.875 kB / 0.5153 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008151/0.5871, allocations: 275.5 kB / 0.5156 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.5881, allocations: 427.1 kB / 0.516 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009891/0.5891, allocations: 200.4 kB / 0.5162 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.5893, allocations: 78.03 kB / 0.5163 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.5894, allocations: 6.078 kB / 0.5163 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.5894, allocations: 36.41 kB / 0.5163 GB, free: 2.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/0.5894, allocations: 0 / 0.5163 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001774/0.5912, allocations: 429.1 kB / 0.5167 GB, free: 1.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.5912, allocations: 54.16 kB / 0.5168 GB, free: 1.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.5914, allocations: 102.8 kB / 0.5169 GB, free: 1.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.5914, allocations: 35.59 kB / 0.5169 GB, free: 1.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.5915, allocations: 92.61 kB / 0.517 GB, free: 1.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.5915, allocations: 59.27 kB / 0.5171 GB, free: 1.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.5916, allocations: 44.53 kB / 0.5171 GB, free: 1.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5918, allocations: 317.7 kB / 0.5174 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.592, allocations: 77.41 kB / 0.5175 GB, free: 1.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.5924, allocations: 116.9 kB / 0.5176 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.5929, allocations: 204.7 kB / 0.5178 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.593, allocations: 0 / 0.5178 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006916/0.5937, allocations: 250.3 kB / 0.518 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.5937, allocations: 4.719 kB / 0.518 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5937, allocations: 6.594 kB / 0.518 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.5937, allocations: 0 / 0.518 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.5941, allocations: 53.86 kB / 0.5181 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.5941, allocations: 2.438 kB / 0.5181 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.5944, allocations: 23.3 kB / 0.5181 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.5944, allocations: 11.67 kB / 0.5181 GB, free: 0.6406 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.0001141/0.5945, allocations: 130.6 kB / 0.5182 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.5946, allocations: 6.734 kB / 0.5183 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007868/0.5954, allocations: 278.2 kB / 0.5185 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5954, allocations: 1.875 kB / 0.5185 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5954, allocations: 4 kB / 0.5185 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5954, allocations: 0 / 0.5185 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.5967, allocations: 0.5821 MB / 0.5191 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5967, allocations: 2.531 kB / 0.5191 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.5971, allocations: 42.58 kB / 0.5191 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.5971, allocations: 5.969 kB / 0.5191 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.5971, allocations: 2.625 kB / 0.5191 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.5972, allocations: 2.812 kB / 0.5191 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5972, allocations: 0 / 0.5191 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.5979, allocations: 340.5 kB / 0.5195 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.5979, allocations: 87.83 kB / 0.5196 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.598, allocations: 6.094 kB / 0.5196 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.5982, allocations: 13.23 kB / 0.5196 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.5983, allocations: 19.7 kB / 0.5196 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.5983, allocations: 11.42 kB / 0.5196 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.15e-05/0.5984, allocations: 80.09 kB / 0.5197 GB, free: 15.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5984, allocations: 0 / 0.5197 GB, free: 15.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.5987, allocations: 43.16 kB / 0.5197 GB, free: 15.34 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.000223/0.599, allocations: 134.5 kB / 0.5198 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.5996, allocations: 193.9 kB / 0.52 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5996, allocations: 0 / 0.52 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.5999, allocations: 109.3 kB / 0.5201 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.6004, allocations: 36.44 kB / 0.5202 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.6013, allocations: 275.8 kB / 0.5204 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.6015, allocations: 0.6919 MB / 0.5211 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002998/0.6019, allocations: 57 kB / 0.5212 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.602, allocations: 33.3 kB / 0.5212 GB, free: 14.11 MB / 414.1 MB Notification: Performance of SimCode: time 2.034e-06/0.602, allocations: 0 / 0.5212 GB, free: 14.11 MB / 414.1 MB Notification: Performance of Templates: time 0.006448/0.6085, allocations: 3.067 MB / 0.5242 GB, free: 11.79 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)