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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 293 MB / 309 MB, free: 4.828 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.001043/0.001043, allocations: 174.6 kB / 378.7 MB, free: 1.047 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.439/1.439, allocations: 205.4 MB / 0.6383 GB, free: 9.164 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.0007583/0.000758, allocations: 97 kB / 0.7527 GB, free: 62.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004287, allocations: 12 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3034, allocations: 116.4 MB / 0.9905 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8605/1.164, allocations: 147.2 MB / 1.134 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/1.164, allocations: 104.1 kB / 1.134 GB, free: 28.62 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.0379/1.202, allocations: 12.99 MB / 1.147 GB, free: 19.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.996e-06/1.202, allocations: 3.938 kB / 1.147 GB, free: 19.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.887e-05/1.202, allocations: 12 kB / 1.147 GB, free: 19.63 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.002392/1.205, allocations: 0.8632 MB / 1.148 GB, free: 18.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/1.205, allocations: 16.03 kB / 1.148 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003649/1.205, allocations: 61.83 kB / 1.148 GB, free: 18.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/1.207, allocations: 480.2 kB / 1.148 GB, free: 18.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/1.207, allocations: 22.67 kB / 1.148 GB, free: 18.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/1.207, allocations: 36.38 kB / 1.148 GB, free: 18.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000976/1.208, allocations: 407.2 kB / 1.149 GB, free: 17.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/1.208, allocations: 1.781 kB / 1.149 GB, free: 17.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/1.208, allocations: 20.73 kB / 1.149 GB, free: 17.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/1.208, allocations: 8 kB / 1.149 GB, free: 17.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007121/1.209, allocations: 306 kB / 1.149 GB, free: 17.55 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/1.211, allocations: 1.206 MB / 1.15 GB, free: 16.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/1.212, allocations: 0.5215 MB / 1.151 GB, free: 16.03 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/1.212, allocations: 177.9 kB / 1.151 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/1.212, allocations: 4.797 kB / 1.151 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004661/1.213, allocations: 233.1 kB / 1.151 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=35): time 2.986e-06/1.213, allocations: 0.9375 kB / 1.151 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35): time 0.001104/1.214, allocations: 0.5115 MB / 1.152 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/1.214, allocations: 141.9 kB / 1.152 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007827/1.215, allocations: 0.5142 MB / 1.152 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/1.215, allocations: 38.88 kB / 1.152 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/1.215, allocations: 247.1 kB / 1.153 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/1.215, allocations: 107.1 kB / 1.153 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/1.215, allocations: 4 kB / 1.153 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.215, allocations: 366.6 kB / 1.153 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/1.216, allocations: 131.1 kB / 1.153 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/1.216, allocations: 220.3 kB / 1.153 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/1.216, allocations: 292.1 kB / 1.154 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.216, allocations: 0 / 1.154 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007363/1.217, allocations: 405.6 kB / 1.154 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/1.217, allocations: 114.6 kB / 1.154 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.217, allocations: 0 / 1.154 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/1.217, allocations: 4 kB / 1.154 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/1.218, allocations: 71.28 kB / 1.154 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/1.218, allocations: 8.875 kB / 1.154 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/1.218, allocations: 52.11 kB / 1.154 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/1.218, allocations: 14.11 kB / 1.154 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/1.218, allocations: 4 kB / 1.154 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005025/1.218, allocations: 288.2 kB / 1.155 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.218, allocations: 0 / 1.155 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/1.219, allocations: 8.062 kB / 1.155 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/1.219, allocations: 64.38 kB / 1.155 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.219, allocations: 1.594 kB / 1.155 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/1.219, allocations: 48.45 kB / 1.155 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/1.219, allocations: 13.64 kB / 1.155 GB, free: 12.28 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.0003392/1.219, allocations: 284.5 kB / 1.155 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/1.219, allocations: 54.11 kB / 1.155 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007752/1.22, allocations: 428.3 kB / 1.155 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.22, allocations: 8 kB / 1.155 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.22, allocations: 0 / 1.155 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.22, allocations: 1.5 kB / 1.155 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/1.222, allocations: 1.057 MB / 1.157 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.222, allocations: 0 / 1.157 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/1.222, allocations: 56.81 kB / 1.157 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.222, allocations: 0 / 1.157 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/1.222, allocations: 10.39 kB / 1.157 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.222, allocations: 3.938 kB / 1.157 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.222, allocations: 3.938 kB / 1.157 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/1.223, allocations: 0.6937 MB / 1.157 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/1.223, allocations: 147.4 kB / 1.157 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/1.223, allocations: 7.219 kB / 1.157 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/1.224, allocations: 31.17 kB / 1.157 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/1.224, allocations: 29.69 kB / 1.157 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/1.224, allocations: 13.59 kB / 1.157 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004822/1.224, allocations: 377.9 kB / 1.158 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.11e-07/1.224, allocations: 0 / 1.158 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006433/1.225, allocations: 181.9 kB / 1.158 GB, free: 9.215 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.001143/1.226, allocations: 453.3 kB / 1.158 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.227, allocations: 0.4976 MB / 1.159 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.227, allocations: 0 / 1.159 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/1.228, allocations: 188.8 kB / 1.159 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/1.228, allocations: 110.6 kB / 1.159 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/1.23, allocations: 0.9989 MB / 1.16 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/1.23, allocations: 0.8519 MB / 1.161 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000378/1.231, allocations: 92.36 kB / 1.161 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/1.231, allocations: 46.67 kB / 1.161 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of SimCode: time 8.52e-07/1.231, allocations: 4 kB / 1.161 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of Templates: time 0.01206/1.243, allocations: 5.823 MB / 1.167 GB, free: 0.9102 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)