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.001097/0.001097, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.00122/0.00122, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2118, allocations: 46.64 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3389/0.5507, allocations: 152.7 MB / 478 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000739/0.5515, allocations: 0.6018 MB / 478.6 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.5515, allocations: 0 / 478.6 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.5519, allocations: 66.59 kB / 478.7 MB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.5522, allocations: 153.6 kB / 478.8 MB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.5548, allocations: 1.08 MB / 479.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.5552, allocations: 327.2 kB / 480.2 MB, free: 13.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.5552, allocations: 14.27 kB / 480.2 MB, free: 13.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.5554, allocations: 151.2 kB / 480.4 MB, free: 13.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.5556, allocations: 124.5 kB / 480.5 MB, free: 13.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.5557, allocations: 16.31 kB / 480.5 MB, free: 13.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.558, allocations: 1.572 MB / 482.1 MB, free: 13.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.5581, allocations: 69.23 kB / 482.2 MB, free: 13.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.5582, allocations: 90.06 kB / 482.2 MB, free: 13.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.5596, allocations: 0.9974 MB / 483.2 MB, free: 13.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5596, allocations: 2.812 kB / 483.2 MB, free: 13.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5596, allocations: 0 / 483.2 MB, free: 13.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.5596, allocations: 1.203 kB / 483.2 MB, free: 13.69 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.001694/0.5613, allocations: 0.6719 MB / 483.9 MB, free: 13.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.5614, allocations: 14.09 kB / 483.9 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.5615, allocations: 20.16 kB / 484 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.5618, allocations: 217.2 kB / 484.2 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5618, allocations: 11.52 kB / 484.2 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.5618, allocations: 16.81 kB / 484.2 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.5623, allocations: 256.5 kB / 484.4 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5624, allocations: 2.531 kB / 484.4 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.5624, allocations: 13.89 kB / 484.5 MB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.5624, allocations: 10.03 kB / 484.5 MB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/0.563, allocations: 261.9 kB / 484.7 MB, free: 12.94 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.001343/0.5644, allocations: 0.7921 MB / 485.5 MB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.565, allocations: 221.3 kB / 485.7 MB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.5653, allocations: 136.2 kB / 485.9 MB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.5656, allocations: 363.3 kB / 486.2 MB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.5657, allocations: 40.41 kB / 486.3 MB, free: 11.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.794e-06/0.5657, allocations: 0 / 486.3 MB, free: 11.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002376/0.5681, allocations: 0.6635 MB / 486.9 MB, free: 11.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.5681, allocations: 84.64 kB / 487 MB, free: 11.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.53e-05/0.5682, allocations: 120.5 kB / 487.1 MB, free: 11.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.5683, allocations: 34.48 kB / 487.2 MB, free: 11.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.5683, allocations: 116.9 kB / 487.3 MB, free: 11.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.5684, allocations: 119.7 kB / 487.4 MB, free: 11.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.5685, allocations: 70.55 kB / 487.5 MB, free: 11.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5687, allocations: 324 kB / 487.8 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.5691, allocations: 134.6 kB / 487.9 MB, free: 11.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.5695, allocations: 211.9 kB / 488.1 MB, free: 11.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/0.5703, allocations: 363.7 kB / 488.5 MB, free: 10.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5703, allocations: 6.188 kB / 488.5 MB, free: 10.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009183/0.5712, allocations: 398.6 kB / 488.9 MB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.5712, allocations: 7.688 kB / 488.9 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.5712, allocations: 0 / 488.9 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5713, allocations: 6.609 kB / 488.9 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.5717, allocations: 86.31 kB / 489 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.5718, allocations: 5.438 kB / 489 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.5721, allocations: 30.02 kB / 489 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.5721, allocations: 19.11 kB / 489 MB, free: 10.86 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.0001332/0.5723, allocations: 145.7 kB / 489.2 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.849e-05/0.5724, allocations: 17.56 kB / 489.2 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.5727, allocations: 176.8 kB / 489.3 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.5727, allocations: 2.844 kB / 489.3 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5727, allocations: 1.906 kB / 489.4 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5728, allocations: 1.922 kB / 489.4 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.5744, allocations: 0.766 MB / 490.1 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5744, allocations: 6.375 kB / 490.1 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.5748, allocations: 79.5 kB / 490.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.5749, allocations: 4.688 kB / 490.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.5749, allocations: 15.61 kB / 490.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.5749, allocations: 4.875 kB / 490.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5749, allocations: 6.656 kB / 490.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.5762, allocations: 0.7082 MB / 490.9 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.5763, allocations: 123.3 kB / 491.1 MB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.5764, allocations: 13.59 kB / 491.1 MB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.5767, allocations: 19.94 kB / 491.1 MB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.5768, allocations: 23.06 kB / 491.1 MB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.5768, allocations: 15.41 kB / 491.1 MB, free: 9.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.619e-05/0.5769, allocations: 93.05 kB / 491.2 MB, free: 9.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5769, allocations: 0 / 491.2 MB, free: 9.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005797/0.5775, allocations: 154.5 kB / 491.4 MB, free: 9.797 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.0004457/0.5779, allocations: 238.4 kB / 491.6 MB, free: 9.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008852/0.5788, allocations: 369.1 kB / 492 MB, free: 9.648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5789, allocations: 0 / 492 MB, free: 9.648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.5793, allocations: 178.7 kB / 492.1 MB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007253/0.58, allocations: 92.69 kB / 492.2 MB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.5814, allocations: 0.6187 MB / 492.9 MB, free: 9.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.5817, allocations: 0.7432 MB / 493.6 MB, free: 8.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003915/0.5821, allocations: 82.33 kB / 493.7 MB, free: 8.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.5822, allocations: 32.39 kB / 493.7 MB, free: 8.531 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5822, allocations: 0 / 493.7 MB, free: 8.531 MB / 398.1 MB Notification: Performance of Templates: time 0.009818/0.592, allocations: 6.056 MB / 499.8 MB, free: 5.664 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)