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.00131/0.001311, 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.01068/0.01068, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.732/1.732, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.5956/0.5956, allocations: 95.63 MB / 366.4 MB, free: 10.23 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.0005088/0.0005088, allocations: 20 kB / 447.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4016, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001614/0.4033, allocations: 1.351 MB / 0.507 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.637/1.04, allocations: 158.4 MB / 0.6616 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/1.04, allocations: 3.469 kB / 0.6617 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/1.041, allocations: 16.67 kB / 0.6617 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-05/1.041, allocations: 16.11 kB / 0.6617 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008845/1.042, allocations: 145.3 kB / 0.6618 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002906/1.042, allocations: 128.5 kB / 0.6619 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/1.042, allocations: 28.33 kB / 0.662 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/1.042, allocations: 70.91 kB / 0.662 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/1.042, allocations: 48 kB / 0.6621 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/1.042, allocations: 4.594 kB / 0.6621 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/1.043, allocations: 181.1 kB / 0.6623 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/1.043, allocations: 12.14 kB / 0.6623 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/1.043, allocations: 74.34 kB / 0.6623 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005488/1.044, allocations: 218.1 kB / 0.6626 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.044, allocations: 0 / 0.6626 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/1.044, allocations: 0 / 0.6626 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.044, allocations: 0 / 0.6626 GB, free: 12.33 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.0009793/1.045, allocations: 0.5607 MB / 0.6631 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.796e-05/1.045, allocations: 11.39 kB / 0.6631 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/1.045, allocations: 26.39 kB / 0.6631 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/1.046, allocations: 208.9 kB / 0.6633 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/1.046, allocations: 5.625 kB / 0.6633 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/1.046, allocations: 11.97 kB / 0.6634 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/1.046, allocations: 132.6 kB / 0.6635 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.046, allocations: 0 / 0.6635 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/1.046, allocations: 7.5 kB / 0.6635 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/1.046, allocations: 3.344 kB / 0.6635 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/1.046, allocations: 128.6 kB / 0.6636 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/1.047, allocations: 367.7 kB / 0.664 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/1.047, allocations: 111.2 kB / 0.6641 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/1.048, allocations: 88.59 kB / 0.6642 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/1.048, allocations: 7.984 kB / 0.6642 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/1.048, allocations: 30.56 kB / 0.6642 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/1.048, allocations: 3 kB / 0.6642 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0008447/1.048, allocations: 331.2 kB / 0.6645 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/1.049, allocations: 117.5 kB / 0.6646 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/1.049, allocations: 163.6 kB / 0.6648 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/1.049, allocations: 28.36 kB / 0.6648 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/1.049, allocations: 97.72 kB / 0.6649 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/1.049, allocations: 31.77 kB / 0.6649 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/1.049, allocations: 21.55 kB / 0.6649 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.049, allocations: 325.9 kB / 0.6653 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/1.049, allocations: 93.94 kB / 0.6653 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/1.05, allocations: 91.38 kB / 0.6654 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/1.05, allocations: 364.8 kB / 0.6658 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.05, allocations: 0 / 0.6658 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000651/1.051, allocations: 395.6 kB / 0.6662 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/1.051, allocations: 130 kB / 0.6663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.051, allocations: 0 / 0.6663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1.051, allocations: 2.906 kB / 0.6663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/1.051, allocations: 18.44 kB / 0.6663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/1.051, allocations: 3.938 kB / 0.6663 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/1.051, allocations: 32.03 kB / 0.6663 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/1.051, allocations: 14.09 kB / 0.6664 GB, free: 9.852 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.0001706/1.051, allocations: 191.1 kB / 0.6665 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/1.052, allocations: 11.5 kB / 0.6665 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/1.052, allocations: 13.09 kB / 0.6666 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/1.052, allocations: 0 / 0.6666 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.052, allocations: 0 / 0.6666 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.052, allocations: 6.484 kB / 0.6666 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/1.052, allocations: 214.5 kB / 0.6668 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.052, allocations: 0 / 0.6668 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/1.052, allocations: 18.53 kB / 0.6668 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.052, allocations: 0 / 0.6668 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/1.052, allocations: 3.031 kB / 0.6668 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.052, allocations: 0 / 0.6668 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.052, allocations: 0 / 0.6668 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/1.053, allocations: 402.7 kB / 0.6672 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.694e-05/1.053, allocations: 98.41 kB / 0.6673 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/1.053, allocations: 2.438 kB / 0.6673 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/1.053, allocations: 21.75 kB / 0.6673 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/1.053, allocations: 5.016 kB / 0.6673 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/1.053, allocations: 6.938 kB / 0.6673 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.287e-05/1.053, allocations: 118.9 kB / 0.6674 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.053, allocations: 0 / 0.6674 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003721/1.053, allocations: 61.61 kB / 0.6675 GB, free: 9.059 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.0003974/1.054, allocations: 150.2 kB / 0.6676 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007647/1.055, allocations: 481 kB / 0.6681 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.055, allocations: 0 / 0.6681 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003381/1.055, allocations: 232.6 kB / 0.6683 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/1.055, allocations: 32.66 kB / 0.6683 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/1.056, allocations: 349 kB / 0.6687 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/1.056, allocations: 0.7043 MB / 0.6693 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.215e-05/1.057, allocations: 2.75 kB / 0.6694 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/1.057, allocations: 12.59 kB / 0.6694 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/1.057, allocations: 2.734 kB / 0.6694 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of Templates: time 0.006461/1.063, allocations: 2.489 MB / 0.6718 GB, free: 7.094 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: