Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect")
translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7227/0.7227, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.001118/0.001118, allocations: 171.7 kB / 176.9 MB, free: 2.32 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.574/1.574, allocations: 170.5 MB / 379.3 MB, free: 11.89 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.001707/0.001707, allocations: 112.8 kB / 450 MB, free: 5.852 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.5272/0.5273, allocations: 73.39 MB / 0.6736 GB, free: 47.66 MB / 458.7 MB
Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.6825, allocations: 105.8 MB / 0.777 GB, free: 10.88 MB / 490.7 MB
Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.6829, allocations: 91.94 kB / 0.7771 GB, free: 10.79 MB / 490.7 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/HeatExchangers/DXCoils/BaseClasses/SpeedSelect.mo:15:52-15:57:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'.
Notification: Performance of FrontEnd - DAE generated: time 0.02291/0.7058, allocations: 9.444 MB / 0.7863 GB, free: 1.375 MB / 490.7 MB
Notification: Performance of FrontEnd: time 1.923e-06/0.7058, allocations: 0 / 0.7863 GB, free: 1.375 MB / 490.7 MB
Notification: Performance of Transformations before backend: time 2.501e-05/0.7059, allocations: 8 kB / 0.7863 GB, free: 1.367 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: 5
* Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0007396/0.7066, allocations: 0.6504 MB / 0.7869 GB, free: 0.6602 MB / 490.7 MB
Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.7067, allocations: 16.03 kB / 0.7869 GB, free: 0.6445 MB / 490.7 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.93e-05/0.7068, allocations: 51.34 kB / 0.787 GB, free: 0.5938 MB / 490.7 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/0.7073, allocations: 378.7 kB / 0.7873 GB, free: 192 kB / 490.7 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.7073, allocations: 4 kB / 0.7873 GB, free: 188 kB / 490.7 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.7074, allocations: 0 / 0.7873 GB, free: 188 kB / 490.7 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.7075, allocations: 81.59 kB / 0.7874 GB, free: 104 kB / 490.7 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.7075, allocations: 0 / 0.7874 GB, free: 104 kB / 490.7 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.7076, allocations: 3.609 kB / 0.7874 GB, free: 104 kB / 490.7 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.7076, allocations: 0 / 0.7874 GB, free: 104 kB / 490.7 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.795e-05/0.7076, allocations: 47.86 kB / 0.7875 GB, free: 56 kB / 490.7 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.7083, allocations: 424.7 kB / 0.7879 GB, free: 15.59 MB / 0.4948 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.7084, allocations: 58.56 kB / 0.7879 GB, free: 15.52 MB / 0.4948 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.7084, allocations: 44.89 kB / 0.788 GB, free: 15.48 MB / 0.4948 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.7085, allocations: 0 / 0.788 GB, free: 15.48 MB / 0.4948 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.7086, allocations: 95.31 kB / 0.7881 GB, free: 15.37 MB / 0.4948 GB
Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.7086, allocations: 0 / 0.7881 GB, free: 15.37 MB / 0.4948 GB
Notification: Performance of matching and sorting (n=5): time 0.000376/0.709, allocations: 206.7 kB / 0.7883 GB, free: 15.16 MB / 0.4948 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.7091, allocations: 81.11 kB / 0.7883 GB, free: 15.06 MB / 0.4948 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/0.7099, allocations: 0.6328 MB / 0.789 GB, free: 14.42 MB / 0.4948 GB
Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.71, allocations: 29.7 kB / 0.789 GB, free: 14.38 MB / 0.4948 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.7102, allocations: 260.1 kB / 0.7892 GB, free: 14.12 MB / 0.4948 GB
Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.7103, allocations: 7.891 kB / 0.7892 GB, free: 14.12 MB / 0.4948 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.7103, allocations: 12 kB / 0.7893 GB, free: 14.11 MB / 0.4948 GB
Notification: Performance of setup shared object (initialization): time 0.0002252/0.7105, allocations: 366.8 kB / 0.7896 GB, free: 13.74 MB / 0.4948 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.697e-05/0.7106, allocations: 37.48 kB / 0.7896 GB, free: 13.7 MB / 0.4948 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.053e-05/0.7107, allocations: 39.92 kB / 0.7897 GB, free: 13.66 MB / 0.4948 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.7108, allocations: 96.94 kB / 0.7898 GB, free: 13.56 MB / 0.4948 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7108, allocations: 0 / 0.7898 GB, free: 13.56 MB / 0.4948 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003184/0.7111, allocations: 256.2 kB / 0.79 GB, free: 13.29 MB / 0.4948 GB
Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.7112, allocations: 59.41 kB / 0.7901 GB, free: 13.22 MB / 0.4948 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7112, allocations: 0 / 0.7901 GB, free: 13.22 MB / 0.4948 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.7112, allocations: 3.984 kB / 0.7901 GB, free: 13.21 MB / 0.4948 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.7112, allocations: 4 kB / 0.7901 GB, free: 13.21 MB / 0.4948 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.7113, allocations: 0 / 0.7901 GB, free: 13.21 MB / 0.4948 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.223e-05/0.7114, allocations: 11.92 kB / 0.7901 GB, free: 13.2 MB / 0.4948 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.7114, allocations: 12 kB / 0.7901 GB, free: 13.19 MB / 0.4948 GB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 1
* Number of states: 0 ()
* Number of discrete variables: 7 ($whenCondition1,$PRE.sta.y,sta.y,$PRE.sta.nextTime,sta.nextTime,$PRE.sta.index,sta.index)
* Number of discrete states: 0 ()
* Top-level inputs: 0
Notification: Strong component statistics for initialization (6):
* Single equations (assignments): 4
* Array equations: 0
* Algorithm blocks: 2
* 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.0001225/0.7115, allocations: 130.7 kB / 0.7902 GB, free: 13.05 MB / 0.4948 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.7116, allocations: 63.22 kB / 0.7903 GB, free: 12.98 MB / 0.4948 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.7117, allocations: 60.52 kB / 0.7903 GB, free: 12.92 MB / 0.4948 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.7117, allocations: 0 / 0.7903 GB, free: 12.92 MB / 0.4948 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.7117, allocations: 6.344 kB / 0.7904 GB, free: 12.92 MB / 0.4948 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.7117, allocations: 4 kB / 0.7904 GB, free: 12.91 MB / 0.4948 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.7121, allocations: 325.5 kB / 0.7907 GB, free: 12.55 MB / 0.4948 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7121, allocations: 0 / 0.7907 GB, free: 12.55 MB / 0.4948 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-06/0.7121, allocations: 0 / 0.7907 GB, free: 12.55 MB / 0.4948 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7121, allocations: 0 / 0.7907 GB, free: 12.55 MB / 0.4948 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.7122, allocations: 14.75 kB / 0.7907 GB, free: 12.54 MB / 0.4948 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7122, allocations: 0 / 0.7907 GB, free: 12.54 MB / 0.4948 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7122, allocations: 0 / 0.7907 GB, free: 12.54 MB / 0.4948 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.7125, allocations: 238 kB / 0.7909 GB, free: 12.28 MB / 0.4948 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.7126, allocations: 124.4 kB / 0.791 GB, free: 12.14 MB / 0.4948 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.7126, allocations: 4 kB / 0.791 GB, free: 12.13 MB / 0.4948 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.7127, allocations: 7.953 kB / 0.791 GB, free: 12.12 MB / 0.4948 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.7128, allocations: 3.984 kB / 0.791 GB, free: 12.12 MB / 0.4948 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.7128, allocations: 7.938 kB / 0.791 GB, free: 12.11 MB / 0.4948 GB
Notification: Performance of sorting global known variables: time 0.0006453/0.7135, allocations: 0.5342 MB / 0.7916 GB, free: 11.59 MB / 0.4948 GB
Notification: Performance of sort global known variables: time 2.61e-07/0.7135, allocations: 0 / 0.7916 GB, free: 11.59 MB / 0.4948 GB
Notification: Performance of remove unused functions: time 0.0003295/0.7138, allocations: 63.94 kB / 0.7916 GB, free: 11.52 MB / 0.4948 GB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 1
* Number of states: 0 ()
* Number of discrete variables: 4 ($whenCondition1,sta.y,sta.nextTime,sta.index)
* Number of discrete states: 2 (sta.nextTime,sta.index)
* Top-level inputs: 0
Notification: Strong component statistics for simulation (5):
* Single equations (assignments): 1
* Array equations: 0
* Algorithm blocks: 1
* Record equations: 0
* When equations: 3
* 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.0004969/0.7143, allocations: 275 kB / 0.7919 GB, free: 11.25 MB / 0.4948 GB
Notification: Performance of simCode: created initialization part: time 0.0002338/0.7146, allocations: 190.8 kB / 0.7921 GB, free: 11.04 MB / 0.4948 GB
Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7146, allocations: 0 / 0.7921 GB, free: 11.04 MB / 0.4948 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.7147, allocations: 91.34 kB / 0.7922 GB, free: 10.94 MB / 0.4948 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.7152, allocations: 125.1 kB / 0.7923 GB, free: 10.82 MB / 0.4948 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.7164, allocations: 0.7397 MB / 0.793 GB, free: 10.06 MB / 0.4948 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.717, allocations: 0.9429 MB / 0.7939 GB, free: 9.09 MB / 0.4948 GB
Notification: Performance of simCode: alias equations: time 6.86e-05/0.7171, allocations: 25.53 kB / 0.794 GB, free: 9.066 MB / 0.4948 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.7171, allocations: 11.44 kB / 0.794 GB, free: 9.055 MB / 0.4948 GB
Notification: Performance of SimCode: time 2.21e-07/0.7171, allocations: 0 / 0.794 GB, free: 9.055 MB / 0.4948 GB
Notification: Performance of Templates: time 0.01046/0.7276, allocations: 5.415 MB / 0.7992 GB, free: 3.688 MB / 0.4948 GB
make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile
(rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)