Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 112.1 kB / 17.06 MB, free: 5.969 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.001061/0.001061, allocations: 200 kB / 18.01 MB, free: 5.055 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.307/1.307, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001173/0.001173, allocations: 47.94 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08656, allocations: 46.62 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2007/0.2873, allocations: 26.58 MB / 401.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.2902, allocations: 2.234 MB / 403.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.2903, allocations: 1.062 kB / 403.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.2906, allocations: 58.05 kB / 403.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.291, allocations: 156.7 kB / 403.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01934/0.3104, allocations: 6.158 MB / 409.7 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007843/0.3112, allocations: 312.2 kB / 410 MB, free: 7.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.72e-05/0.3112, allocations: 16.23 kB / 410 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.3115, allocations: 135.1 kB / 410.1 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.3118, allocations: 115 kB / 410.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.3118, allocations: 11.69 kB / 410.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02097/0.3328, allocations: 9.4 MB / 419.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.333, allocations: 67.84 kB / 419.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.3332, allocations: 91.59 kB / 419.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.3441, allocations: 4.683 MB / 424.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3442, allocations: 0 / 424.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3442, allocations: 0 / 424.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3442, allocations: 0 / 424.5 MB, free: 13.77 MB / 350.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.002846/0.3471, allocations: 1.112 MB / 425.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3471, allocations: 8.031 kB / 425.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.3473, allocations: 24.73 kB / 425.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.3475, allocations: 216.7 kB / 425.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3475, allocations: 12.33 kB / 425.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.3476, allocations: 19.91 kB / 425.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.3483, allocations: 297.3 kB / 426.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3483, allocations: 0 / 426.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.3484, allocations: 4 kB / 426.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.3484, allocations: 8.875 kB / 426.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.3492, allocations: 311.7 kB / 426.5 MB, free: 11.68 MB / 350.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.001409/0.3506, allocations: 0.8291 MB / 427.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/0.3513, allocations: 249.2 kB / 427.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.3517, allocations: 136.9 kB / 427.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01532/0.367, allocations: 12.85 MB / 440.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3671, allocations: 34.56 kB / 440.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 3.607e-06/0.3671, allocations: 0 / 440.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002885/0.37, allocations: 0.7014 MB / 441.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.37, allocations: 81.11 kB / 441.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3701, allocations: 121.8 kB / 441.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.3702, allocations: 33.7 kB / 441.5 MB, free: 9.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.3702, allocations: 108.8 kB / 441.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.3703, allocations: 122.1 kB / 441.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3705, allocations: 77.62 kB / 441.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3706, allocations: 334.8 kB / 442.1 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.371, allocations: 130.8 kB / 442.2 MB, free: 9.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.3715, allocations: 219.5 kB / 442.5 MB, free: 8.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009615/0.3725, allocations: 356 kB / 442.8 MB, free: 8.605 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3725, allocations: 0 / 442.8 MB, free: 8.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001186/0.3737, allocations: 417.2 kB / 443.2 MB, free: 8.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3737, allocations: 8.219 kB / 443.2 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3737, allocations: 4 kB / 443.2 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3737, allocations: 7.984 kB / 443.2 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.3742, allocations: 87.88 kB / 443.3 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3742, allocations: 7.938 kB / 443.3 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.3745, allocations: 19.98 kB / 443.3 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/0.3746, allocations: 19.98 kB / 443.4 MB, free: 8.039 MB / 366.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.0001484/0.3747, allocations: 153.6 kB / 443.5 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3749, allocations: 19.81 kB / 443.5 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.3754, allocations: 188.7 kB / 443.7 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3754, allocations: 11.98 kB / 443.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3754, allocations: 3.938 kB / 443.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3754, allocations: 0 / 443.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.3772, allocations: 0.7707 MB / 444.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3772, allocations: 4 kB / 444.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.3776, allocations: 76.03 kB / 444.6 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.3776, allocations: 8 kB / 444.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.3777, allocations: 15.98 kB / 444.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3777, allocations: 4 kB / 444.6 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3777, allocations: 0 / 444.6 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.3792, allocations: 0.7045 MB / 445.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3794, allocations: 128.8 kB / 445.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.3794, allocations: 8 kB / 445.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.3798, allocations: 15.98 kB / 445.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.3798, allocations: 27.91 kB / 445.5 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.3799, allocations: 15.98 kB / 445.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.553e-05/0.3799, allocations: 107.7 kB / 445.6 MB, free: 5.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.38, allocations: 0 / 445.6 MB, free: 5.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002552/0.3825, allocations: 0.9253 MB / 446.5 MB, free: 4.73 MB / 366.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 (37): * Single equations (assignments): 37 * 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.004546/0.3871, allocations: 1.259 MB / 447.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.3882, allocations: 340 kB / 448.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3882, allocations: 0 / 448.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.3887, allocations: 187.5 kB / 448.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007388/0.3895, allocations: 95.59 kB / 448.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3908, allocations: 0.6015 MB / 449 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.3912, allocations: 0.7293 MB / 449.7 MB, free: 1.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003978/0.3917, allocations: 93.81 kB / 449.8 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.3918, allocations: 43.41 kB / 449.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3918, allocations: 0 / 449.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of Templates: time 0.0433/0.4351, allocations: 30.95 MB / 480.8 MB, free: 2.309 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)