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.001619/0.001619, 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.001926/0.001926, allocations: 196.2 kB / 16.53 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.589/1.589, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.6603/0.6603, allocations: 95.48 MB / 365.2 MB, free: 9.887 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.00183/0.00183, allocations: 72.42 kB / 445.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4329, allocations: 69.08 MB / 0.5024 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002894/0.4359, allocations: 1.648 MB / 0.504 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.6887/1.125, allocations: 162.2 MB / 0.6624 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/1.125, allocations: 2.344 kB / 0.6624 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/1.125, allocations: 14.02 kB / 0.6624 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.367e-05/1.125, allocations: 23.47 kB / 0.6624 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007847/1.126, allocations: 177.6 kB / 0.6626 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/1.126, allocations: 152.3 kB / 0.6628 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/1.126, allocations: 35.14 kB / 0.6628 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/1.126, allocations: 83.8 kB / 0.6629 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/1.127, allocations: 54.38 kB / 0.6629 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/1.127, allocations: 9.719 kB / 0.6629 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/1.127, allocations: 178.4 kB / 0.6631 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/1.127, allocations: 20.39 kB / 0.6631 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/1.127, allocations: 54.86 kB / 0.6632 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003374/1.127, allocations: 216.6 kB / 0.6634 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.127, allocations: 1.203 kB / 0.6634 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/1.127, allocations: 0 / 0.6634 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.981e-06/1.128, allocations: 0 / 0.6634 GB, free: 13.04 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.0007958/1.128, allocations: 0.5705 MB / 0.6639 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.128, allocations: 16.84 kB / 0.664 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/1.129, allocations: 27.47 kB / 0.664 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/1.129, allocations: 209 kB / 0.6642 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/1.129, allocations: 5.094 kB / 0.6642 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/1.129, allocations: 11.12 kB / 0.6642 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/1.129, allocations: 125.4 kB / 0.6643 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.129, allocations: 2.484 kB / 0.6643 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/1.129, allocations: 1.094 kB / 0.6643 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.129, allocations: 6.719 kB / 0.6643 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003212/1.13, allocations: 103.4 kB / 0.6644 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/1.13, allocations: 370.8 kB / 0.6648 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/1.13, allocations: 95.23 kB / 0.6649 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/1.131, allocations: 80.05 kB / 0.665 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/1.131, allocations: 2.562 kB / 0.665 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.131, allocations: 33.75 kB / 0.665 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/1.131, allocations: 0 / 0.665 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0007531/1.131, allocations: 311.2 kB / 0.6653 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/1.132, allocations: 113.8 kB / 0.6654 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/1.132, allocations: 154.4 kB / 0.6655 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/1.132, allocations: 33.98 kB / 0.6656 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/1.132, allocations: 98.05 kB / 0.6657 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/1.132, allocations: 30.14 kB / 0.6657 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/1.132, allocations: 35.91 kB / 0.6657 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.132, allocations: 323.3 kB / 0.666 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/1.132, allocations: 80.8 kB / 0.6661 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/1.132, allocations: 82.06 kB / 0.6662 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/1.133, allocations: 344.9 kB / 0.6665 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.133, allocations: 0 / 0.6665 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005989/1.134, allocations: 366 kB / 0.6669 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/1.134, allocations: 129.6 kB / 0.667 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.134, allocations: 2.75 kB / 0.667 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.134, allocations: 0 / 0.667 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/1.134, allocations: 24.08 kB / 0.667 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/1.134, allocations: 0 / 0.667 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/1.134, allocations: 22.23 kB / 0.667 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/1.134, allocations: 5.062 kB / 0.667 GB, free: 10.58 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.0001527/1.134, allocations: 189.7 kB / 0.6672 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/1.134, allocations: 8.781 kB / 0.6672 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/1.134, allocations: 14.11 kB / 0.6672 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.134, allocations: 0 / 0.6672 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.134, allocations: 6.719 kB / 0.6673 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/1.134, allocations: 0 / 0.6673 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/1.135, allocations: 212.9 kB / 0.6675 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.135, allocations: 0 / 0.6675 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/1.135, allocations: 14.48 kB / 0.6675 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/1.135, allocations: 48 / 0.6675 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/1.135, allocations: 6.078 kB / 0.6675 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.135, allocations: 2.484 kB / 0.6675 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.135, allocations: 5.578 kB / 0.6675 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/1.135, allocations: 390.8 kB / 0.6679 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/1.135, allocations: 96.44 kB / 0.6679 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/1.135, allocations: 3.188 kB / 0.668 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/1.136, allocations: 13.44 kB / 0.668 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/1.136, allocations: 11.38 kB / 0.668 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/1.136, allocations: 2.75 kB / 0.668 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.879e-05/1.136, allocations: 113.4 kB / 0.6681 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.136, allocations: 0 / 0.6681 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003213/1.136, allocations: 59.36 kB / 0.6681 GB, free: 9.785 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.0003976/1.136, allocations: 151 kB / 0.6683 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007026/1.137, allocations: 465.5 kB / 0.6687 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.137, allocations: 0 / 0.6687 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000296/1.137, allocations: 213.4 kB / 0.6689 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/1.138, allocations: 40.94 kB / 0.669 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/1.139, allocations: 315.8 kB / 0.6693 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/1.139, allocations: 0.7015 MB / 0.67 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.019e-05/1.139, allocations: 6.812 kB / 0.67 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/1.139, allocations: 12.75 kB / 0.67 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/1.139, allocations: 0 / 0.67 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of Templates: time 0.006079/1.145, allocations: 2.706 MB / 0.6726 GB, free: 8.23 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)