Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass") translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.6 MB / 307.5 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 185 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.4 MB / 0.6367 GB, free: 9.574 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008627/0.0008627, allocations: 90.75 kB / 0.751 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004513, allocations: 16 kB / 0.8748 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2856, allocations: 116.3 MB / 0.9884 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7677/1.053, allocations: 147.1 MB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/1.054, allocations: 105.2 kB / 1.132 GB, free: 29.53 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/CentralPlants/Cooling/Controls/ChilledWaterBypass.mo:78:3-78:77:writable] Warning: connect(y, y) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.03636/1.09, allocations: 12.94 MB / 1.145 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.774e-06/1.09, allocations: 0 / 1.145 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.978e-05/1.09, allocations: 8 kB / 1.145 GB, free: 20.56 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00199/1.092, allocations: 0.8713 MB / 1.146 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.092, allocations: 12.02 kB / 1.146 GB, free: 19.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002838/1.093, allocations: 66.48 kB / 1.146 GB, free: 19.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009766/1.094, allocations: 460 kB / 1.146 GB, free: 19.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/1.094, allocations: 25.88 kB / 1.146 GB, free: 19.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.612e-05/1.094, allocations: 37.86 kB / 1.146 GB, free: 19.13 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000821/1.095, allocations: 402.4 kB / 1.147 GB, free: 18.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.095, allocations: 0 / 1.147 GB, free: 18.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/1.095, allocations: 17.31 kB / 1.147 GB, free: 18.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/1.095, allocations: 9.719 kB / 1.147 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/1.095, allocations: 306.6 kB / 1.147 GB, free: 18.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/1.097, allocations: 1.214 MB / 1.148 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.098, allocations: 0.5285 MB / 1.149 GB, free: 16.97 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/1.098, allocations: 4 kB / 1.149 GB, free: 16.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004206/1.099, allocations: 229 kB / 1.149 GB, free: 16.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=35): time 1.934e-06/1.099, allocations: 4 kB / 1.149 GB, free: 16.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35): time 0.001084/1.1, allocations: 0.5195 MB / 1.149 GB, free: 16.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/1.1, allocations: 141.6 kB / 1.149 GB, free: 16.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006136/1.101, allocations: 474.8 kB / 1.15 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/1.101, allocations: 33.7 kB / 1.15 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/1.101, allocations: 250.8 kB / 1.15 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/1.101, allocations: 103.3 kB / 1.15 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/1.101, allocations: 8 kB / 1.15 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.101, allocations: 360 kB / 1.151 GB, free: 15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/1.101, allocations: 139.2 kB / 1.151 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/1.102, allocations: 210.3 kB / 1.151 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/1.102, allocations: 140 kB / 1.151 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.102, allocations: 4 kB / 1.151 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00071/1.103, allocations: 392.2 kB / 1.151 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.364e-05/1.103, allocations: 284.2 kB / 1.152 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.103, allocations: 1.453 kB / 1.152 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.103, allocations: 4.938 kB / 1.152 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/1.103, allocations: 70.3 kB / 1.152 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/1.103, allocations: 8.797 kB / 1.152 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/1.103, allocations: 46.64 kB / 1.152 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/1.103, allocations: 13.36 kB / 1.152 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.103, allocations: 4 kB / 1.152 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005268/1.104, allocations: 297.1 kB / 1.152 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/1.104, allocations: 0.6562 kB / 1.152 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/1.104, allocations: 4 kB / 1.152 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/1.104, allocations: 64.23 kB / 1.152 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/1.104, allocations: 1.781 kB / 1.152 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/1.105, allocations: 49.81 kB / 1.152 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/1.105, allocations: 16.06 kB / 1.152 GB, free: 13.39 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$PRE.onTwo.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.onOne.combiTimeTable.nextTimeEvent,$whenCondition3,chiBypCon.chiOn[1],chiBypCon.chiOn[2],chiBypCon.bypValCon.trigger,chiBypCon.booToInt[1].y,chiBypCon.booToInt[2].y,chiBypCon.intGreThr.u,onOne.combiTimeTable.nextTimeEvent,$PRE.onOne.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,$PRE.onTwo.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0002839/1.105, allocations: 280.3 kB / 1.153 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/1.105, allocations: 52.09 kB / 1.153 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007895/1.106, allocations: 435.5 kB / 1.153 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.106, allocations: 4.609 kB / 1.153 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/1.106, allocations: 0 / 1.153 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.106, allocations: 5.828 kB / 1.153 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/1.107, allocations: 1.053 MB / 1.154 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.107, allocations: 0 / 1.154 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/1.108, allocations: 57.47 kB / 1.154 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.108, allocations: 0 / 1.154 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/1.108, allocations: 13.36 kB / 1.154 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.108, allocations: 5.188 kB / 1.154 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.108, allocations: 5.359 kB / 1.154 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/1.109, allocations: 0.687 MB / 1.155 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/1.109, allocations: 146.5 kB / 1.155 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/1.109, allocations: 8 kB / 1.155 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/1.109, allocations: 36.22 kB / 1.155 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/1.109, allocations: 30.17 kB / 1.155 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/1.109, allocations: 13.59 kB / 1.155 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000459/1.11, allocations: 375 kB / 1.155 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.11, allocations: 0 / 1.155 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006247/1.11, allocations: 176.8 kB / 1.156 GB, free: 10.33 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (chiBypCon.bypValCon.I.y) * Number of discrete variables: 13 (chiBypCon.bypValCon.trigger,$whenCondition3,$whenCondition2,$whenCondition1,chiBypCon.chiOn[1],chiBypCon.chiOn[2],chiBypCon.booToInt[1].y,chiBypCon.booToInt[2].y,chiBypCon.intGreThr.u,onOne.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,onTwo.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (onTwo.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEvent,onTwo.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001105/1.111, allocations: 452 kB / 1.156 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009596/1.112, allocations: 0.4996 MB / 1.156 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.112, allocations: 256 / 1.156 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/1.113, allocations: 184.5 kB / 1.157 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005827/1.113, allocations: 98.59 kB / 1.157 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/1.115, allocations: 1.005 MB / 1.158 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/1.115, allocations: 0.8699 MB / 1.159 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003452/1.116, allocations: 93.44 kB / 1.159 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/1.116, allocations: 42.62 kB / 1.159 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/1.116, allocations: 0 / 1.159 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of Templates: time 0.01128/1.127, allocations: 5.747 MB / 1.164 GB, free: 2.418 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.sim & ./Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1)