Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.000801/0.000801, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00495/0.00495, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.316/1.316, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.0004904/0.0004904, allocations: 19.94 kB / 279.4 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2185, allocations: 47.58 MB / 327 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0324/0.2509, allocations: 27.67 MB / 354.7 MB, free: 7.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003171/0.2541, allocations: 2.298 MB / 357 MB, free: 5.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.2542, allocations: 0 / 357 MB, free: 5.348 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.2546, allocations: 67.7 kB / 357.1 MB, free: 5.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.255, allocations: 139.3 kB / 357.2 MB, free: 5.145 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01409/0.2691, allocations: 5.034 MB / 362.2 MB, free: 96 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005617/0.2696, allocations: 478.4 kB / 362.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.2697, allocations: 8.906 kB / 362.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.2699, allocations: 123.6 kB / 362.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.2701, allocations: 127.6 kB / 363 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.2702, allocations: 8 kB / 363 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01543/0.2856, allocations: 9.475 MB / 372.4 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.2858, allocations: 71.77 kB / 372.5 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.286, allocations: 113.3 kB / 372.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.2972, allocations: 4.74 MB / 377.4 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2972, allocations: 0 / 377.4 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2972, allocations: 0 / 377.4 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2972, allocations: 4 kB / 377.4 MB, free: 0.9297 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.003294/0.3005, allocations: 1.065 MB / 378.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3006, allocations: 8.031 kB / 378.4 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.3007, allocations: 24.5 kB / 378.5 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.301, allocations: 218.8 kB / 378.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.301, allocations: 12.33 kB / 378.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.3011, allocations: 27.84 kB / 378.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.3018, allocations: 285.4 kB / 379 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3018, allocations: 7.984 kB / 379 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.3018, allocations: 7.938 kB / 379 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.3019, allocations: 8 kB / 379 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007924/0.3027, allocations: 311.7 kB / 379.3 MB, free: 14.87 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.001447/0.3041, allocations: 0.8166 MB / 380.1 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007135/0.3049, allocations: 257.1 kB / 380.4 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.3052, allocations: 133.6 kB / 380.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01592/0.3211, allocations: 12.92 MB / 393.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.3212, allocations: 34.56 kB / 393.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.494e-06/0.3212, allocations: 0 / 393.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002969/0.3242, allocations: 0.6844 MB / 394.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.3242, allocations: 85.11 kB / 394.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3244, allocations: 121.8 kB / 394.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.3244, allocations: 37.64 kB / 394.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.3245, allocations: 108.8 kB / 394.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.3246, allocations: 134 kB / 394.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.3247, allocations: 37.7 kB / 394.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3248, allocations: 330.8 kB / 395 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.3252, allocations: 131.9 kB / 395.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.3257, allocations: 211.5 kB / 395.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009343/0.3267, allocations: 363.5 kB / 395.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3267, allocations: 4 kB / 395.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001177/0.3279, allocations: 413.4 kB / 396.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3279, allocations: 4 kB / 396.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3279, allocations: 4 kB / 396.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.328, allocations: 8 kB / 396.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.3284, allocations: 87.88 kB / 396.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3285, allocations: 7.938 kB / 396.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.3288, allocations: 31.97 kB / 396.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.3288, allocations: 16 kB / 396.2 MB, free: 11.2 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.0001441/0.329, allocations: 145.7 kB / 396.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.3291, allocations: 19.81 kB / 396.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.3296, allocations: 190.3 kB / 396.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.3296, allocations: 7.938 kB / 396.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3296, allocations: 0 / 396.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3296, allocations: 4 kB / 396.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.3313, allocations: 0.7635 MB / 397.4 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3313, allocations: 7.984 kB / 397.4 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.3318, allocations: 71.89 kB / 397.4 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3318, allocations: 7.938 kB / 397.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.3318, allocations: 15.98 kB / 397.5 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3318, allocations: 4 kB / 397.5 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3318, allocations: 4 kB / 397.5 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.3334, allocations: 0.707 MB / 398.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3335, allocations: 120.9 kB / 398.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.3336, allocations: 8 kB / 398.3 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.3339, allocations: 28.03 kB / 398.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.334, allocations: 27.91 kB / 398.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.334, allocations: 12 kB / 398.4 MB, free: 8.934 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.216e-05/0.3341, allocations: 103.2 kB / 398.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.3341, allocations: 0 / 398.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002481/0.3366, allocations: 0.9291 MB / 399.4 MB, free: 7.902 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.00376/0.3404, allocations: 1.256 MB / 400.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3414, allocations: 351.4 kB / 401 MB, free: 6.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3414, allocations: 0 / 401 MB, free: 6.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.3419, allocations: 184.5 kB / 401.2 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007673/0.3427, allocations: 96.61 kB / 401.3 MB, free: 6.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.3441, allocations: 0.7236 MB / 402 MB, free: 5.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3444, allocations: 0.7374 MB / 402.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004381/0.3449, allocations: 85.81 kB / 402.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.345, allocations: 39.41 kB / 402.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.345, allocations: 0 / 402.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of Templates: time 0.04147/0.3865, allocations: 30.65 MB / 433.5 MB, free: 5.664 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)