Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.0009864/0.0009865, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008416/0.008416, allocations: 169.1 kB / 16.26 MB, free: 6.328 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.376/1.376, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.0004307/0.0004308, allocations: 16.36 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, allocations: 47.58 MB / 327 MB, free: 1.734 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03172/0.2481, allocations: 27.66 MB / 354.7 MB, free: 7.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.2509, allocations: 2.302 MB / 357 MB, free: 5.609 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.251, allocations: 0 / 357 MB, free: 5.609 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.2513, allocations: 63.77 kB / 357.1 MB, free: 5.547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.2517, allocations: 147.2 kB / 357.2 MB, free: 5.402 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01311/0.2648, allocations: 5.03 MB / 362.2 MB, free: 364 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005542/0.2653, allocations: 474.4 kB / 362.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.2654, allocations: 12.91 kB / 362.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.2656, allocations: 123.5 kB / 362.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.2658, allocations: 127.5 kB / 363 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.2659, allocations: 12 kB / 363 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01653/0.2824, allocations: 9.479 MB / 372.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.2826, allocations: 67.83 kB / 372.5 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.2827, allocations: 109.4 kB / 372.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.295, allocations: 4.748 MB / 377.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.295, allocations: 0 / 377.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.654e-06/0.295, allocations: 0 / 377.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2951, allocations: 0 / 377.4 MB, free: 1.188 MB / 302.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.003172/0.2982, allocations: 1.069 MB / 378.4 MB, free: 64 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2983, allocations: 11.97 kB / 378.4 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.2984, allocations: 28.5 kB / 378.5 MB, free: 24 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.2987, allocations: 210.8 kB / 378.7 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2987, allocations: 12.33 kB / 378.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.2988, allocations: 19.91 kB / 378.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/0.2995, allocations: 285.4 kB / 379 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.2995, allocations: 3.938 kB / 379 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.2995, allocations: 16 kB / 379 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.2996, allocations: 4 kB / 379 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.3003, allocations: 315.6 kB / 379.3 MB, free: 15.12 MB / 318.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.001404/0.3017, allocations: 0.8205 MB / 380.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000696/0.3025, allocations: 249.2 kB / 380.4 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.3028, allocations: 133.6 kB / 380.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/0.318, allocations: 12.92 MB / 393.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.3181, allocations: 38.56 kB / 393.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.3181, allocations: 0 / 393.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002894/0.321, allocations: 0.6844 MB / 394.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.321, allocations: 81.11 kB / 394.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3211, allocations: 129.8 kB / 394.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.3212, allocations: 33.7 kB / 394.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.3213, allocations: 104.8 kB / 394.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.3214, allocations: 134 kB / 394.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.3214, allocations: 37.7 kB / 394.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3215, allocations: 334.8 kB / 395 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.3219, allocations: 131.9 kB / 395.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.3224, allocations: 207.6 kB / 395.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009248/0.3234, allocations: 359.5 kB / 395.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3234, allocations: 0 / 395.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001154/0.3245, allocations: 417.2 kB / 396.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3246, allocations: 4.219 kB / 396.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3246, allocations: 8 kB / 396.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3246, allocations: 0 / 396.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.3251, allocations: 95.81 kB / 396.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.3251, allocations: 7.938 kB / 396.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.3254, allocations: 27.91 kB / 396.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.3255, allocations: 16 kB / 396.2 MB, free: 11.46 MB / 334.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.0001516/0.3256, allocations: 145.8 kB / 396.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.3258, allocations: 19.81 kB / 396.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.3263, allocations: 195.1 kB / 396.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.3263, allocations: 7.938 kB / 396.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3263, allocations: 0 / 396.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.3263, allocations: 3.984 kB / 396.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.328, allocations: 0.7596 MB / 397.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.328, allocations: 4.156 kB / 397.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/0.3284, allocations: 79.89 kB / 397.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3284, allocations: 4 kB / 397.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.3284, allocations: 11.98 kB / 397.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3285, allocations: 11.88 kB / 397.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3285, allocations: 0 / 397.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.33, allocations: 0.7108 MB / 398.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3301, allocations: 120.9 kB / 398.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.3302, allocations: 8 kB / 398.3 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.3305, allocations: 19.97 kB / 398.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.3306, allocations: 35.97 kB / 398.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.3306, allocations: 12 kB / 398.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.656e-05/0.3307, allocations: 99.25 kB / 398.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3307, allocations: 0 / 398.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002483/0.3332, allocations: 0.9253 MB / 399.4 MB, free: 8.164 MB / 334.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.00404/0.3372, allocations: 1.263 MB / 400.7 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.3383, allocations: 359.6 kB / 401 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3383, allocations: 0 / 401 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004628/0.3388, allocations: 175.7 kB / 401.2 MB, free: 6.371 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/0.3396, allocations: 105 kB / 401.3 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.341, allocations: 0.7197 MB / 402 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3413, allocations: 0.7373 MB / 402.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004342/0.3417, allocations: 85.88 kB / 402.8 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3419, allocations: 43.41 kB / 402.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3419, allocations: 0 / 402.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of Templates: time 0.04124/0.3831, allocations: 30.66 MB / 433.5 MB, free: 5.91 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)