Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) 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(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001329/0.001329, allocations: 192.4 kB / 16.25 MB, free: 6.578 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.636/1.636, allocations: 205.1 MB / 222.1 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.621/0.621, allocations: 95.47 MB / 364.9 MB, free: 10.05 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001568, allocations: 71.81 kB / 444.9 MB, free: 9.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3942, allocations: 69.07 MB / 0.5019 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002508/0.3967, allocations: 1.702 MB / 0.5035 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.592/0.9888, allocations: 160 MB / 0.6598 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.9891, allocations: 5.344 kB / 0.6598 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.9893, allocations: 10.22 kB / 0.6598 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.852e-05/0.9894, allocations: 15.38 kB / 0.6598 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.9904, allocations: 161.9 kB / 0.66 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.9906, allocations: 151.1 kB / 0.6601 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.9907, allocations: 28.06 kB / 0.6601 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.9909, allocations: 83.06 kB / 0.6602 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.991, allocations: 60.39 kB / 0.6603 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.9911, allocations: 11.53 kB / 0.6603 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.9914, allocations: 178.5 kB / 0.6604 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.9915, allocations: 20.67 kB / 0.6605 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.769e-05/0.9916, allocations: 58.91 kB / 0.6605 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.9919, allocations: 220 kB / 0.6607 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.9919, allocations: 1.094 kB / 0.6607 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.908e-06/0.992, allocations: 0 / 0.6607 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.992, allocations: 3.938 kB / 0.6607 GB, free: 12.09 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007492/0.9927, allocations: 0.5641 MB / 0.6613 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.9928, allocations: 12.73 kB / 0.6613 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.993, allocations: 26.36 kB / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.9932, allocations: 207.3 kB / 0.6615 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.9933, allocations: 9.469 kB / 0.6615 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.9933, allocations: 9.344 kB / 0.6615 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.9936, allocations: 123.1 kB / 0.6617 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.9937, allocations: 1.203 kB / 0.6617 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.9937, allocations: 5.625 kB / 0.6617 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.9937, allocations: 3.938 kB / 0.6617 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.994, allocations: 102.2 kB / 0.6618 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.9946, allocations: 373.9 kB / 0.6621 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.9949, allocations: 97.2 kB / 0.6622 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.9951, allocations: 81.58 kB / 0.6623 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.9951, allocations: 0 / 0.6623 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.9952, allocations: 33.44 kB / 0.6623 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.763e-06/0.9952, allocations: 0 / 0.6623 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0007898/0.996, allocations: 310.5 kB / 0.6626 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.9961, allocations: 115.7 kB / 0.6627 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.9962, allocations: 157.1 kB / 0.6629 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.9963, allocations: 27.98 kB / 0.6629 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.9963, allocations: 104 kB / 0.663 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.9964, allocations: 27.11 kB / 0.663 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.9964, allocations: 30.98 kB / 0.6631 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9966, allocations: 325.9 kB / 0.6634 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.9968, allocations: 76.08 kB / 0.6634 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.9971, allocations: 84.91 kB / 0.6635 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.9976, allocations: 346.5 kB / 0.6639 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9976, allocations: 4 kB / 0.6639 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006728/0.9983, allocations: 373.4 kB / 0.6642 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.9984, allocations: 132.9 kB / 0.6643 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.9984, allocations: 0 / 0.6643 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.9985, allocations: 0 / 0.6643 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.9986, allocations: 18.5 kB / 0.6644 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.9986, allocations: 4 kB / 0.6644 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.9988, allocations: 26.25 kB / 0.6644 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.9988, allocations: 8 kB / 0.6644 GB, free: 9.629 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (masFra2.found,masFra2.i_nw,masFra2.i_w,masFra1.found,masFra1.i_nw,masFra1.i_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 4 * 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.0001849/0.999, allocations: 190.9 kB / 0.6646 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.999, allocations: 9.125 kB / 0.6646 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.9991, allocations: 16.59 kB / 0.6646 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.9991, allocations: 0 / 0.6646 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.9991, allocations: 2.016 kB / 0.6646 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.9991, allocations: 6.719 kB / 0.6646 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.9994, allocations: 211.4 kB / 0.6648 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9994, allocations: 0 / 0.6648 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.9995, allocations: 15.12 kB / 0.6648 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.9995, allocations: 0 / 0.6648 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.9995, allocations: 2.062 kB / 0.6648 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.9995, allocations: 0 / 0.6648 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9995, allocations: 4.422 kB / 0.6648 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005728/1, allocations: 380 kB / 0.6652 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.629e-05/1, allocations: 100.7 kB / 0.6653 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/1, allocations: 0 / 0.6653 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/1, allocations: 14.84 kB / 0.6653 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/1, allocations: 8.078 kB / 0.6653 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/1, allocations: 6.875 kB / 0.6653 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.196e-05/1.001, allocations: 113.2 kB / 0.6654 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.001, allocations: 0 / 0.6654 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003473/1.001, allocations: 61.16 kB / 0.6655 GB, free: 8.844 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.0003738/1.001, allocations: 146.1 kB / 0.6656 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000716/1.002, allocations: 461.4 kB / 0.6661 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.002, allocations: 0 / 0.6661 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/1.002, allocations: 218.4 kB / 0.6663 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/1.003, allocations: 44.16 kB / 0.6663 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/1.003, allocations: 336.6 kB / 0.6666 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/1.004, allocations: 0.7092 MB / 0.6673 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.495e-05/1.004, allocations: 2.688 kB / 0.6673 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/1.004, allocations: 10.09 kB / 0.6673 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of SimCode: time 1.613e-06/1.004, allocations: 0 / 0.6673 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of Templates: time 0.005999/1.01, allocations: 2.62 MB / 0.6699 GB, free: 7.258 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)