Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001373/0.001373, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001671/0.001671, allocations: 177.3 kB / 15.95 MB, free: 216 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.632/1.632, 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 8.1.4-maint.8.1.x/package.mo): time 1.919/1.919, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.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: Performance of FrontEnd - loaded program: time 0.000548/0.000548, allocations: 12.72 kB / 0.6735 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2651, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001637/0.2668, allocations: 1.313 MB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6966/0.9634, allocations: 127.9 MB / 0.9133 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.9635, allocations: 1.469 kB / 0.9133 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.9637, allocations: 15.19 kB / 0.9133 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.964, allocations: 45.44 kB / 0.9133 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.9644, allocations: 121.1 kB / 0.9135 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.9646, allocations: 81.59 kB / 0.9135 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.9648, allocations: 29.77 kB / 0.9136 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.965, allocations: 95.7 kB / 0.9137 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.071e-05/0.9651, allocations: 31.8 kB / 0.9137 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.9651, allocations: 7.5 kB / 0.9137 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.9656, allocations: 189.2 kB / 0.9139 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.9656, allocations: 17.78 kB / 0.9139 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.966, allocations: 42.14 kB / 0.9139 GB, free: 21.79 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.9662, allocations: 133 kB / 0.9141 GB, free: 21.78 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.9662, allocations: 0 / 0.9141 GB, free: 21.78 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9662, allocations: 0 / 0.9141 GB, free: 21.78 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.9663, allocations: 1.062 kB / 0.9141 GB, free: 21.78 MB / 0.7325 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.0006826/0.9669, allocations: 441 kB / 0.9145 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.967, allocations: 8.469 kB / 0.9145 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009324/0.9679, allocations: 81.27 kB / 0.9146 GB, free: 21.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.9682, allocations: 200.2 kB / 0.9148 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.9682, allocations: 13.94 kB / 0.9148 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.9683, allocations: 8.844 kB / 0.9148 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.9688, allocations: 148.7 kB / 0.9149 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.9688, allocations: 3.297 kB / 0.9149 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.9688, allocations: 3.953 kB / 0.9149 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.9688, allocations: 2.5 kB / 0.9149 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.9694, allocations: 153.9 kB / 0.9151 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.9703, allocations: 414.5 kB / 0.9155 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007536/0.971, allocations: 256.5 kB / 0.9157 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.9711, allocations: 8.234 kB / 0.9157 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.9711, allocations: 38.22 kB / 0.9158 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.9711, allocations: 0 / 0.9158 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0008785/0.972, allocations: 244 kB / 0.916 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.9721, allocations: 52.44 kB / 0.916 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.9722, allocations: 145.2 kB / 0.9162 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.9723, allocations: 26.86 kB / 0.9162 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.9723, allocations: 105.2 kB / 0.9163 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.9724, allocations: 25.27 kB / 0.9163 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.9724, allocations: 8.078 kB / 0.9163 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.9725, allocations: 325.5 kB / 0.9167 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.9728, allocations: 61.97 kB / 0.9167 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.973, allocations: 95.23 kB / 0.9168 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.9733, allocations: 68.69 kB / 0.9169 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.9733, allocations: 0.8125 kB / 0.9169 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005469/0.9739, allocations: 177.5 kB / 0.917 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9739, allocations: 4.906 kB / 0.917 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9739, allocations: 0.6875 kB / 0.917 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.9739, allocations: 1.125 kB / 0.917 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.9741, allocations: 39.59 kB / 0.9171 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.9742, allocations: 0.75 kB / 0.9171 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.9743, allocations: 29.39 kB / 0.9171 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.9743, allocations: 7.422 kB / 0.9171 GB, free: 19.93 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001307/0.9745, allocations: 125.3 kB / 0.9172 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.9745, allocations: 8.375 kB / 0.9172 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.8e-05/0.9746, allocations: 18.22 kB / 0.9173 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.9746, allocations: 2.156 kB / 0.9173 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.9746, allocations: 0 / 0.9173 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.9747, allocations: 1.125 kB / 0.9173 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.9757, allocations: 492.1 kB / 0.9177 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9757, allocations: 1.062 kB / 0.9177 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.9759, allocations: 36.09 kB / 0.9178 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.9759, allocations: 0.7812 kB / 0.9178 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.976, allocations: 6.766 kB / 0.9178 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.976, allocations: 0.7812 kB / 0.9178 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.976, allocations: 0.875 kB / 0.9178 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006293/0.9766, allocations: 284.6 kB / 0.9181 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.9767, allocations: 84.61 kB / 0.9181 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.9767, allocations: 6.062 kB / 0.9181 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.9769, allocations: 22.33 kB / 0.9182 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.977, allocations: 9.234 kB / 0.9182 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.977, allocations: 6 kB / 0.9182 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001039/0.9771, allocations: 113.5 kB / 0.9183 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9771, allocations: 1.594 kB / 0.9183 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003414/0.9775, allocations: 37.75 kB / 0.9183 GB, free: 19.15 MB / 0.7325 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0002258/0.9777, allocations: 109.9 kB / 0.9184 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005572/0.9783, allocations: 150.2 kB / 0.9186 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9783, allocations: 0 / 0.9186 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.9785, allocations: 71.41 kB / 0.9186 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.9789, allocations: 38.25 kB / 0.9187 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006753/0.9796, allocations: 271.6 kB / 0.9189 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.98, allocations: 0.7024 MB / 0.9196 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.9801, allocations: 26.39 kB / 0.9196 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.9802, allocations: 16.67 kB / 0.9197 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.9802, allocations: 0 / 0.9197 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of Templates: time 0.005007/0.9852, allocations: 1.684 MB / 0.9213 GB, free: 18.07 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) Environment - environmentSimulation: