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.1873/0.1881, allocations: 82.22 MB / 0.5934 GB, free: 5.98 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001332/0.1894, allocations: 0.9862 MB / 0.5943 GB, free: 4.984 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.5278/0.7173, allocations: 111.9 MB / 0.7036 GB, free: 3.586 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.7174, allocations: 0 / 0.7036 GB, free: 3.586 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.7174, allocations: 6.344 kB / 0.7036 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 6.023e-05/0.7175, allocations: 7.438 kB / 0.7036 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.7178, allocations: 46.94 kB / 0.7037 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 6.91e-05/0.7179, allocations: 17.48 kB / 0.7037 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.718, allocations: 5.406 kB / 0.7037 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.718, allocations: 4.547 kB / 0.7037 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.7181, allocations: 18.55 kB / 0.7037 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.7181, allocations: 0 / 0.7037 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.86e-05/0.7182, allocations: 10.77 kB / 0.7037 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.7182, allocations: 4.625 kB / 0.7037 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.7182, allocations: 35.58 kB / 0.7038 GB, free: 3.547 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 8.188e-05/0.7183, allocations: 20.09 kB / 0.7038 GB, free: 3.547 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7183, allocations: 0 / 0.7038 GB, free: 3.547 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 2.484e-06/0.7183, allocations: 0 / 0.7038 GB, free: 3.547 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 4.328e-06/0.7184, allocations: 0 / 0.7038 GB, free: 3.547 MB / 0.5294 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.0006258/0.719, allocations: 333.4 kB / 0.7041 GB, free: 19.2 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.719, allocations: 10.36 kB / 0.7041 GB, free: 19.2 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.7191, allocations: 1.219 kB / 0.7041 GB, free: 19.2 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.7192, allocations: 164.2 kB / 0.7043 GB, free: 19 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.542e-05/0.7193, allocations: 34.83 kB / 0.7043 GB, free: 18.96 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.7193, allocations: 3.188 kB / 0.7043 GB, free: 18.96 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.7195, allocations: 42.67 kB / 0.7044 GB, free: 18.93 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.7195, allocations: 0 / 0.7044 GB, free: 18.93 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.7195, allocations: 0 / 0.7044 GB, free: 18.93 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7195, allocations: 0 / 0.7044 GB, free: 18.93 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/0.7196, allocations: 15.91 kB / 0.7044 GB, free: 18.93 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.7198, allocations: 155.6 kB / 0.7045 GB, free: 18.73 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.296e-05/0.7199, allocations: 31.69 kB / 0.7046 GB, free: 18.71 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.7201, allocations: 95.56 kB / 0.7046 GB, free: 18.61 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.7201, allocations: 35.19 kB / 0.7047 GB, free: 18.57 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.7201, allocations: 3.938 kB / 0.7047 GB, free: 18.57 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3): time 0.0002358/0.7203, allocations: 58.27 kB / 0.7047 GB, free: 18.54 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.7204, allocations: 57.94 kB / 0.7048 GB, free: 18.47 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.7205, allocations: 94.66 kB / 0.7049 GB, free: 18.38 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.7205, allocations: 30.28 kB / 0.7049 GB, free: 18.34 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.7205, allocations: 80.14 kB / 0.705 GB, free: 18.26 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.7206, allocations: 14.5 kB / 0.705 GB, free: 18.25 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.7206, allocations: 0 / 0.705 GB, free: 18.25 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001266/0.7207, allocations: 311.9 kB / 0.7053 GB, free: 17.94 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.7208, allocations: 12.52 kB / 0.7053 GB, free: 17.94 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.7208, allocations: 8.438 kB / 0.7053 GB, free: 17.94 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/0.7209, allocations: 8.094 kB / 0.7053 GB, free: 17.94 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7209, allocations: 0.6094 kB / 0.7053 GB, free: 17.94 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001123/0.721, allocations: 52.3 kB / 0.7054 GB, free: 17.91 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.721, allocations: 7.641 kB / 0.7054 GB, free: 17.9 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.721, allocations: 0 / 0.7054 GB, free: 17.9 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.721, allocations: 3.578 kB / 0.7054 GB, free: 17.9 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.7211, allocations: 6.609 kB / 0.7054 GB, free: 17.9 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7211, allocations: 4.609 kB / 0.7054 GB, free: 17.9 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.7212, allocations: 7.609 kB / 0.7054 GB, free: 17.89 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.7212, allocations: 0 / 0.7054 GB, free: 17.89 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 7.903e-05/0.7212, allocations: 111.7 kB / 0.7055 GB, free: 17.78 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.7213, allocations: 3.5 kB / 0.7055 GB, free: 17.78 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.7214, allocations: 61.84 kB / 0.7056 GB, free: 17.73 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.7214, allocations: 3.25 kB / 0.7056 GB, free: 17.73 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.7214, allocations: 1.719 kB / 0.7056 GB, free: 17.73 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.7215, allocations: 4 kB / 0.7056 GB, free: 17.73 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.998e-05/0.7215, allocations: 151.4 kB / 0.7057 GB, free: 17.54 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7216, allocations: 0.8438 kB / 0.7057 GB, free: 17.54 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.7216, allocations: 6.375 kB / 0.7057 GB, free: 17.54 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.7216, allocations: 1.641 kB / 0.7057 GB, free: 17.54 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.7216, allocations: 1.078 kB / 0.7057 GB, free: 17.54 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.7216, allocations: 7.766 kB / 0.7057 GB, free: 17.54 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7216, allocations: 1.031 kB / 0.7057 GB, free: 17.54 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.7218, allocations: 85.56 kB / 0.7058 GB, free: 17.46 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.7219, allocations: 81.38 kB / 0.7059 GB, free: 17.37 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.7219, allocations: 0.5156 kB / 0.7059 GB, free: 17.37 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.747e-05/0.7219, allocations: 0.8906 kB / 0.7059 GB, free: 17.37 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.722, allocations: 7.859 kB / 0.7059 GB, free: 17.37 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.722, allocations: 1.562 kB / 0.7059 GB, free: 17.37 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 3.443e-05/0.722, allocations: 83.39 kB / 0.706 GB, free: 17.29 MB / 0.545 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.722, allocations: 0 / 0.706 GB, free: 17.29 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0001804/0.7222, allocations: 15.59 kB / 0.706 GB, free: 17.29 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.0001528/0.7224, allocations: 108.6 kB / 0.7061 GB, free: 17.2 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0001356/0.7225, allocations: 26.44 kB / 0.7061 GB, free: 17.2 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7225, allocations: 0 / 0.7061 GB, free: 17.2 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 4.32e-05/0.7225, allocations: 8.531 kB / 0.7061 GB, free: 17.2 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.7227, allocations: 7.344 kB / 0.7062 GB, free: 17.2 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.723, allocations: 147.9 kB / 0.7063 GB, free: 17.08 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.7233, allocations: 0.6761 MB / 0.707 GB, free: 16.38 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.955e-05/0.7233, allocations: 5.266 kB / 0.707 GB, free: 16.38 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.7233, allocations: 14.47 kB / 0.707 GB, free: 16.37 MB / 0.545 GB
Notification: Performance of SimCode: time 2.11e-07/0.7233, allocations: 0 / 0.707 GB, free: 16.37 MB / 0.545 GB
Notification: Performance of Templates: time 0.00257/0.7259, allocations: 476.7 kB / 0.7074 GB, free: 16.34 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: