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.001439/0.001439, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 192 kB / 16.53 MB, free: 6.391 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.475/1.475, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.001193/0.001193, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2631, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3956/0.6587, allocations: 150.4 MB / 475.7 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.6602, allocations: 1.528 MB / 477.3 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.6602, allocations: 2.844 kB / 477.3 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.6604, allocations: 25.16 kB / 477.3 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007458/0.6612, allocations: 325 kB / 477.6 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.6614, allocations: 55 kB / 477.7 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.6615, allocations: 72.95 kB / 477.7 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.6615, allocations: 6.219 kB / 477.7 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.6616, allocations: 35.12 kB / 477.8 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.6617, allocations: 29.69 kB / 477.8 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.6617, allocations: 2.938 kB / 477.8 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006159/0.6623, allocations: 366.2 kB / 478.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.6624, allocations: 11.05 kB / 478.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.6624, allocations: 24.17 kB / 478.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.6628, allocations: 295.2 kB / 478.5 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.6628, allocations: 0 / 478.5 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6628, allocations: 0 / 478.5 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.6629, allocations: 0 / 478.5 MB, free: 0.5156 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.0008077/0.6637, allocations: 444.1 kB / 478.9 MB, free: 16.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.6637, allocations: 10.5 kB / 478.9 MB, free: 16.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006332/0.67, allocations: 454.3 kB / 479.4 MB, free: 16.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.6702, allocations: 170.8 kB / 479.5 MB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.6702, allocations: 11 kB / 479.5 MB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-05/0.6703, allocations: 5.531 kB / 479.5 MB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.671, allocations: 303.4 kB / 479.8 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.671, allocations: 0 / 479.8 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.6711, allocations: 6.625 kB / 479.8 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6711, allocations: 2.625 kB / 479.9 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007851/0.6719, allocations: 276.9 kB / 480.1 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.6728, allocations: 419.3 kB / 480.5 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009575/0.6738, allocations: 199.8 kB / 480.7 MB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.674, allocations: 77.97 kB / 480.8 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.674, allocations: 6.844 kB / 480.8 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.6741, allocations: 36.69 kB / 480.8 MB, free: 15.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.983e-06/0.6741, allocations: 0 / 480.8 MB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001642/0.6757, allocations: 422.8 kB / 481.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.6758, allocations: 54.16 kB / 481.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.6758, allocations: 100.2 kB / 481.4 MB, free: 15.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.6759, allocations: 36.36 kB / 481.4 MB, free: 15.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.6759, allocations: 94.84 kB / 481.5 MB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.676, allocations: 64.41 kB / 481.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.6761, allocations: 39.19 kB / 481.6 MB, free: 15.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6762, allocations: 319.2 kB / 482 MB, free: 14.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.6764, allocations: 81.06 kB / 482 MB, free: 14.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.6767, allocations: 115.3 kB / 482.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.6772, allocations: 198.7 kB / 482.3 MB, free: 14.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6772, allocations: 0 / 482.3 MB, free: 14.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006233/0.6779, allocations: 251.9 kB / 482.6 MB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.6779, allocations: 6.375 kB / 482.6 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6779, allocations: 192 / 482.6 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.6779, allocations: 3.188 kB / 482.6 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.6783, allocations: 49.56 kB / 482.6 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.6783, allocations: 5.094 kB / 482.6 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.6786, allocations: 23.33 kB / 482.7 MB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.6786, allocations: 12.61 kB / 482.7 MB, free: 14.65 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.0001038/0.6787, allocations: 121.9 kB / 482.8 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.6788, allocations: 6.375 kB / 482.8 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007913/0.6796, allocations: 277.5 kB / 483.1 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6796, allocations: 1.906 kB / 483.1 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6796, allocations: 0.8125 kB / 483.1 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6796, allocations: 8.203 kB / 483.1 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.6808, allocations: 0.5828 MB / 483.7 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6809, allocations: 2.953 kB / 483.7 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.6812, allocations: 40.75 kB / 483.7 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6812, allocations: 7.953 kB / 483.7 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.6812, allocations: 15.22 kB / 483.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6812, allocations: 2.531 kB / 483.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.6813, allocations: 0 / 483.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.6819, allocations: 335.7 kB / 484.1 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.682, allocations: 83.77 kB / 484.1 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.682, allocations: 0 / 484.1 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.6823, allocations: 20.38 kB / 484.2 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.6823, allocations: 15.53 kB / 484.2 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.6823, allocations: 14.28 kB / 484.2 MB, free: 13.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.733e-05/0.6824, allocations: 87.53 kB / 484.3 MB, free: 13.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6824, allocations: 1.203 kB / 484.3 MB, free: 13.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.6827, allocations: 41.78 kB / 484.3 MB, free: 13.8 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.0002239/0.683, allocations: 137 kB / 484.5 MB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006147/0.6836, allocations: 201.1 kB / 484.7 MB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6836, allocations: 0 / 484.7 MB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.6839, allocations: 100.8 kB / 484.8 MB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.6844, allocations: 38.89 kB / 484.8 MB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007477/0.6851, allocations: 275.5 kB / 485.1 MB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.6854, allocations: 0.6906 MB / 485.8 MB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000385/0.6858, allocations: 57.61 kB / 485.8 MB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.6859, allocations: 37.36 kB / 485.8 MB, free: 12.8 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6859, allocations: 3.094 kB / 485.8 MB, free: 12.8 MB / 398.1 MB Notification: Performance of Templates: time 0.005601/0.6915, allocations: 3.041 MB / 488.9 MB, free: 12.59 MB / 398.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)