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.641/1.641, allocations: 289.7 MB / 302.2 MB, free: 2.129 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.001215/0.001215, allocations: 183 kB / 371.6 MB, free: 3.371 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.732/1.732, allocations: 205.2 MB / 0.6309 GB, free: 11.74 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.0009649/0.0009648, allocations: 94.06 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.662e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2736, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8327/1.106, allocations: 147 MB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/1.107, allocations: 97.84 kB / 1.123 GB, free: 38.68 MB / 0.7448 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.03038/1.137, allocations: 12.88 MB / 1.136 GB, free: 31.85 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.254e-06/1.137, allocations: 0 / 1.136 GB, free: 31.85 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.589e-05/1.137, allocations: 12.75 kB / 1.136 GB, free: 31.84 MB / 0.7448 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.00102/1.138, allocations: 0.7828 MB / 1.137 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.138, allocations: 8.031 kB / 1.137 GB, free: 31.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/1.138, allocations: 65.62 kB / 1.137 GB, free: 31.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006828/1.139, allocations: 452.3 kB / 1.137 GB, free: 30.67 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/1.139, allocations: 32.19 kB / 1.137 GB, free: 30.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/1.139, allocations: 32.42 kB / 1.137 GB, free: 30.63 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/1.14, allocations: 385.5 kB / 1.138 GB, free: 30.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.14, allocations: 0.6562 kB / 1.138 GB, free: 30.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/1.14, allocations: 15.09 kB / 1.138 GB, free: 30.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.14, allocations: 8 kB / 1.138 GB, free: 30.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/1.14, allocations: 257.2 kB / 1.138 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/1.142, allocations: 1.205 MB / 1.139 GB, free: 29.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007791/1.143, allocations: 494.5 kB / 1.14 GB, free: 29.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/1.143, allocations: 153.8 kB / 1.14 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/1.143, allocations: 7.688 kB / 1.14 GB, free: 29.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003064/1.143, allocations: 214 kB / 1.14 GB, free: 28.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/1.143, allocations: 0 / 1.14 GB, free: 28.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.0005449/1.144, allocations: 338.8 kB / 1.14 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/1.144, allocations: 141.7 kB / 1.14 GB, free: 28.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/1.144, allocations: 478.2 kB / 1.141 GB, free: 28.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/1.144, allocations: 33.33 kB / 1.141 GB, free: 28.17 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/1.145, allocations: 247.2 kB / 1.141 GB, free: 28.03 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/1.145, allocations: 96.77 kB / 1.141 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/1.145, allocations: 10.19 kB / 1.141 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/1.145, allocations: 359.7 kB / 1.142 GB, free: 27.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/1.145, allocations: 104 kB / 1.142 GB, free: 27.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/1.145, allocations: 195.8 kB / 1.142 GB, free: 27.42 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/1.145, allocations: 121.5 kB / 1.142 GB, free: 27.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.145, allocations: 0 / 1.142 GB, free: 27.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004624/1.146, allocations: 350.5 kB / 1.142 GB, free: 27.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/1.146, allocations: 274.2 kB / 1.143 GB, free: 26.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.146, allocations: 0 / 1.143 GB, free: 26.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.146, allocations: 4.562 kB / 1.143 GB, free: 26.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/1.146, allocations: 73.73 kB / 1.143 GB, free: 26.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.146, allocations: 8.453 kB / 1.143 GB, free: 26.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/1.147, allocations: 53.53 kB / 1.143 GB, free: 26.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/1.147, allocations: 9.984 kB / 1.143 GB, free: 26.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/1.147, allocations: 4 kB / 1.143 GB, free: 26.71 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003781/1.147, allocations: 278.8 kB / 1.143 GB, free: 26.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-06/1.147, allocations: 0.5625 kB / 1.143 GB, free: 26.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-06/1.147, allocations: 4.797 kB / 1.143 GB, free: 26.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/1.147, allocations: 64.11 kB / 1.143 GB, free: 26.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/1.147, allocations: 7.953 kB / 1.143 GB, free: 26.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/1.147, allocations: 40.97 kB / 1.143 GB, free: 26.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/1.147, allocations: 16.48 kB / 1.143 GB, free: 26.45 MB / 0.7448 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 () * 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 9.595e-05/1.148, allocations: 136.4 kB / 1.143 GB, free: 26.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/1.148, allocations: 51.34 kB / 1.143 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005799/1.148, allocations: 378.3 kB / 1.144 GB, free: 26.06 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/1.148, allocations: 4 kB / 1.144 GB, free: 26.06 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/1.148, allocations: 7.062 kB / 1.144 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.148, allocations: 5.828 kB / 1.144 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/1.149, allocations: 1.006 MB / 1.145 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.149, allocations: 0.6562 kB / 1.145 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/1.15, allocations: 56.8 kB / 1.145 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.15, allocations: 0 / 1.145 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/1.15, allocations: 15.97 kB / 1.145 GB, free: 25.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/1.15, allocations: 0.5625 kB / 1.145 GB, free: 25.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.15, allocations: 0 / 1.145 GB, free: 25.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/1.15, allocations: 0.624 MB / 1.145 GB, free: 24.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/1.151, allocations: 145.6 kB / 1.146 GB, free: 24.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/1.151, allocations: 9.953 kB / 1.146 GB, free: 24.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/1.151, allocations: 34.25 kB / 1.146 GB, free: 24.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/1.151, allocations: 27.61 kB / 1.146 GB, free: 24.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/1.151, allocations: 10.03 kB / 1.146 GB, free: 24.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003772/1.151, allocations: 374.3 kB / 1.146 GB, free: 24.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/1.151, allocations: 0 / 1.146 GB, free: 24.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005095/1.152, allocations: 174.3 kB / 1.146 GB, free: 24.34 MB / 0.7448 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) * 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.0009243/1.153, allocations: 409.9 kB / 1.147 GB, free: 24.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006462/1.154, allocations: 464.8 kB / 1.147 GB, free: 23.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.154, allocations: 4.25 kB / 1.147 GB, free: 23.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/1.154, allocations: 161 kB / 1.147 GB, free: 23.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/1.154, allocations: 108.4 kB / 1.147 GB, free: 23.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/1.155, allocations: 0.6485 MB / 1.148 GB, free: 23.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/1.156, allocations: 0.8687 MB / 1.149 GB, free: 22.31 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004849/1.156, allocations: 158.4 kB / 1.149 GB, free: 22.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.161e-05/1.156, allocations: 33.36 kB / 1.149 GB, free: 22.18 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/1.156, allocations: 0 / 1.149 GB, free: 22.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.01294/1.169, allocations: 6.606 MB / 1.155 GB, free: 18.32 MB / 0.7448 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)