Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis")
translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8776/0.8776, allocations: 132.4 MB / 139.9 MB, free: 2.809 MB / 106.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001044/0.001044, allocations: 171.6 kB / 171.8 MB, free: 4.953 MB / 138.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.528/1.528, allocations: 170.6 MB / 374.2 MB, free: 184 kB / 282.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001827/0.001827, allocations: 110.2 kB / 444.8 MB, free: 14.16 MB / 314.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.1741/0.1741, allocations: 73.41 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB
Notification: Performance of FrontEnd - scodeFlatten: time 0.578/0.7522, allocations: 106.5 MB / 0.7706 GB, free: 9.117 MB / 474.7 MB
Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.7525, allocations: 74.55 kB / 0.7707 GB, free: 9.047 MB / 474.7 MB
Notification: Performance of FrontEnd - DAE generated: time 0.02114/0.7736, allocations: 8.081 MB / 0.7786 GB, free: 0.9297 MB / 474.7 MB
Notification: Performance of FrontEnd: time 1.192e-06/0.7737, allocations: 0 / 0.7786 GB, free: 0.9297 MB / 474.7 MB
Notification: Performance of Transformations before backend: time 2.676e-05/0.7737, allocations: 8 kB / 0.7786 GB, free: 0.9219 MB / 474.7 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
* Number of equations: 69
* Number of variables: 69
Notification: Performance of Generate backend data structure: time 0.0008661/0.7746, allocations: 0.5923 MB / 0.7792 GB, free: 292 kB / 474.7 MB
Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7746, allocations: 8.031 kB / 0.7792 GB, free: 284 kB / 474.7 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.898e-05/0.7747, allocations: 47.44 kB / 0.7792 GB, free: 236 kB / 474.7 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006724/0.7754, allocations: 380.1 kB / 0.7796 GB, free: 15.82 MB / 490.7 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.7754, allocations: 12 kB / 0.7796 GB, free: 15.81 MB / 490.7 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.7755, allocations: 20 kB / 0.7796 GB, free: 15.79 MB / 490.7 MB
Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003749/0.7759, allocations: 177.1 kB / 0.7798 GB, free: 15.61 MB / 490.7 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.7764, allocations: 268.3 kB / 0.78 GB, free: 15.34 MB / 490.7 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.7764, allocations: 0 / 0.78 GB, free: 15.34 MB / 490.7 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.7764, allocations: 0 / 0.78 GB, free: 15.34 MB / 490.7 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.7764, allocations: 8 kB / 0.78 GB, free: 15.33 MB / 490.7 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.778, allocations: 0.931 MB / 0.7809 GB, free: 14.34 MB / 490.7 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.7784, allocations: 215.2 kB / 0.7811 GB, free: 14.12 MB / 490.7 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.7786, allocations: 89.23 kB / 0.7812 GB, free: 14.04 MB / 490.7 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.7787, allocations: 192 / 0.7812 GB, free: 14.04 MB / 490.7 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.7787, allocations: 42.73 kB / 0.7813 GB, free: 13.98 MB / 490.7 MB
Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.7787, allocations: 0 / 0.7813 GB, free: 13.98 MB / 490.7 MB
Notification: Performance of matching and sorting (n=21): time 0.0004145/0.7791, allocations: 197.7 kB / 0.7815 GB, free: 13.79 MB / 490.7 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/0.7792, allocations: 129.4 kB / 0.7816 GB, free: 13.63 MB / 490.7 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.7796, allocations: 257.2 kB / 0.7818 GB, free: 13.37 MB / 490.7 MB
Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.7796, allocations: 29.7 kB / 0.7819 GB, free: 13.34 MB / 490.7 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.7798, allocations: 208 kB / 0.7821 GB, free: 13.13 MB / 490.7 MB
Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.7798, allocations: 66.92 kB / 0.7821 GB, free: 13.06 MB / 490.7 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.7799, allocations: 0 / 0.7821 GB, free: 13.06 MB / 490.7 MB
Notification: Performance of setup shared object (initialization): time 0.0001603/0.78, allocations: 346.8 kB / 0.7825 GB, free: 12.71 MB / 490.7 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.7801, allocations: 60 kB / 0.7825 GB, free: 12.66 MB / 490.7 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.7803, allocations: 108.3 kB / 0.7826 GB, free: 12.54 MB / 490.7 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.7804, allocations: 67.86 kB / 0.7827 GB, free: 12.47 MB / 490.7 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7804, allocations: 4 kB / 0.7827 GB, free: 12.46 MB / 490.7 MB
Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003242/0.7808, allocations: 206 kB / 0.7829 GB, free: 12.26 MB / 490.7 MB
Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.7808, allocations: 4 kB / 0.7829 GB, free: 12.25 MB / 490.7 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.7808, allocations: 4 kB / 0.7829 GB, free: 12.25 MB / 490.7 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.7808, allocations: 0 / 0.7829 GB, free: 12.25 MB / 490.7 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.7811, allocations: 55.94 kB / 0.7829 GB, free: 12.2 MB / 490.7 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.7811, allocations: 4 kB / 0.7829 GB, free: 12.19 MB / 490.7 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.7813, allocations: 27.83 kB / 0.783 GB, free: 12.16 MB / 490.7 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.7813, allocations: 11.98 kB / 0.783 GB, free: 12.15 MB / 490.7 MB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 2
* Number of states: 0 ()
* Number of discrete variables: 2 ($PRE.con.hys.y,con.hys.y)
* Number of discrete states: 0 ()
* Top-level inputs: 0
Notification: Strong component statistics for initialization (25):
* Single equations (assignments): 25
* 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.0001156/0.7814, allocations: 108.9 kB / 0.7831 GB, free: 12.04 MB / 490.7 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.7815, allocations: 31.72 kB / 0.7831 GB, free: 12.01 MB / 490.7 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.471e-05/0.7816, allocations: 34.95 kB / 0.7831 GB, free: 11.98 MB / 490.7 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7816, allocations: 4 kB / 0.7832 GB, free: 11.97 MB / 490.7 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7816, allocations: 0 / 0.7832 GB, free: 11.97 MB / 490.7 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7816, allocations: 0 / 0.7832 GB, free: 11.97 MB / 490.7 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.7821, allocations: 357.8 kB / 0.7835 GB, free: 11.59 MB / 490.7 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7821, allocations: 0 / 0.7835 GB, free: 11.59 MB / 490.7 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.7823, allocations: 43.97 kB / 0.7835 GB, free: 11.54 MB / 490.7 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.7823, allocations: 4 kB / 0.7835 GB, free: 11.54 MB / 490.7 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.7823, allocations: 4 kB / 0.7835 GB, free: 11.54 MB / 490.7 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7824, allocations: 3.938 kB / 0.7835 GB, free: 11.53 MB / 490.7 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7824, allocations: 0 / 0.7835 GB, free: 11.53 MB / 490.7 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.7829, allocations: 399.1 kB / 0.7839 GB, free: 11.12 MB / 490.7 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.783, allocations: 132.7 kB / 0.7841 GB, free: 10.98 MB / 490.7 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.7831, allocations: 3.984 kB / 0.7841 GB, free: 10.97 MB / 490.7 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.7833, allocations: 28.05 kB / 0.7841 GB, free: 10.95 MB / 490.7 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.7834, allocations: 19.97 kB / 0.7841 GB, free: 10.93 MB / 490.7 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.7834, allocations: 4 kB / 0.7841 GB, free: 10.92 MB / 490.7 MB
Notification: Performance of sorting global known variables: time 0.0002019/0.7836, allocations: 204.6 kB / 0.7843 GB, free: 10.72 MB / 490.7 MB
Notification: Performance of sort global known variables: time 1.4e-07/0.7836, allocations: 0 / 0.7843 GB, free: 10.72 MB / 490.7 MB
Notification: Performance of remove unused functions: time 0.0003015/0.7839, allocations: 71.69 kB / 0.7844 GB, free: 10.65 MB / 490.7 MB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 1
* Number of states: 2 (con.PID.I.y,cap.T)
* Number of discrete variables: 1 (con.hys.y)
* Number of discrete states: 1 (con.hys.y)
* Top-level inputs: 0
Notification: Strong component statistics for simulation (21):
* Single equations (assignments): 21
* 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.0001456/0.7841, allocations: 103.2 kB / 0.7845 GB, free: 10.54 MB / 490.7 MB
Notification: Performance of simCode: created initialization part: time 0.0002927/0.7844, allocations: 159.9 kB / 0.7846 GB, free: 10.39 MB / 490.7 MB
Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7844, allocations: 0 / 0.7846 GB, free: 10.39 MB / 490.7 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.7845, allocations: 83.94 kB / 0.7847 GB, free: 10.3 MB / 490.7 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.7849, allocations: 57.78 kB / 0.7848 GB, free: 10.25 MB / 490.7 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009693/0.7859, allocations: 489.7 kB / 0.7852 GB, free: 9.746 MB / 490.7 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.7863, allocations: 0.799 MB / 0.786 GB, free: 8.918 MB / 490.7 MB
Notification: Performance of simCode: alias equations: time 0.0001191/0.7864, allocations: 30.06 kB / 0.786 GB, free: 8.891 MB / 490.7 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.7865, allocations: 23.44 kB / 0.7861 GB, free: 8.867 MB / 490.7 MB
Notification: Performance of SimCode: time 2.31e-07/0.7865, allocations: 0 / 0.7861 GB, free: 8.867 MB / 490.7 MB
Notification: Performance of Templates: time 0.005924/0.7924, allocations: 2.654 MB / 0.7886 GB, free: 6.234 MB / 490.7 MB
make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile
(rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)