Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false)
Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo)
Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo)
Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo)
Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo)
Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo)
Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck")
translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7975/0.7975, allocations: 133.7 MB / 148.6 MB, free: 13.63 MB / 122.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001121/0.001121, allocations: 182.9 kB / 180.9 MB, free: 15.05 MB / 154.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.819/1.819, allocations: 170.7 MB / 383.7 MB, free: 16.13 MB / 282.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001641/0.001641, allocations: 113 kB / 454.6 MB, free: 9.703 MB / 346.7 MB
[/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.2461/0.2467, allocations: 73.41 MB / 0.6812 GB, free: 5.531 MB / 474.7 MB
Notification: Performance of FrontEnd - scodeFlatten: time 0.5422/0.7891, allocations: 102.8 MB / 0.7816 GB, free: 23.71 MB / 490.7 MB
Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.7894, allocations: 87.2 kB / 0.7817 GB, free: 23.68 MB / 490.7 MB
Notification: Performance of FrontEnd - DAE generated: time 0.007135/0.7965, allocations: 2.394 MB / 0.784 GB, free: 22.16 MB / 490.7 MB
Notification: Performance of FrontEnd: time 2.174e-06/0.7965, allocations: 0 / 0.784 GB, free: 22.16 MB / 490.7 MB
Notification: Performance of Transformations before backend: time 1.14e-05/0.7966, allocations: 0 / 0.784 GB, free: 22.16 MB / 490.7 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
* Number of equations: 4
* Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0002934/0.7969, allocations: 358 kB / 0.7844 GB, free: 21.78 MB / 490.7 MB
Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7969, allocations: 12.56 kB / 0.7844 GB, free: 21.77 MB / 490.7 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003649/0.7973, allocations: 31.5 kB / 0.7844 GB, free: 21.75 MB / 490.7 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.424e-05/0.7974, allocations: 159.8 kB / 0.7846 GB, free: 21.55 MB / 490.7 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.7974, allocations: 0 / 0.7846 GB, free: 21.55 MB / 490.7 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.7974, allocations: 5.266 kB / 0.7846 GB, free: 21.55 MB / 490.7 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.7976, allocations: 57.3 kB / 0.7846 GB, free: 21.51 MB / 490.7 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7976, allocations: 0 / 0.7846 GB, free: 21.51 MB / 490.7 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.7977, allocations: 4 kB / 0.7846 GB, free: 21.5 MB / 490.7 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.7977, allocations: 3.984 kB / 0.7846 GB, free: 21.5 MB / 490.7 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.7978, allocations: 34.16 kB / 0.7847 GB, free: 21.48 MB / 490.7 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.798, allocations: 168 kB / 0.7848 GB, free: 21.29 MB / 490.7 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.7983, allocations: 67.52 kB / 0.7849 GB, free: 21.23 MB / 490.7 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.7983, allocations: 1.453 kB / 0.7849 GB, free: 21.23 MB / 490.7 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.7983, allocations: 34.56 kB / 0.7849 GB, free: 21.19 MB / 490.7 MB
Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.7983, allocations: 0 / 0.7849 GB, free: 21.19 MB / 490.7 MB
Notification: Performance of matching and sorting (n=6): time 0.003735/0.8021, allocations: 0.5858 MB / 0.7855 GB, free: 20.72 MB / 490.7 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.8021, allocations: 56.75 kB / 0.7856 GB, free: 20.66 MB / 490.7 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.159e-05/0.8022, allocations: 92.31 kB / 0.7857 GB, free: 20.56 MB / 490.7 MB
Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.8022, allocations: 25.7 kB / 0.7857 GB, free: 20.53 MB / 490.7 MB
Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.8022, allocations: 81.39 kB / 0.7858 GB, free: 20.45 MB / 490.7 MB
Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.8022, allocations: 29.06 kB / 0.7858 GB, free: 20.43 MB / 490.7 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-06/0.8023, allocations: 0 / 0.7858 GB, free: 20.43 MB / 490.7 MB
Notification: Performance of setup shared object (initialization): time 5.325e-05/0.8023, allocations: 315.2 kB / 0.7861 GB, free: 20.11 MB / 490.7 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.8024, allocations: 41.42 kB / 0.7861 GB, free: 20.09 MB / 490.7 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.8026, allocations: 35.27 kB / 0.7862 GB, free: 20.07 MB / 490.7 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.8027, allocations: 49.09 kB / 0.7862 GB, free: 20.05 MB / 490.7 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.8027, allocations: 0 / 0.7862 GB, free: 20.05 MB / 490.7 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.000303/0.803, allocations: 123.8 kB / 0.7863 GB, free: 19.96 MB / 490.7 MB
Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.803, allocations: 8 kB / 0.7863 GB, free: 19.96 MB / 490.7 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8031, allocations: 0 / 0.7863 GB, free: 19.96 MB / 490.7 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.8031, allocations: 7.953 kB / 0.7863 GB, free: 19.95 MB / 490.7 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.8033, allocations: 21.42 kB / 0.7864 GB, free: 19.94 MB / 490.7 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.8033, allocations: 4 kB / 0.7864 GB, free: 19.93 MB / 490.7 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.8035, allocations: 5.406 kB / 0.7864 GB, free: 19.93 MB / 490.7 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.8035, allocations: 4.781 kB / 0.7864 GB, free: 19.93 MB / 490.7 MB
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 (7):
* Single equations (assignments): 7
* 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 6.504e-05/0.8036, allocations: 113.3 kB / 0.7865 GB, free: 19.81 MB / 490.7 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.8036, allocations: 0 / 0.7865 GB, free: 19.81 MB / 490.7 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.8037, allocations: 16.84 kB / 0.7865 GB, free: 19.8 MB / 490.7 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.8037, allocations: 3.953 kB / 0.7865 GB, free: 19.8 MB / 490.7 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8037, allocations: 0 / 0.7865 GB, free: 19.8 MB / 490.7 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8037, allocations: 0 / 0.7865 GB, free: 19.8 MB / 490.7 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.8038, allocations: 183.6 kB / 0.7867 GB, free: 19.6 MB / 490.7 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8038, allocations: 4 kB / 0.7867 GB, free: 19.6 MB / 490.7 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.8041, allocations: 29.59 kB / 0.7867 GB, free: 19.58 MB / 490.7 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8041, allocations: 0 / 0.7867 GB, free: 19.58 MB / 490.7 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.8041, allocations: 2.625 kB / 0.7867 GB, free: 19.58 MB / 490.7 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8041, allocations: 3.953 kB / 0.7867 GB, free: 19.57 MB / 490.7 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8041, allocations: 1.219 kB / 0.7867 GB, free: 19.57 MB / 490.7 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.8046, allocations: 198.5 kB / 0.7869 GB, free: 19.43 MB / 490.7 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.8046, allocations: 80.8 kB / 0.787 GB, free: 19.34 MB / 490.7 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.8047, allocations: 5.297 kB / 0.787 GB, free: 19.34 MB / 490.7 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.8048, allocations: 9.391 kB / 0.787 GB, free: 19.33 MB / 490.7 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.8049, allocations: 14.33 kB / 0.787 GB, free: 19.32 MB / 490.7 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.8049, allocations: 6.531 kB / 0.787 GB, free: 19.32 MB / 490.7 MB
Notification: Performance of sorting global known variables: time 1.956e-05/0.8049, allocations: 76.17 kB / 0.7871 GB, free: 19.24 MB / 490.7 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.8049, allocations: 0 / 0.7871 GB, free: 19.24 MB / 490.7 MB
Notification: Performance of remove unused functions: time 0.0002483/0.8052, allocations: 41.2 kB / 0.7871 GB, free: 19.2 MB / 490.7 MB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 1
* Number of states: 1 (y_comp)
* 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 (6):
* Single equations (assignments): 6
* 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.0002023/0.8054, allocations: 144.4 kB / 0.7873 GB, free: 19.06 MB / 490.7 MB
Notification: Performance of simCode: created initialization part: time 0.0003083/0.8057, allocations: 93.42 kB / 0.7874 GB, free: 19.01 MB / 490.7 MB
Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8057, allocations: 0 / 0.7874 GB, free: 19.01 MB / 490.7 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.8059, allocations: 50.12 kB / 0.7874 GB, free: 18.98 MB / 490.7 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.806, allocations: 10.23 kB / 0.7874 GB, free: 18.98 MB / 490.7 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006086/0.8066, allocations: 169.4 kB / 0.7876 GB, free: 18.82 MB / 490.7 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.8068, allocations: 0.6848 MB / 0.7882 GB, free: 18.12 MB / 490.7 MB
Notification: Performance of simCode: alias equations: time 0.0002248/0.807, allocations: 26.89 kB / 0.7883 GB, free: 18.09 MB / 490.7 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.8071, allocations: 18.61 kB / 0.7883 GB, free: 18.09 MB / 490.7 MB
Notification: Performance of SimCode: time 2.21e-07/0.8071, allocations: 3.938 kB / 0.7883 GB, free: 18.08 MB / 490.7 MB
Notification: Performance of Templates: time 0.003885/0.811, allocations: 1.447 MB / 0.7897 GB, free: 17.32 MB / 490.7 MB
make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile
(rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)