Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2002/0.2023, allocations: 80.83 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003029/0.2054, allocations: 1.641 MB / 0.6722 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7279/0.9333, allocations: 151.5 MB / 0.8202 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.9335, allocations: 1.062 kB / 0.8202 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.9337, allocations: 17.28 kB / 0.8202 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-05/0.9337, allocations: 23.22 kB / 0.8202 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.9344, allocations: 169.1 kB / 0.8204 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.9347, allocations: 155.9 kB / 0.8206 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.9348, allocations: 26.16 kB / 0.8206 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.935, allocations: 81.95 kB / 0.8207 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.9352, allocations: 61.78 kB / 0.8207 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.9352, allocations: 10.75 kB / 0.8207 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004749/0.9357, allocations: 196.5 kB / 0.8209 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.9357, allocations: 18.92 kB / 0.8209 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.164e-05/0.9358, allocations: 57.3 kB / 0.821 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.9362, allocations: 225.4 kB / 0.8212 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9362, allocations: 0 / 0.8212 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9363, allocations: 0 / 0.8212 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.9363, allocations: 1.375 kB / 0.8212 GB, free: 5.789 MB / 0.5919 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.001097/0.9374, allocations: 0.5658 MB / 0.8218 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.027e-05/0.9375, allocations: 8 kB / 0.8218 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.9385, allocations: 88.31 kB / 0.8219 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.939, allocations: 206.5 kB / 0.822 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.9391, allocations: 16.69 kB / 0.8221 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.9391, allocations: 7.375 kB / 0.8221 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.9396, allocations: 156.8 kB / 0.8222 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.9396, allocations: 4 kB / 0.8222 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.9397, allocations: 7.125 kB / 0.8222 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.9397, allocations: 2.094 kB / 0.8222 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.9401, allocations: 116.4 kB / 0.8223 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.9408, allocations: 399.7 kB / 0.8227 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.9412, allocations: 104.7 kB / 0.8228 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.9415, allocations: 98.89 kB / 0.8229 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.9415, allocations: 2.812 kB / 0.8229 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.9415, allocations: 30.56 kB / 0.823 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.9415, allocations: 0 / 0.823 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001123/0.9427, allocations: 382.6 kB / 0.8233 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.9427, allocations: 119.3 kB / 0.8234 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.9429, allocations: 151.4 kB / 0.8236 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.9429, allocations: 28.2 kB / 0.8236 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.943, allocations: 106.3 kB / 0.8237 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.9431, allocations: 28.34 kB / 0.8237 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.9432, allocations: 40.28 kB / 0.8238 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9433, allocations: 329.2 kB / 0.8241 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.9436, allocations: 102.1 kB / 0.8242 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.9439, allocations: 102.2 kB / 0.8243 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/0.9446, allocations: 376 kB / 0.8246 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9446, allocations: 1.125 kB / 0.8246 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008897/0.9455, allocations: 429.4 kB / 0.825 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.9457, allocations: 127.9 kB / 0.8252 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.9457, allocations: 0 / 0.8252 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.9457, allocations: 2.5 kB / 0.8252 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.9458, allocations: 11.98 kB / 0.8252 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.9458, allocations: 4 kB / 0.8252 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.946, allocations: 30.55 kB / 0.8252 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.9461, allocations: 12.94 kB / 0.8252 GB, free: 2.613 MB / 0.5919 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.0001695/0.9463, allocations: 184.9 kB / 0.8254 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.9463, allocations: 9.484 kB / 0.8254 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.9464, allocations: 15.64 kB / 0.8254 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.9464, allocations: 6.625 kB / 0.8254 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9464, allocations: 0 / 0.8254 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9464, allocations: 0 / 0.8254 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.9466, allocations: 207.8 kB / 0.8256 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9466, allocations: 4.797 kB / 0.8256 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.9467, allocations: 22.86 kB / 0.8257 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.9467, allocations: 0 / 0.8257 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.9468, allocations: 6.359 kB / 0.8257 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.9468, allocations: 0 / 0.8257 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9468, allocations: 5.062 kB / 0.8257 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.9477, allocations: 425.2 kB / 0.8261 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.9477, allocations: 91.97 kB / 0.8262 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.9478, allocations: 1.156 kB / 0.8262 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.948, allocations: 21.34 kB / 0.8262 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.9481, allocations: 6.562 kB / 0.8262 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.9481, allocations: 6.953 kB / 0.8262 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.037e-05/0.9482, allocations: 110.8 kB / 0.8263 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9482, allocations: 0 / 0.8263 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003335/0.9485, allocations: 53.61 kB / 0.8264 GB, free: 1.613 MB / 0.5919 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.0003314/0.9489, allocations: 140.1 kB / 0.8265 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009178/0.9498, allocations: 0.4909 MB / 0.827 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9498, allocations: 0 / 0.827 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.9502, allocations: 236.1 kB / 0.8272 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.9506, allocations: 41.06 kB / 0.8272 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.9513, allocations: 319.6 kB / 0.8275 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.9516, allocations: 0.7053 MB / 0.8282 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.9517, allocations: 6.734 kB / 0.8282 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.9517, allocations: 13.53 kB / 0.8282 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.9517, allocations: 0 / 0.8282 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of Templates: time 0.006938/0.9587, allocations: 3.277 MB / 0.8314 GB, free: 14.3 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)