Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.583/2.583, allocations: 284.8 MB / 297.3 MB, free: 6.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 188.8 kB / 365.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.1 MB / 0.6241 GB, free: 8.184 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001113, allocations: 97.02 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.214e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8272/0.8273, allocations: 115.2 MB / 0.97 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2419/1.069, allocations: 141.2 MB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.07, allocations: 98.27 kB / 1.108 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02072/1.09, allocations: 4.691 MB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.983e-06/1.09, allocations: 0.875 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.017e-05/1.09, allocations: 12 kB / 1.113 GB, free: 6.453 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001294/1.092, allocations: 0.5357 MB / 1.113 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/1.092, allocations: 8.031 kB / 1.113 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/1.092, allocations: 38.88 kB / 1.113 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/1.093, allocations: 259.5 kB / 1.113 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.998e-05/1.093, allocations: 28.78 kB / 1.113 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.945e-05/1.093, allocations: 32 kB / 1.113 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008818/1.094, allocations: 321.5 kB / 1.114 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/1.094, allocations: 3.938 kB / 1.114 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.513e-05/1.094, allocations: 12 kB / 1.114 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/1.094, allocations: 7.953 kB / 1.114 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006681/1.094, allocations: 222.1 kB / 1.114 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/1.097, allocations: 0.9399 MB / 1.115 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/1.098, allocations: 240.6 kB / 1.115 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/1.098, allocations: 106.8 kB / 1.115 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/1.098, allocations: 4 kB / 1.115 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004379/1.098, allocations: 167.2 kB / 1.115 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=32): time 4.248e-06/1.098, allocations: 0 / 1.115 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.000688/1.099, allocations: 233.4 kB / 1.116 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/1.099, allocations: 59.39 kB / 1.116 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/1.099, allocations: 182.4 kB / 1.116 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.987e-05/1.1, allocations: 45.7 kB / 1.116 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/1.1, allocations: 152.5 kB / 1.116 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/1.1, allocations: 79.03 kB / 1.116 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/1.1, allocations: 8 kB / 1.116 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.1, allocations: 334.8 kB / 1.116 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/1.1, allocations: 92.88 kB / 1.117 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/1.101, allocations: 145.5 kB / 1.117 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/1.101, allocations: 110.7 kB / 1.117 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.101, allocations: 4 kB / 1.117 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008232/1.102, allocations: 334.6 kB / 1.117 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/1.102, allocations: 38.31 kB / 1.117 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.102, allocations: 0 / 1.117 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/1.102, allocations: 4 kB / 1.117 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/1.102, allocations: 43.91 kB / 1.117 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/1.102, allocations: 11.89 kB / 1.117 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/1.103, allocations: 59.81 kB / 1.117 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/1.103, allocations: 16 kB / 1.117 GB, free: 1.383 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0001746/1.103, allocations: 145.5 kB / 1.117 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/1.103, allocations: 19.81 kB / 1.117 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/1.104, allocations: 263.3 kB / 1.118 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/1.104, allocations: 0 / 1.118 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.104, allocations: 4 kB / 1.118 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/1.104, allocations: 7.938 kB / 1.118 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/1.106, allocations: 0.7168 MB / 1.118 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.106, allocations: 0 / 1.118 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/1.106, allocations: 31.92 kB / 1.118 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/1.106, allocations: 3.953 kB / 1.118 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/1.106, allocations: 11.98 kB / 1.118 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.106, allocations: 0 / 1.118 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.106, allocations: 0 / 1.118 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/1.107, allocations: 341.2 kB / 1.119 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-05/1.107, allocations: 96.91 kB / 1.119 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/1.107, allocations: 11.95 kB / 1.119 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/1.107, allocations: 35.97 kB / 1.119 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.107, allocations: 39.94 kB / 1.119 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/1.107, allocations: 14.05 kB / 1.119 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001596/1.108, allocations: 131.8 kB / 1.119 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/1.108, allocations: 4 kB / 1.119 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004742/1.108, allocations: 63.94 kB / 1.119 GB, free: 15.38 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.fire,wseCon.T1.t_start,wseCon.T1.condition,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.fire,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002478/1.108, allocations: 126.2 kB / 1.119 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007604/1.109, allocations: 295.4 kB / 1.12 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.109, allocations: 4.125 kB / 1.12 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003331/1.11, allocations: 123.9 kB / 1.12 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/1.11, allocations: 29.89 kB / 1.12 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/1.111, allocations: 323.6 kB / 1.12 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/1.111, allocations: 0.7681 MB / 1.121 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001982/1.112, allocations: 30.06 kB / 1.121 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/1.112, allocations: 27.44 kB / 1.121 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of SimCode: time 1.263e-06/1.112, allocations: 0 / 1.121 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.009702/1.121, allocations: 2.676 MB / 1.123 GB, free: 11 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)