Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001589/0.001588, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00156/0.00156, allocations: 192.8 kB / 16.13 MB, free: 6.664 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.361/1.361, allocations: 205.1 MB / 222 MB, free: 4.758 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.001197/0.001197, allocations: 47.92 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2266, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3421/0.5687, allocations: 148.2 MB / 472.9 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.5702, allocations: 1.578 MB / 474.4 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.5703, allocations: 0 / 474.4 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.5705, allocations: 23.42 kB / 474.5 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000753/0.5713, allocations: 268 kB / 474.7 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.5714, allocations: 51.19 kB / 474.8 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.5715, allocations: 76.42 kB / 474.8 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.5716, allocations: 6.547 kB / 474.8 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.5717, allocations: 34.22 kB / 474.9 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.5717, allocations: 29.17 kB / 474.9 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.5717, allocations: 4 kB / 474.9 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005923/0.5723, allocations: 359.3 kB / 475.3 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.5723, allocations: 11.77 kB / 475.3 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.5724, allocations: 29.11 kB / 475.3 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.5728, allocations: 304.5 kB / 475.6 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5728, allocations: 0 / 475.6 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.5728, allocations: 0 / 475.6 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.5728, allocations: 0 / 475.6 MB, free: 0.8008 MB / 382.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.0008524/0.5737, allocations: 437.7 kB / 476 MB, free: 16.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.5737, allocations: 10.88 kB / 476 MB, free: 16.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006142/0.5799, allocations: 452.2 kB / 476.5 MB, free: 16.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.58, allocations: 171.1 kB / 476.6 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.5801, allocations: 11.28 kB / 476.7 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.5802, allocations: 2.531 kB / 476.7 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/0.5809, allocations: 307.9 kB / 477 MB, free: 16.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.581, allocations: 0 / 477 MB, free: 16.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.581, allocations: 3.875 kB / 477 MB, free: 16.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.581, allocations: 2.125 kB / 477 MB, free: 16.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007563/0.5818, allocations: 275.2 kB / 477.2 MB, free: 16.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.5828, allocations: 420.4 kB / 477.6 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.5838, allocations: 208.4 kB / 477.9 MB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.584, allocations: 76.75 kB / 477.9 MB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.5841, allocations: 2.75 kB / 477.9 MB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.5841, allocations: 31.44 kB / 478 MB, free: 15.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.5841, allocations: 0 / 478 MB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001607/0.5857, allocations: 433.1 kB / 478.4 MB, free: 15.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.5858, allocations: 53.84 kB / 478.4 MB, free: 15.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.5859, allocations: 109.4 kB / 478.5 MB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.5859, allocations: 29.39 kB / 478.6 MB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.5859, allocations: 91.89 kB / 478.7 MB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.586, allocations: 67.05 kB / 478.7 MB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.318e-05/0.5861, allocations: 42.34 kB / 478.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.5862, allocations: 320.8 kB / 479.1 MB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.5864, allocations: 75.56 kB / 479.2 MB, free: 15.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.5867, allocations: 123.8 kB / 479.3 MB, free: 15.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.5872, allocations: 196.7 kB / 479.5 MB, free: 14.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5872, allocations: 2.812 kB / 479.5 MB, free: 14.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006018/0.5878, allocations: 248.6 kB / 479.7 MB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.5878, allocations: 7.906 kB / 479.7 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5878, allocations: 1.562 kB / 479.7 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.5878, allocations: 3.219 kB / 479.7 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.5882, allocations: 52.83 kB / 479.8 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5882, allocations: 4.281 kB / 479.8 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.5885, allocations: 14.14 kB / 479.8 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.5885, allocations: 15.05 kB / 479.8 MB, free: 14.94 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 9.937e-05/0.5886, allocations: 124.9 kB / 479.9 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.5887, allocations: 3.406 kB / 479.9 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.5894, allocations: 278 kB / 480.2 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5894, allocations: 0 / 480.2 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5894, allocations: 4 kB / 480.2 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5894, allocations: 4 kB / 480.2 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.5906, allocations: 0.5886 MB / 480.8 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5906, allocations: 0 / 480.8 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.5909, allocations: 48.22 kB / 480.8 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5909, allocations: 0 / 480.8 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.591, allocations: 12.41 kB / 480.9 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.591, allocations: 0 / 480.9 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.591, allocations: 3.25 kB / 480.9 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/0.5916, allocations: 332.2 kB / 481.2 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.5917, allocations: 87.56 kB / 481.3 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.5917, allocations: 5.625 kB / 481.3 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.592, allocations: 19.45 kB / 481.3 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.592, allocations: 18.89 kB / 481.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.5921, allocations: 11.28 kB / 481.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.308e-05/0.5921, allocations: 80.5 kB / 481.4 MB, free: 14.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.5921, allocations: 0 / 481.4 MB, free: 14.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.5925, allocations: 46.36 kB / 481.5 MB, free: 14.09 MB / 398.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.0002181/0.5927, allocations: 132.3 kB / 481.6 MB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005741/0.5933, allocations: 199.5 kB / 481.8 MB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5933, allocations: 0 / 481.8 MB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.5935, allocations: 103.9 kB / 481.9 MB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.594, allocations: 37.77 kB / 481.9 MB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.5947, allocations: 303.6 kB / 482.2 MB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.595, allocations: 0.6947 MB / 482.9 MB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004238/0.5954, allocations: 54.06 kB / 483 MB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.5955, allocations: 37.8 kB / 483 MB, free: 13.06 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5956, allocations: 0 / 483 MB, free: 13.06 MB / 398.1 MB Notification: Performance of Templates: time 0.005274/0.6008, allocations: 2.93 MB / 485.9 MB, free: 12.86 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)