Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.807/1.807, allocations: 297.8 MB / 313.7 MB, free: 48 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 176.5 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 0.6626 GB, free: 4.242 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 101.2 kB / 0.7808 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004417, allocations: 16.47 kB / 0.9088 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8005/0.8009, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2094/1.01, allocations: 149.8 MB / 1.173 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/1.011, allocations: 105.8 kB / 1.173 GB, free: 11.68 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.047, allocations: 13.17 MB / 1.186 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.114e-06/1.047, allocations: 4 kB / 1.186 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.536e-05/1.047, allocations: 11.94 kB / 1.186 GB, free: 14.98 MB / 0.7605 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.001921/1.049, allocations: 0.872 MB / 1.186 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.049, allocations: 8.031 kB / 1.186 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/1.05, allocations: 68.17 kB / 1.186 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009642/1.05, allocations: 470.3 kB / 1.187 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/1.051, allocations: 33.02 kB / 1.187 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/1.051, allocations: 37.88 kB / 1.187 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008512/1.052, allocations: 407.3 kB / 1.187 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.052, allocations: 192 / 1.187 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/1.052, allocations: 11.94 kB / 1.187 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/1.052, allocations: 15.94 kB / 1.187 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/1.052, allocations: 306.5 kB / 1.188 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/1.054, allocations: 1.209 MB / 1.189 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/1.055, allocations: 0.5129 MB / 1.189 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/1.056, allocations: 177.3 kB / 1.19 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/1.056, allocations: 7.938 kB / 1.19 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/1.056, allocations: 229.7 kB / 1.19 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=35): time 4.218e-06/1.056, allocations: 0 / 1.19 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.001192/1.058, allocations: 0.5224 MB / 1.19 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.965e-05/1.058, allocations: 133.5 kB / 1.19 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007981/1.059, allocations: 0.5135 MB / 1.191 GB, free: 9.23 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/1.059, allocations: 33.7 kB / 1.191 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/1.059, allocations: 252.4 kB / 1.191 GB, free: 8.941 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/1.059, allocations: 98.61 kB / 1.191 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/1.059, allocations: 8 kB / 1.191 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.059, allocations: 366.7 kB / 1.192 GB, free: 8.469 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/1.059, allocations: 132.6 kB / 1.192 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/1.06, allocations: 212.9 kB / 1.192 GB, free: 8.102 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006088/1.06, allocations: 303.6 kB / 1.192 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.06, allocations: 4.844 kB / 1.192 GB, free: 7.789 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008049/1.061, allocations: 400.6 kB / 1.193 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.046e-05/1.061, allocations: 106.7 kB / 1.193 GB, free: 7.273 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.061, allocations: 0 / 1.193 GB, free: 7.273 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.061, allocations: 3.938 kB / 1.193 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/1.062, allocations: 71.91 kB / 1.193 GB, free: 7.199 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.062, allocations: 7.922 kB / 1.193 GB, free: 7.191 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/1.062, allocations: 53.02 kB / 1.193 GB, free: 7.141 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/1.062, allocations: 11.98 kB / 1.193 GB, free: 7.129 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/1.062, allocations: 6.25 kB / 1.193 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005639/1.063, allocations: 303.5 kB / 1.193 GB, free: 6.828 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/1.063, allocations: 2.719 kB / 1.193 GB, free: 6.828 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-06/1.063, allocations: 0 / 1.193 GB, free: 6.828 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/1.063, allocations: 59.91 kB / 1.193 GB, free: 6.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/1.063, allocations: 4 kB / 1.193 GB, free: 6.766 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/1.063, allocations: 51.78 kB / 1.193 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/1.063, allocations: 8 kB / 1.193 GB, free: 6.707 MB / 0.7605 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.0003265/1.064, allocations: 288.3 kB / 1.194 GB, free: 6.418 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-05/1.064, allocations: 47.44 kB / 1.194 GB, free: 6.371 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008575/1.064, allocations: 440 kB / 1.194 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/1.064, allocations: 4 kB / 1.194 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.064, allocations: 0.9375 kB / 1.194 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.065, allocations: 3.984 kB / 1.194 GB, free: 5.934 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/1.066, allocations: 1.048 MB / 1.195 GB, free: 4.828 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.066, allocations: 4 kB / 1.195 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/1.066, allocations: 51.91 kB / 1.195 GB, free: 4.773 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/1.066, allocations: 4 kB / 1.195 GB, free: 4.77 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/1.066, allocations: 8 kB / 1.195 GB, free: 4.762 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.066, allocations: 4.688 kB / 1.195 GB, free: 4.758 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.066, allocations: 7.922 kB / 1.195 GB, free: 4.75 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.068, allocations: 0.6938 MB / 1.196 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/1.068, allocations: 136.5 kB / 1.196 GB, free: 3.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/1.068, allocations: 15.94 kB / 1.196 GB, free: 3.871 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/1.068, allocations: 40.75 kB / 1.196 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/1.068, allocations: 35.64 kB / 1.196 GB, free: 3.801 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/1.068, allocations: 8 kB / 1.196 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004674/1.069, allocations: 375.1 kB / 1.196 GB, free: 3.426 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/1.069, allocations: 0 / 1.196 GB, free: 3.426 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005971/1.069, allocations: 175.5 kB / 1.197 GB, free: 3.254 MB / 0.7605 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.001124/1.07, allocations: 460.7 kB / 1.197 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009825/1.071, allocations: 0.4889 MB / 1.198 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.071, allocations: 0 / 1.198 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/1.072, allocations: 183.9 kB / 1.198 GB, free: 2.367 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007766/1.073, allocations: 109.1 kB / 1.198 GB, free: 2.262 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/1.074, allocations: 0.9958 MB / 1.199 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/1.075, allocations: 0.8589 MB / 1.2 GB, free: 360 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003232/1.075, allocations: 94.69 kB / 1.2 GB, free: 276 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/1.075, allocations: 39.42 kB / 1.2 GB, free: 236 kB / 0.7605 GB Notification: Performance of SimCode: time 2.7e-07/1.075, allocations: 0 / 1.2 GB, free: 236 kB / 0.7605 GB Notification: Performance of Templates: time 0.01161/1.087, allocations: 5.823 MB / 1.205 GB, free: 10.66 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.sim & ./Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1)