Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001506/0.001506, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001883/0.001883, allocations: 193 kB / 16.25 MB, free: 6.617 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.346/1.346, allocations: 205.1 MB / 222.1 MB, free: 4.633 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.001078/0.001078, allocations: 51.94 kB / 278.2 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1786, allocations: 46.63 MB / 324.8 MB, free: 2.078 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3432/0.5218, allocations: 150.6 MB / 475.4 MB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007453/0.5226, allocations: 0.5983 MB / 476 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.5227, allocations: 0 / 476 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.5231, allocations: 57.88 kB / 476.1 MB, free: 13.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.5234, allocations: 143.3 kB / 476.2 MB, free: 13.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.5265, allocations: 0.9852 MB / 477.2 MB, free: 13.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.5269, allocations: 323.3 kB / 477.5 MB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.5269, allocations: 11.94 kB / 477.5 MB, free: 13.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.5272, allocations: 157.5 kB / 477.7 MB, free: 13.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.5274, allocations: 133.3 kB / 477.8 MB, free: 13.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.5274, allocations: 12.25 kB / 477.8 MB, free: 13.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.5294, allocations: 1.625 MB / 479.5 MB, free: 13.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.197e-05/0.5295, allocations: 70.36 kB / 479.5 MB, free: 13.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.5296, allocations: 92.2 kB / 479.6 MB, free: 13.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.5309, allocations: 1.038 MB / 480.7 MB, free: 13.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5309, allocations: 0 / 480.7 MB, free: 13.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.531, allocations: 0 / 480.7 MB, free: 13.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.531, allocations: 0 / 480.7 MB, free: 13.15 MB / 398.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.001659/0.5326, allocations: 0.6728 MB / 481.3 MB, free: 12.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.5327, allocations: 11 kB / 481.3 MB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.5328, allocations: 22.97 kB / 481.4 MB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.5331, allocations: 220.7 kB / 481.6 MB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.5331, allocations: 9.547 kB / 481.6 MB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.5332, allocations: 19.61 kB / 481.6 MB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.5337, allocations: 259.2 kB / 481.9 MB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.5337, allocations: 6.906 kB / 481.9 MB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.5338, allocations: 3.875 kB / 481.9 MB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.5338, allocations: 11.78 kB / 481.9 MB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.5344, allocations: 263 kB / 482.1 MB, free: 12.4 MB / 398.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.001332/0.5357, allocations: 0.7871 MB / 482.9 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.5363, allocations: 220.3 kB / 483.1 MB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.5366, allocations: 137.8 kB / 483.3 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004081/0.537, allocations: 357.4 kB / 483.6 MB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.5371, allocations: 35.2 kB / 483.7 MB, free: 11.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.5371, allocations: 0 / 483.7 MB, free: 11.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002312/0.5394, allocations: 0.6728 MB / 484.3 MB, free: 11.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.5395, allocations: 82.89 kB / 484.4 MB, free: 11.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.5396, allocations: 123.7 kB / 484.5 MB, free: 11.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.5396, allocations: 31.08 kB / 484.6 MB, free: 11.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.5397, allocations: 107.4 kB / 484.7 MB, free: 10.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.5398, allocations: 127 kB / 484.8 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.54, allocations: 72.36 kB / 484.9 MB, free: 10.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5401, allocations: 324.5 kB / 485.2 MB, free: 10.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.5404, allocations: 130.6 kB / 485.3 MB, free: 10.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.5408, allocations: 217.6 kB / 485.5 MB, free: 10.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007047/0.5415, allocations: 359.5 kB / 485.9 MB, free: 10.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5416, allocations: 1.094 kB / 485.9 MB, free: 10.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008969/0.5425, allocations: 414.7 kB / 486.3 MB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5425, allocations: 5.156 kB / 486.3 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5425, allocations: 2.562 kB / 486.3 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.5425, allocations: 8.859 kB / 486.3 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.543, allocations: 87.28 kB / 486.4 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.543, allocations: 4.75 kB / 486.4 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.5433, allocations: 32.39 kB / 486.4 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.5434, allocations: 16.86 kB / 486.4 MB, free: 10.32 MB / 398.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.0001309/0.5435, allocations: 145.7 kB / 486.6 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.5436, allocations: 16.83 kB / 486.6 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.5439, allocations: 176.8 kB / 486.8 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5439, allocations: 5.719 kB / 486.8 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.5439, allocations: 0 / 486.8 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.544, allocations: 2.484 kB / 486.8 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.5455, allocations: 0.768 MB / 487.5 MB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5455, allocations: 2.625 kB / 487.5 MB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.5459, allocations: 81.45 kB / 487.6 MB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5459, allocations: 4.781 kB / 487.6 MB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.546, allocations: 12.67 kB / 487.6 MB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.546, allocations: 4.875 kB / 487.6 MB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.546, allocations: 6.312 kB / 487.7 MB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.5472, allocations: 0.7065 MB / 488.4 MB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.5473, allocations: 120.5 kB / 488.5 MB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.5473, allocations: 12.78 kB / 488.5 MB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.5477, allocations: 26 kB / 488.5 MB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.5478, allocations: 27 kB / 488.5 MB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.5478, allocations: 15.77 kB / 488.6 MB, free: 9.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.213e-05/0.5478, allocations: 91.91 kB / 488.6 MB, free: 9.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5479, allocations: 0.6562 kB / 488.6 MB, free: 9.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005387/0.5484, allocations: 142.1 kB / 488.8 MB, free: 9.27 MB / 398.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.000467/0.5489, allocations: 246.6 kB / 489 MB, free: 9.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008436/0.5497, allocations: 360.1 kB / 489.4 MB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5497, allocations: 0 / 489.4 MB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.5501, allocations: 186.3 kB / 489.6 MB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006724/0.5508, allocations: 99.69 kB / 489.7 MB, free: 9.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.5521, allocations: 0.6873 MB / 490.3 MB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.5524, allocations: 0.7391 MB / 491.1 MB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003948/0.5528, allocations: 73.72 kB / 491.2 MB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.553, allocations: 33.58 kB / 491.2 MB, free: 7.93 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.553, allocations: 0 / 491.2 MB, free: 7.93 MB / 398.1 MB Notification: Performance of Templates: time 0.009533/0.5625, allocations: 6.033 MB / 497.2 MB, free: 5.535 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe 2>&1)