Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001137/0.001137, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.288/1.288, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001132/0.001132, allocations: 48.34 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08103/0.08217, allocations: 46.63 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2864/0.3686, allocations: 150.6 MB / 476.5 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000839/0.3695, allocations: 0.6096 MB / 477.1 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.3696, allocations: 0 / 477.1 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.3699, allocations: 58.58 kB / 477.2 MB, free: 468 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.3703, allocations: 146.7 kB / 477.3 MB, free: 324 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.3728, allocations: 0.9435 MB / 478.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.3732, allocations: 478.6 kB / 478.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.3732, allocations: 17.44 kB / 478.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.3735, allocations: 139.5 kB / 478.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.3737, allocations: 127.5 kB / 479 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.3737, allocations: 8 kB / 479 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.3761, allocations: 1.688 MB / 480.7 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.3762, allocations: 63.83 kB / 480.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.3763, allocations: 87.66 kB / 480.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.3778, allocations: 1.033 MB / 481.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3778, allocations: 4 kB / 481.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3778, allocations: 0 / 481.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.3778, allocations: 0 / 481.9 MB, free: 11.75 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001781/0.3796, allocations: 0.6637 MB / 482.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3796, allocations: 12.03 kB / 482.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.3798, allocations: 21.56 kB / 482.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.38, allocations: 227.8 kB / 482.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.38, allocations: 12.31 kB / 482.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.3801, allocations: 19.84 kB / 482.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.3807, allocations: 265.4 kB / 483.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3807, allocations: 0 / 483.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.3807, allocations: 4 kB / 483.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.3808, allocations: 12 kB / 483.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006294/0.3814, allocations: 271.3 kB / 483.4 MB, free: 10.17 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.3828, allocations: 0.7738 MB / 484.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.3834, allocations: 225.2 kB / 484.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.3837, allocations: 133.6 kB / 484.5 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003237/0.3841, allocations: 360.3 kB / 484.9 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3841, allocations: 38.5 kB / 484.9 MB, free: 8.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.402e-06/0.3841, allocations: 0 / 484.9 MB, free: 8.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002494/0.3866, allocations: 0.6734 MB / 485.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.3867, allocations: 81.11 kB / 485.6 MB, free: 7.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.433e-05/0.3868, allocations: 121.8 kB / 485.8 MB, free: 7.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3868, allocations: 29.7 kB / 485.8 MB, free: 7.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.3869, allocations: 108.8 kB / 485.9 MB, free: 7.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.217e-05/0.387, allocations: 126.2 kB / 486 MB, free: 7.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3871, allocations: 73.55 kB / 486.1 MB, free: 7.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.3872, allocations: 330.8 kB / 486.4 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.3876, allocations: 131.9 kB / 486.5 MB, free: 6.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.388, allocations: 207.6 kB / 486.7 MB, free: 6.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000778/0.3888, allocations: 359.9 kB / 487.1 MB, free: 6.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3888, allocations: 4 kB / 487.1 MB, free: 6.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00095/0.3897, allocations: 409.3 kB / 487.5 MB, free: 5.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3898, allocations: 8 kB / 487.5 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3898, allocations: 0 / 487.5 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3898, allocations: 4 kB / 487.5 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.3903, allocations: 83.88 kB / 487.6 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.3903, allocations: 9.719 kB / 487.6 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.3907, allocations: 39.97 kB / 487.6 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.3907, allocations: 12 kB / 487.7 MB, free: 5.586 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0001464/0.3909, allocations: 145.7 kB / 487.8 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.391, allocations: 15.81 kB / 487.8 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.3914, allocations: 175.6 kB / 488 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3914, allocations: 7.984 kB / 488 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3914, allocations: 3.984 kB / 488 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3914, allocations: 0 / 488 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.3931, allocations: 0.7629 MB / 488.8 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3931, allocations: 0 / 488.8 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.3935, allocations: 83.81 kB / 488.8 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.3936, allocations: 4 kB / 488.8 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.3936, allocations: 8 kB / 488.9 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.3936, allocations: 8.547 kB / 488.9 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.3936, allocations: 7.938 kB / 488.9 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.395, allocations: 0.7107 MB / 489.6 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.3951, allocations: 116.8 kB / 489.7 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.3952, allocations: 13.56 kB / 489.7 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.3955, allocations: 29.16 kB / 489.7 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3956, allocations: 27.91 kB / 489.8 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.3956, allocations: 8 kB / 489.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.877e-05/0.3957, allocations: 99.64 kB / 489.9 MB, free: 3.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3957, allocations: 0 / 489.9 MB, free: 3.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006026/0.3963, allocations: 143.9 kB / 490 MB, free: 3.098 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (38): * Single equations (assignments): 38 * 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.0005441/0.3969, allocations: 239.3 kB / 490.2 MB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008946/0.3978, allocations: 340 kB / 490.6 MB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3978, allocations: 7.938 kB / 490.6 MB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.3982, allocations: 172.5 kB / 490.8 MB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007424/0.399, allocations: 98.34 kB / 490.8 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.4004, allocations: 0.694 MB / 491.5 MB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.4007, allocations: 0.7333 MB / 492.3 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.4011, allocations: 81.89 kB / 492.4 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.4013, allocations: 35.42 kB / 492.4 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4013, allocations: 0 / 492.4 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of Templates: time 0.01028/0.4116, allocations: 5.865 MB / 498.3 MB, free: 10.78 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe 2>&1)