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.586/1.586, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001075/0.001075, allocations: 180.8 kB / 366.7 MB, free: 1.656 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.563/1.563, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0009082/0.0009081, allocations: 88.05 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.646e-05, allocations: 0 / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6646/0.6646, allocations: 116.3 MB / 0.9733 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/0.8525, allocations: 146.3 MB / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.8528, allocations: 99.92 kB / 1.116 GB, free: 3.777 MB / 0.7136 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.03557/0.8884, allocations: 12.81 MB / 1.129 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8884, allocations: 0 / 1.129 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.486e-05/0.8885, allocations: 15.94 kB / 1.129 GB, free: 7.039 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.001479/0.89, allocations: 0.7705 MB / 1.13 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.89, allocations: 8.031 kB / 1.13 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.8902, allocations: 63.25 kB / 1.13 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009218/0.8911, allocations: 469.1 kB / 1.13 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.8912, allocations: 8 kB / 1.13 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.8913, allocations: 24 kB / 1.13 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004955/0.8918, allocations: 241.5 kB / 1.13 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005685/0.8924, allocations: 335 kB / 1.131 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.8924, allocations: 0 / 1.131 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.8925, allocations: 5.812 kB / 1.131 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.8925, allocations: 8 kB / 1.131 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.8944, allocations: 1.131 MB / 1.132 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008416/0.8952, allocations: 464.8 kB / 1.132 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.8955, allocations: 140.8 kB / 1.132 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.8955, allocations: 7.938 kB / 1.132 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/0.8958, allocations: 204.8 kB / 1.133 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=35): time 2.053e-06/0.8958, allocations: 0 / 1.133 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35): time 0.0006036/0.8965, allocations: 324.8 kB / 1.133 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.8965, allocations: 136.5 kB / 1.133 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.8971, allocations: 433.1 kB / 1.133 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.8972, allocations: 33.7 kB / 1.133 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.8974, allocations: 248.7 kB / 1.134 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.8975, allocations: 94.56 kB / 1.134 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.8975, allocations: 0 / 1.134 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.8977, allocations: 362.7 kB / 1.134 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.8979, allocations: 100.6 kB / 1.134 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.8981, allocations: 186.4 kB / 1.134 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.8983, allocations: 111.8 kB / 1.134 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8983, allocations: 0 / 1.134 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005135/0.8989, allocations: 332.9 kB / 1.135 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.899, allocations: 274.9 kB / 1.135 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.899, allocations: 4 kB / 1.135 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.8991, allocations: 0 / 1.135 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.8994, allocations: 67.97 kB / 1.135 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.8994, allocations: 10.62 kB / 1.135 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.8997, allocations: 43.75 kB / 1.135 GB, free: 192 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.8997, allocations: 15.98 kB / 1.135 GB, free: 176 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.8997, allocations: 4 kB / 1.135 GB, free: 172 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004062/0.9001, allocations: 239.6 kB / 1.135 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.9001, allocations: 4 kB / 1.135 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.9002, allocations: 0 / 1.135 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.9004, allocations: 63.91 kB / 1.135 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.9004, allocations: 4 kB / 1.135 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.9007, allocations: 39.66 kB / 1.136 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.9007, allocations: 8.062 kB / 1.136 GB, free: 15.82 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 0.0001336/0.9008, allocations: 136.9 kB / 1.136 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.9009, allocations: 47.44 kB / 1.136 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005893/0.9015, allocations: 350.2 kB / 1.136 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9015, allocations: 4 kB / 1.136 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9015, allocations: 0 / 1.136 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.9016, allocations: 3.984 kB / 1.136 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.9028, allocations: 0.9275 MB / 1.137 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9028, allocations: 0 / 1.137 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.9031, allocations: 59.59 kB / 1.137 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.9031, allocations: 4 kB / 1.137 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.9032, allocations: 3.984 kB / 1.137 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.9032, allocations: 4 kB / 1.137 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9032, allocations: 0 / 1.137 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008262/0.904, allocations: 0.5925 MB / 1.138 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.9042, allocations: 136.5 kB / 1.138 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.9042, allocations: 11.94 kB / 1.138 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.9045, allocations: 23.97 kB / 1.138 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.9046, allocations: 23.97 kB / 1.138 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.9046, allocations: 11.98 kB / 1.138 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004074/0.905, allocations: 343 kB / 1.138 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.905, allocations: 0 / 1.138 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005963/0.9056, allocations: 167.4 kB / 1.138 GB, free: 12.91 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.0009306/0.9066, allocations: 381.2 kB / 1.139 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007562/0.9073, allocations: 439.5 kB / 1.139 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9074, allocations: 0 / 1.139 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.9076, allocations: 147.8 kB / 1.139 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.9082, allocations: 98.31 kB / 1.139 GB, free: 12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.9095, allocations: 0.6276 MB / 1.14 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.9101, allocations: 0.867 MB / 1.141 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005205/0.9106, allocations: 157.7 kB / 1.141 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.9107, allocations: 35.42 kB / 1.141 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of SimCode: time 2.61e-07/0.9107, allocations: 0 / 1.141 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.01277/0.9235, allocations: 6.013 MB / 1.147 GB, free: 4.363 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)