Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001084/0.001084, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00112/0.00112, allocations: 192.3 kB / 16.14 MB, free: 6.711 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.345/1.345, allocations: 205.1 MB / 222 MB, free: 4.742 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.001173/0.001173, allocations: 47.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2368, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.323/0.5598, allocations: 150.6 MB / 475.2 MB, free: 13.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.5606, allocations: 0.6075 MB / 475.8 MB, free: 13.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.5606, allocations: 3.844 kB / 475.8 MB, free: 13.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.5611, allocations: 57.98 kB / 475.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.5613, allocations: 152.4 kB / 476 MB, free: 13.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.5637, allocations: 0.9388 MB / 477 MB, free: 13.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003791/0.5641, allocations: 476.7 kB / 477.4 MB, free: 13.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.5641, allocations: 14.06 kB / 477.5 MB, free: 13.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.5643, allocations: 142.1 kB / 477.6 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.5645, allocations: 131.6 kB / 477.7 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.5645, allocations: 7.812 kB / 477.7 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.5672, allocations: 1.679 MB / 479.4 MB, free: 13.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.5673, allocations: 65.64 kB / 479.5 MB, free: 13.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.5675, allocations: 90.58 kB / 479.6 MB, free: 13.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.569, allocations: 1.036 MB / 480.6 MB, free: 13.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.569, allocations: 0 / 480.6 MB, free: 13.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.569, allocations: 3.594 kB / 480.6 MB, free: 13.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.569, allocations: 0 / 480.6 MB, free: 13.46 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.00162/0.5707, allocations: 0.6653 MB / 481.3 MB, free: 13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.5707, allocations: 9.844 kB / 481.3 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.5709, allocations: 19.47 kB / 481.3 MB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.5711, allocations: 225.7 kB / 481.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.5711, allocations: 9.672 kB / 481.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.5711, allocations: 23.05 kB / 481.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.5717, allocations: 255.6 kB / 481.8 MB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.5717, allocations: 5.844 kB / 481.8 MB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.5717, allocations: 9.375 kB / 481.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.5718, allocations: 8.281 kB / 481.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.5724, allocations: 264.5 kB / 482.1 MB, free: 12.71 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.001327/0.5737, allocations: 0.7893 MB / 482.9 MB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.5743, allocations: 215.2 kB / 483.1 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.5746, allocations: 139.5 kB / 483.2 MB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/0.5749, allocations: 356.5 kB / 483.6 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.5749, allocations: 40.78 kB / 483.6 MB, free: 11.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/0.5749, allocations: 0 / 483.6 MB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002398/0.5773, allocations: 0.6769 MB / 484.3 MB, free: 11.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.5774, allocations: 81.86 kB / 484.4 MB, free: 11.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.5775, allocations: 119.9 kB / 484.5 MB, free: 11.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.5776, allocations: 31.8 kB / 484.5 MB, free: 11.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.5776, allocations: 104.9 kB / 484.6 MB, free: 11.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.948e-05/0.5777, allocations: 126.6 kB / 484.7 MB, free: 11.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.5778, allocations: 68.19 kB / 484.8 MB, free: 11.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.578, allocations: 334.7 kB / 485.1 MB, free: 10.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.5783, allocations: 130.2 kB / 485.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.5787, allocations: 219.7 kB / 485.5 MB, free: 10.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007336/0.5794, allocations: 358.5 kB / 485.8 MB, free: 10.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5795, allocations: 0 / 485.8 MB, free: 10.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008752/0.5803, allocations: 401.9 kB / 486.2 MB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5804, allocations: 8.906 kB / 486.2 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5804, allocations: 2.906 kB / 486.2 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5804, allocations: 4.781 kB / 486.2 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.5809, allocations: 89.03 kB / 486.3 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.5809, allocations: 5.25 kB / 486.3 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.5813, allocations: 34.03 kB / 486.4 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.5813, allocations: 10.94 kB / 486.4 MB, free: 10.63 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.000132/0.5815, allocations: 150.5 kB / 486.5 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.5815, allocations: 15.34 kB / 486.5 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.5819, allocations: 179.9 kB / 486.7 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.5819, allocations: 5.281 kB / 486.7 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5819, allocations: 0 / 486.7 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5819, allocations: 5.172 kB / 486.7 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.5835, allocations: 0.7673 MB / 487.5 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.5835, allocations: 3.656 kB / 487.5 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.584, allocations: 80.72 kB / 487.6 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.584, allocations: 2.25 kB / 487.6 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.584, allocations: 16.36 kB / 487.6 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.584, allocations: 2.094 kB / 487.6 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.584, allocations: 2.219 kB / 487.6 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.5853, allocations: 0.7133 MB / 488.3 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.5854, allocations: 119.5 kB / 488.4 MB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.5855, allocations: 9.781 kB / 488.4 MB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.5859, allocations: 26.88 kB / 488.5 MB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.5859, allocations: 29.28 kB / 488.5 MB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.586, allocations: 15.88 kB / 488.5 MB, free: 9.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.754e-05/0.586, allocations: 98.36 kB / 488.6 MB, free: 9.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.586, allocations: 0 / 488.6 MB, free: 9.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005769/0.5866, allocations: 145 kB / 488.7 MB, free: 9.566 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.0004619/0.5871, allocations: 241.1 kB / 489 MB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008136/0.5879, allocations: 340.1 kB / 489.3 MB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5879, allocations: 0 / 489.3 MB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.5883, allocations: 183 kB / 489.5 MB, free: 9.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.589, allocations: 92.48 kB / 489.6 MB, free: 9.406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.5903, allocations: 0.6876 MB / 490.3 MB, free: 8.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.5906, allocations: 0.7354 MB / 491 MB, free: 8.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003983/0.591, allocations: 79.83 kB / 491.1 MB, free: 8.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.5911, allocations: 34.97 kB / 491.1 MB, free: 8.254 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5912, allocations: 0 / 491.1 MB, free: 8.254 MB / 398.1 MB Notification: Performance of Templates: time 0.009172/0.6003, allocations: 5.865 MB / 497 MB, free: 5.301 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe 2>&1)