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.001364/0.001364, 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.001649/0.001649, allocations: 192.8 kB / 16.14 MB, free: 6.699 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.507/1.507, allocations: 205.1 MB / 222 MB, free: 4.996 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.5901/0.5901, allocations: 95.48 MB / 364.8 MB, free: 10.18 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.002179/0.002179, allocations: 59.92 kB / 444.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3842, allocations: 69.08 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002873/0.3871, allocations: 1.69 MB / 0.5033 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.6478/1.035, allocations: 160.2 MB / 0.6598 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/1.035, allocations: 1.375 kB / 0.6598 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000186/1.035, allocations: 11.81 kB / 0.6598 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/1.036, allocations: 20.58 kB / 0.6598 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008834/1.036, allocations: 146.3 kB / 0.6599 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/1.037, allocations: 130.2 kB / 0.6601 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/1.037, allocations: 27.38 kB / 0.6601 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/1.037, allocations: 72.2 kB / 0.6602 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/1.037, allocations: 56.08 kB / 0.6602 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/1.037, allocations: 5.281 kB / 0.6602 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/1.038, allocations: 178.2 kB / 0.6604 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/1.038, allocations: 16.03 kB / 0.6604 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/1.038, allocations: 58.77 kB / 0.6605 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/1.038, allocations: 218.7 kB / 0.6607 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.038, allocations: 0 / 0.6607 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.031e-06/1.038, allocations: 0 / 0.6607 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.038, allocations: 0 / 0.6607 GB, free: 12.47 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.0007661/1.039, allocations: 0.5673 MB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.039, allocations: 14.14 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/1.039, allocations: 24.41 kB / 0.6613 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/1.04, allocations: 212.4 kB / 0.6615 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/1.04, allocations: 5.125 kB / 0.6615 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/1.04, allocations: 11.69 kB / 0.6615 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/1.04, allocations: 121.4 kB / 0.6616 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/1.04, allocations: 0 / 0.6616 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/1.04, allocations: 2.5 kB / 0.6616 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/1.04, allocations: 2.469 kB / 0.6616 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/1.04, allocations: 110.7 kB / 0.6617 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/1.041, allocations: 365.1 kB / 0.662 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/1.041, allocations: 100.8 kB / 0.6621 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/1.041, allocations: 81.61 kB / 0.6622 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/1.041, allocations: 0 / 0.6622 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/1.041, allocations: 30.56 kB / 0.6623 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/1.042, allocations: 2.531 kB / 0.6623 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0009691/1.042, allocations: 307.1 kB / 0.6625 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.043, allocations: 113.6 kB / 0.6627 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/1.043, allocations: 159.3 kB / 0.6628 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/1.043, allocations: 28.67 kB / 0.6628 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/1.043, allocations: 100.9 kB / 0.6629 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/1.043, allocations: 30.28 kB / 0.663 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/1.043, allocations: 36.97 kB / 0.663 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002111/1.043, allocations: 320 kB / 0.6633 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/1.044, allocations: 79.45 kB / 0.6634 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/1.044, allocations: 79.72 kB / 0.6635 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/1.044, allocations: 351.4 kB / 0.6638 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.045, allocations: 0 / 0.6638 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006614/1.045, allocations: 369.8 kB / 0.6641 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.863e-05/1.045, allocations: 135 kB / 0.6643 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.045, allocations: 4.234 kB / 0.6643 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/1.045, allocations: 0 / 0.6643 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/1.045, allocations: 15.2 kB / 0.6643 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.045, allocations: 3.984 kB / 0.6643 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/1.046, allocations: 22.11 kB / 0.6643 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/1.046, allocations: 9.797 kB / 0.6643 GB, free: 10.01 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.0001502/1.046, allocations: 190.1 kB / 0.6645 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/1.046, allocations: 18.97 kB / 0.6645 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/1.046, allocations: 9.406 kB / 0.6645 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.046, allocations: 0 / 0.6645 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.046, allocations: 0 / 0.6645 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.046, allocations: 0 / 0.6645 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/1.046, allocations: 211.9 kB / 0.6647 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.046, allocations: 0 / 0.6647 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/1.046, allocations: 14.5 kB / 0.6647 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.046, allocations: 0 / 0.6647 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/1.046, allocations: 12.89 kB / 0.6648 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.046, allocations: 5.203 kB / 0.6648 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.046, allocations: 0 / 0.6648 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/1.047, allocations: 375.9 kB / 0.6651 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/1.047, allocations: 103 kB / 0.6652 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/1.047, allocations: 1.812 kB / 0.6652 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/1.047, allocations: 19.58 kB / 0.6652 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/1.047, allocations: 8.562 kB / 0.6652 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/1.047, allocations: 2.781 kB / 0.6653 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.423e-05/1.047, allocations: 116.3 kB / 0.6654 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.047, allocations: 0 / 0.6654 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003316/1.048, allocations: 55.88 kB / 0.6654 GB, free: 9.215 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.0003454/1.048, allocations: 157.3 kB / 0.6656 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006782/1.049, allocations: 456.9 kB / 0.666 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.049, allocations: 0 / 0.666 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/1.049, allocations: 213.3 kB / 0.6662 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/1.049, allocations: 38.7 kB / 0.6662 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/1.05, allocations: 337.8 kB / 0.6666 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/1.05, allocations: 0.7038 MB / 0.6673 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.437e-05/1.05, allocations: 9.656 kB / 0.6673 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/1.05, allocations: 9.531 kB / 0.6673 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/1.05, allocations: 1.203 kB / 0.6673 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.005661/1.056, allocations: 2.493 MB / 0.6697 GB, free: 7.645 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)