Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y")
translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7557/0.7557, allocations: 132.4 MB / 139.9 MB, free: 15.39 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.0009531/0.0009531, allocations: 170.3 kB / 171.8 MB, free: 2.008 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.338/1.338, allocations: 170.6 MB / 374.2 MB, free: 15.71 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.001729/0.001729, allocations: 111.2 kB / 444.8 MB, free: 9.238 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.502/0.502, allocations: 73.38 MB / 0.6666 GB, free: 46.82 MB / 458.7 MB
Notification: Performance of FrontEnd - scodeFlatten: time 4.58/5.082, allocations: 2.174 GB / 2.841 GB, free: 201.6 MB / 0.6198 GB
Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/5.082, allocations: 88.66 kB / 2.841 GB, free: 201.6 MB / 0.6198 GB
Notification: Performance of FrontEnd - DAE generated: time 2.218/7.3, allocations: 0.7262 GB / 3.567 GB, free: 4.004 MB / 0.6355 GB
Notification: Performance of FrontEnd: time 3.527e-06/7.3, allocations: 4 kB / 3.567 GB, free: 4 MB / 0.6355 GB
Notification: Performance of Transformations before backend: time 0.0002809/7.3, allocations: 32 kB / 3.567 GB, free: 3.969 MB / 0.6355 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
* Number of equations: 255
* Number of variables: 255
Notification: Performance of Generate backend data structure: time 0.007326/7.308, allocations: 1.995 MB / 3.569 GB, free: 1.918 MB / 0.6355 GB
Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/7.308, allocations: 8.031 kB / 3.569 GB, free: 1.91 MB / 0.6355 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003982/7.312, allocations: 461.4 kB / 3.57 GB, free: 1.457 MB / 0.6355 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.4556/7.767, allocations: 1.827 MB / 3.571 GB, free: 73.98 MB / 0.6355 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/7.767, allocations: 33.75 kB / 3.571 GB, free: 73.98 MB / 0.6355 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/7.768, allocations: 66.78 kB / 3.572 GB, free: 73.98 MB / 0.6355 GB
Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002113/7.77, allocations: 0.9435 MB / 3.572 GB, free: 73.97 MB / 0.6355 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/7.772, allocations: 1.078 MB / 3.573 GB, free: 73.81 MB / 0.6355 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/7.772, allocations: 1.531 kB / 3.573 GB, free: 73.81 MB / 0.6355 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/7.772, allocations: 2.188 kB / 3.573 GB, free: 73.81 MB / 0.6355 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/7.772, allocations: 36.09 kB / 3.574 GB, free: 73.81 MB / 0.6355 GB
Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007531/7.78, allocations: 4.677 MB / 3.578 GB, free: 72.04 MB / 0.6355 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001621/7.781, allocations: 0.94 MB / 3.579 GB, free: 71.91 MB / 0.6355 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/7.782, allocations: 380.6 kB / 3.579 GB, free: 71.91 MB / 0.6355 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.889e-05/7.782, allocations: 17.16 kB / 3.579 GB, free: 71.91 MB / 0.6355 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007479/7.783, allocations: 0.5072 MB / 3.58 GB, free: 71.8 MB / 0.6355 GB
Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006853/7.784, allocations: 66.98 kB / 3.58 GB, free: 71.79 MB / 0.6355 GB
Notification: Performance of pre-optimization done (n=67): time 2.565e-06/7.784, allocations: 0 / 3.58 GB, free: 71.79 MB / 0.6355 GB
Notification: Performance of matching and sorting (n=67): time 0.002009/7.786, allocations: 0.8546 MB / 3.581 GB, free: 71.67 MB / 0.6355 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/7.786, allocations: 349.8 kB / 3.581 GB, free: 71.26 MB / 0.6355 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/7.787, allocations: 0.9175 MB / 3.582 GB, free: 71.11 MB / 0.6355 GB
Notification: Performance of collectPreVariables (initialization): time 9.252e-05/7.787, allocations: 35.11 kB / 3.582 GB, free: 71.08 MB / 0.6355 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006271/7.788, allocations: 0.6785 MB / 3.583 GB, free: 70.88 MB / 0.6355 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002096/7.788, allocations: 224.7 kB / 3.583 GB, free: 70.77 MB / 0.6355 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/7.788, allocations: 2.125 kB / 3.583 GB, free: 70.77 MB / 0.6355 GB
Notification: Performance of setup shared object (initialization): time 9.8e-05/7.788, allocations: 344.9 kB / 3.583 GB, free: 70.46 MB / 0.6355 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007141/7.789, allocations: 411.5 kB / 3.584 GB, free: 70.46 MB / 0.6355 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/7.79, allocations: 0.6516 MB / 3.584 GB, free: 70.2 MB / 0.6355 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/7.791, allocations: 0.51 MB / 3.585 GB, free: 70.19 MB / 0.6355 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/7.791, allocations: 2.438 kB / 3.585 GB, free: 70.19 MB / 0.6355 GB
Notification: Performance of matching and sorting (n=114) (initialization): time 0.002183/7.793, allocations: 1.214 MB / 3.586 GB, free: 70.06 MB / 0.6355 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0003877/7.793, allocations: 1.232 MB / 3.587 GB, free: 68.81 MB / 0.6355 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/7.794, allocations: 5.062 kB / 3.587 GB, free: 68.81 MB / 0.6355 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/7.794, allocations: 6.875 kB / 3.587 GB, free: 68.81 MB / 0.6355 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/7.796, allocations: 345.6 kB / 3.588 GB, free: 68.81 MB / 0.6355 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008575/7.797, allocations: 1.229 MB / 3.589 GB, free: 67.64 MB / 0.6355 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/7.798, allocations: 100.6 kB / 3.589 GB, free: 67.64 MB / 0.6355 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/7.798, allocations: 64.69 kB / 3.589 GB, free: 67.64 MB / 0.6355 GB
Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/7.798, allocations: 4.156 kB / 3.589 GB, free: 67.64 MB / 0.6355 GB
Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001962/7.8, allocations: 1.08 MB / 3.59 GB, free: 67.62 MB / 0.6355 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/7.8, allocations: 6.188 kB / 3.59 GB, free: 67.62 MB / 0.6355 GB
Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/7.8, allocations: 8.344 kB / 3.59 GB, free: 67.62 MB / 0.6355 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/7.801, allocations: 188.4 kB / 3.59 GB, free: 67.62 MB / 0.6355 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/7.801, allocations: 11.38 kB / 3.59 GB, free: 67.62 MB / 0.6355 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/7.802, allocations: 91.02 kB / 3.59 GB, free: 67.61 MB / 0.6355 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/7.803, allocations: 56.47 kB / 3.59 GB, free: 67.61 MB / 0.6355 GB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 13
* Number of states: 0 ()
* Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count)
* Number of discrete states: 0 ()
* Top-level inputs: 0
Notification: Strong component statistics for initialization (94):
* Single equations (assignments): 88
* Array equations: 1
* Algorithm blocks: 2
* Record equations: 1
* When equations: 0
* If-equations: 0
* Equation systems (linear and non-linear blocks): 2
* Torn equation systems: 0
* Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details:
* Constant Jacobian: 0
* Linear Jacobian (size,density): 0
* Non-linear Jacobian: 2 {1,1}
* Without analytic Jacobian: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0003175/7.803, allocations: 134 kB / 3.59 GB, free: 67.51 MB / 0.6355 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/7.803, allocations: 133.5 kB / 3.591 GB, free: 67.44 MB / 0.6355 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/7.805, allocations: 0.7411 MB / 3.591 GB, free: 67.37 MB / 0.6355 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/7.805, allocations: 7.344 kB / 3.591 GB, free: 67.37 MB / 0.6355 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/7.805, allocations: 6.141 kB / 3.591 GB, free: 67.37 MB / 0.6355 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00103/7.806, allocations: 0.6664 MB / 3.592 GB, free: 67.2 MB / 0.6355 GB
Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/7.81, allocations: 2.014 MB / 3.594 GB, free: 66.75 MB / 0.6355 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/7.81, allocations: 4.859 kB / 3.594 GB, free: 66.75 MB / 0.6355 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002183/7.812, allocations: 323 kB / 3.594 GB, free: 66.75 MB / 0.6355 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/7.812, allocations: 2.812 kB / 3.594 GB, free: 66.75 MB / 0.6355 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/7.812, allocations: 14.48 kB / 3.594 GB, free: 66.75 MB / 0.6355 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/7.814, allocations: 2.583 MB / 3.597 GB, free: 64.24 MB / 0.6355 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/7.814, allocations: 1.25 kB / 3.597 GB, free: 64.24 MB / 0.6355 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/7.816, allocations: 1.187 MB / 3.598 GB, free: 63.99 MB / 0.6355 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/7.817, allocations: 291.8 kB / 3.598 GB, free: 63.82 MB / 0.6355 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/7.817, allocations: 3.25 kB / 3.598 GB, free: 63.82 MB / 0.6355 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/7.818, allocations: 98.59 kB / 3.598 GB, free: 63.82 MB / 0.6355 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/7.818, allocations: 50.44 kB / 3.598 GB, free: 63.82 MB / 0.6355 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/7.818, allocations: 26.12 kB / 3.598 GB, free: 63.82 MB / 0.6355 GB
Notification: Performance of sorting global known variables: time 0.001096/7.819, allocations: 0.6999 MB / 3.599 GB, free: 63.71 MB / 0.6355 GB
Notification: Performance of sort global known variables: time 3.5e-07/7.819, allocations: 0 / 3.599 GB, free: 63.71 MB / 0.6355 GB
Notification: Performance of remove unused functions: time 0.003154/7.822, allocations: 0.9684 MB / 3.6 GB, free: 63.66 MB / 0.6355 GB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 2
* Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y)
* Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count)
* Number of discrete states: 1 (y.count)
* Top-level inputs: 0
Notification: Strong component statistics for simulation (68):
* Single equations (assignments): 64
* Array equations: 0
* Algorithm blocks: 0
* Record equations: 0
* When equations: 2
* If-equations: 0
* Equation systems (linear and non-linear blocks): 2
* Torn equation systems: 0
* Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details:
* Constant Jacobian: 0
* Linear Jacobian (size,density): 0
* Non-linear Jacobian: 2 {1,1}
* Without analytic Jacobian: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.004535/7.827, allocations: 2.819 MB / 3.603 GB, free: 62.89 MB / 0.6355 GB
Notification: Performance of simCode: created initialization part: time 0.005653/7.832, allocations: 2.553 MB / 3.605 GB, free: 62.55 MB / 0.6355 GB
Notification: Performance of simCode: created event and clocks part: time 9.928e-06/7.832, allocations: 0 / 3.605 GB, free: 62.55 MB / 0.6355 GB
Notification: Performance of simCode: created simulation system equations: time 0.002701/7.835, allocations: 0.5379 MB / 3.606 GB, free: 62.55 MB / 0.6355 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/7.839, allocations: 0.5971 MB / 3.606 GB, free: 62.54 MB / 0.6355 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/7.843, allocations: 2.008 MB / 3.608 GB, free: 62 MB / 0.6355 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/7.844, allocations: 1.327 MB / 3.61 GB, free: 61.29 MB / 0.6355 GB
Notification: Performance of simCode: alias equations: time 0.002077/7.846, allocations: 468 kB / 3.61 GB, free: 61.27 MB / 0.6355 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/7.846, allocations: 88.09 kB / 3.61 GB, free: 61.26 MB / 0.6355 GB
Notification: Performance of SimCode: time 1.343e-06/7.846, allocations: 0 / 3.61 GB, free: 61.26 MB / 0.6355 GB
Notification: Performance of Templates: time 0.07314/7.919, allocations: 41.69 MB / 3.651 GB, free: 59.66 MB / 0.6355 GB
make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile
(rm -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)