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.001421/0.001421, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001747/0.001747, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.7194/0.7194, allocations: 95.64 MB / 366 MB, free: 10.34 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.0005896/0.0005897, allocations: 12 kB / 446.8 MB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.37, allocations: 70.35 MB / 0.5051 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001597/0.3717, allocations: 1.332 MB / 0.5064 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5694/0.9411, allocations: 147.5 MB / 0.6504 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.9413, allocations: 0 / 0.6504 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.9415, allocations: 14.5 kB / 0.6504 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.322e-05/0.9416, allocations: 16.48 kB / 0.6504 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008789/0.9425, allocations: 137.9 kB / 0.6506 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.9426, allocations: 122.5 kB / 0.6507 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.9428, allocations: 21.91 kB / 0.6507 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.943, allocations: 72.81 kB / 0.6508 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.9431, allocations: 42.67 kB / 0.6508 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.9431, allocations: 4.75 kB / 0.6508 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.9434, allocations: 170.3 kB / 0.651 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.9435, allocations: 16.39 kB / 0.651 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.9435, allocations: 45.11 kB / 0.651 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.9438, allocations: 156.2 kB / 0.6512 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.9438, allocations: 0.5625 kB / 0.6512 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.9438, allocations: 4 kB / 0.6512 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.9438, allocations: 0 / 0.6512 GB, free: 0.9258 MB / 494.1 MB 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.0008608/0.9447, allocations: 0.5576 MB / 0.6517 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.9447, allocations: 13.23 kB / 0.6518 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.945, allocations: 35.95 kB / 0.6518 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.9453, allocations: 201.6 kB / 0.652 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.9453, allocations: 8.375 kB / 0.652 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.9454, allocations: 7.875 kB / 0.652 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.9458, allocations: 149.4 kB / 0.6521 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.9458, allocations: 0 / 0.6521 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.9458, allocations: 1.5 kB / 0.6521 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.9458, allocations: 0 / 0.6521 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.9462, allocations: 141.5 kB / 0.6523 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.9468, allocations: 361.8 kB / 0.6526 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.9471, allocations: 113.9 kB / 0.6527 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.9473, allocations: 99.45 kB / 0.6528 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.9473, allocations: 0 / 0.6528 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.9473, allocations: 36.16 kB / 0.6529 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.9473, allocations: 0 / 0.6529 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0007423/0.9481, allocations: 362.7 kB / 0.6532 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.9482, allocations: 115.2 kB / 0.6533 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.9483, allocations: 158.2 kB / 0.6535 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.9483, allocations: 28.98 kB / 0.6535 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.9484, allocations: 105.8 kB / 0.6536 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.9484, allocations: 23.7 kB / 0.6536 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/0.9485, allocations: 1.125 kB / 0.6536 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.9486, allocations: 326.7 kB / 0.6539 GB, free: 15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.9488, allocations: 103.3 kB / 0.654 GB, free: 15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.949, allocations: 99.64 kB / 0.6541 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.9494, allocations: 220 kB / 0.6543 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9494, allocations: 0.5 kB / 0.6543 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007828/0.9502, allocations: 412.8 kB / 0.6547 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.9503, allocations: 131.8 kB / 0.6549 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.9503, allocations: 4.625 kB / 0.6549 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.9503, allocations: 0.625 kB / 0.6549 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.9505, allocations: 20.45 kB / 0.6549 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9505, allocations: 0.6562 kB / 0.6549 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.9506, allocations: 32.33 kB / 0.6549 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.9507, allocations: 10.75 kB / 0.6549 GB, free: 14.56 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 (masFra1.i_w,masFra1.i_nw,masFra1.found,masFra2.i_w,masFra2.i_nw,masFra2.found) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.9508, allocations: 184.5 kB / 0.6551 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.9509, allocations: 18.11 kB / 0.6551 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.9509, allocations: 11.16 kB / 0.6551 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.9509, allocations: 3.938 kB / 0.6551 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.9509, allocations: 2.625 kB / 0.6551 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9509, allocations: 48 / 0.6551 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.9511, allocations: 214.9 kB / 0.6553 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9511, allocations: 3.344 kB / 0.6553 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.176e-05/0.9512, allocations: 23.31 kB / 0.6554 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.9512, allocations: 0 / 0.6554 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.9512, allocations: 8.328 kB / 0.6554 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.9512, allocations: 0 / 0.6554 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9512, allocations: 0 / 0.6554 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.9517, allocations: 402.5 kB / 0.6558 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/0.9518, allocations: 109 kB / 0.6559 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.9519, allocations: 5.266 kB / 0.6559 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.952, allocations: 26.67 kB / 0.6559 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.9521, allocations: 2.594 kB / 0.6559 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.9521, allocations: 6.781 kB / 0.6559 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.637e-05/0.9522, allocations: 112.7 kB / 0.656 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9522, allocations: 0 / 0.656 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000308/0.9525, allocations: 58.06 kB / 0.6561 GB, free: 13.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002845/0.9528, allocations: 147.2 kB / 0.6562 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006672/0.9534, allocations: 497.9 kB / 0.6567 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9535, allocations: 0 / 0.6567 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.9537, allocations: 234.5 kB / 0.6569 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.9541, allocations: 31.62 kB / 0.6569 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.9546, allocations: 340.9 kB / 0.6573 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.9548, allocations: 0.7037 MB / 0.6579 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.053e-05/0.9549, allocations: 10.41 kB / 0.6579 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.9549, allocations: 10.34 kB / 0.658 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.9549, allocations: 0 / 0.658 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.005005/0.9599, allocations: 2.426 MB / 0.6603 GB, free: 12.21 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: