Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX")
translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX")
[/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.2246/0.2254, allocations: 82.21 MB / 0.5935 GB, free: 5.992 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00227/0.2277, allocations: 0.9998 MB / 0.5944 GB, free: 4.98 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.6788/0.9066, allocations: 119.6 MB / 0.7112 GB, free: 1.078 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.9067, allocations: 0 / 0.7112 GB, free: 1.078 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.9068, allocations: 0.6094 kB / 0.7112 GB, free: 1.078 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.9069, allocations: 8.094 kB / 0.7112 GB, free: 1.074 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.9073, allocations: 49.03 kB / 0.7113 GB, free: 1.066 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 8.416e-05/0.9074, allocations: 18.08 kB / 0.7113 GB, free: 1.062 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.066e-05/0.9075, allocations: 3.172 kB / 0.7113 GB, free: 1.062 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.765e-05/0.9076, allocations: 17.89 kB / 0.7113 GB, free: 1.055 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.9077, allocations: 6.609 kB / 0.7113 GB, free: 1.055 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.9077, allocations: 0 / 0.7113 GB, free: 1.055 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.9078, allocations: 14.42 kB / 0.7113 GB, free: 1.055 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.9078, allocations: 4.734 kB / 0.7113 GB, free: 1.051 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.908, allocations: 28.55 kB / 0.7114 GB, free: 17.02 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 9.674e-05/0.9081, allocations: 23.14 kB / 0.7114 GB, free: 17.02 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.9081, allocations: 1.172 kB / 0.7114 GB, free: 17.02 MB / 0.545 GB
Notification: Performance of FrontEnd: time 2.494e-06/0.9081, allocations: 0 / 0.7114 GB, free: 17.02 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 7.294e-06/0.9081, allocations: 3.938 kB / 0.7114 GB, free: 17.02 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
* Number of equations: 3
* Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0005115/0.9086, allocations: 334 kB / 0.7117 GB, free: 16.66 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.9087, allocations: 8.844 kB / 0.7117 GB, free: 16.66 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.9087, allocations: 3.438 kB / 0.7117 GB, free: 16.66 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.909, allocations: 164.4 kB / 0.7119 GB, free: 16.46 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.631e-05/0.9091, allocations: 32.22 kB / 0.7119 GB, free: 16.43 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.9091, allocations: 8.672 kB / 0.7119 GB, free: 16.43 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.9092, allocations: 39.27 kB / 0.712 GB, free: 16.39 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.9093, allocations: 1.219 kB / 0.712 GB, free: 16.39 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.9093, allocations: 4 kB / 0.712 GB, free: 16.39 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.9093, allocations: 0 / 0.712 GB, free: 16.39 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.906e-05/0.9094, allocations: 16.86 kB / 0.712 GB, free: 16.39 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.9096, allocations: 153.5 kB / 0.7121 GB, free: 16.2 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.231e-05/0.9097, allocations: 26.2 kB / 0.7122 GB, free: 16.18 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.9097, allocations: 20.27 kB / 0.7122 GB, free: 16.16 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.9099, allocations: 94.41 kB / 0.7123 GB, free: 16.07 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.91, allocations: 37.38 kB / 0.7123 GB, free: 16.02 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.91, allocations: 0 / 0.7123 GB, free: 16.02 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3): time 0.0002552/0.9102, allocations: 53.7 kB / 0.7123 GB, free: 15.99 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.9103, allocations: 54.34 kB / 0.7124 GB, free: 15.93 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.9104, allocations: 95.17 kB / 0.7125 GB, free: 15.83 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.9104, allocations: 29.7 kB / 0.7125 GB, free: 15.8 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.9104, allocations: 83.33 kB / 0.7126 GB, free: 15.71 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.9105, allocations: 13.39 kB / 0.7126 GB, free: 15.71 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.9105, allocations: 0 / 0.7126 GB, free: 15.71 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001194/0.9106, allocations: 310.8 kB / 0.7129 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.9106, allocations: 9.656 kB / 0.7129 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.9107, allocations: 5.297 kB / 0.7129 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.02e-05/0.9107, allocations: 7.969 kB / 0.7129 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.9107, allocations: 9.906 kB / 0.7129 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001095/0.9108, allocations: 53.28 kB / 0.713 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.9109, allocations: 2.688 kB / 0.713 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9109, allocations: 4.922 kB / 0.713 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.9109, allocations: 0 / 0.713 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.911, allocations: 5.656 kB / 0.713 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.911, allocations: 0.6875 kB / 0.713 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.911, allocations: 6.141 kB / 0.713 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.911, allocations: 6.156 kB / 0.713 GB, free: 15.35 MB / 0.545 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 (3):
* Single equations (assignments): 3
* 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.0001348/0.9112, allocations: 114.7 kB / 0.7131 GB, free: 15.23 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.9112, allocations: 7.156 kB / 0.7131 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.9114, allocations: 64.3 kB / 0.7132 GB, free: 15.18 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.9114, allocations: 4.031 kB / 0.7132 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9114, allocations: 4.812 kB / 0.7132 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.9114, allocations: 0.8906 kB / 0.7132 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.9115, allocations: 153.4 kB / 0.7133 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9115, allocations: 0 / 0.7133 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.9116, allocations: 4.578 kB / 0.7134 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.9116, allocations: 8.766 kB / 0.7134 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.9116, allocations: 4.703 kB / 0.7134 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9116, allocations: 0.6094 kB / 0.7134 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9116, allocations: 0 / 0.7134 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.9118, allocations: 83.44 kB / 0.7134 GB, free: 14.9 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.9118, allocations: 80.05 kB / 0.7135 GB, free: 14.81 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.9118, allocations: 0 / 0.7135 GB, free: 14.81 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.781e-05/0.9119, allocations: 11.05 kB / 0.7135 GB, free: 14.8 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.9119, allocations: 5.359 kB / 0.7135 GB, free: 14.8 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.9119, allocations: 0 / 0.7135 GB, free: 14.8 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 3.582e-05/0.912, allocations: 82.19 kB / 0.7136 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of sort global known variables: time 1.11e-07/0.912, allocations: 0 / 0.7136 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.00019/0.9122, allocations: 8.781 kB / 0.7136 GB, free: 14.73 MB / 0.545 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 (3):
* Single equations (assignments): 3
* 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.000213/0.9124, allocations: 110.7 kB / 0.7137 GB, free: 14.64 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0001319/0.9125, allocations: 23.84 kB / 0.7138 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9125, allocations: 0 / 0.7138 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.9126, allocations: 16.08 kB / 0.7138 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.9128, allocations: 6.719 kB / 0.7138 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.9131, allocations: 136.4 kB / 0.7139 GB, free: 14.52 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.9134, allocations: 0.6807 MB / 0.7146 GB, free: 13.82 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 4.167e-05/0.9134, allocations: 2.812 kB / 0.7146 GB, free: 13.82 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.9135, allocations: 10.31 kB / 0.7146 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of SimCode: time 2.3e-07/0.9135, allocations: 1.75 kB / 0.7146 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of Templates: time 0.002675/0.9161, allocations: 479.5 kB / 0.715 GB, free: 13.77 MB / 0.545 GB
make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile
Environment - environmentSimulation:
(rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)
Environment - environmentSimulation: