Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009345/0.0009345, allocations: 90.98 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009067/0.009067, allocations: 170.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 21.69 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3485, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass): time 0.003739/0.3523, allocations: 2.647 MB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002797/0.3552, allocations: 1.45 MB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004556/0.3556, allocations: 11.94 kB / 1.078 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009175/0.3566, allocations: 287.1 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000555/0.3571, allocations: 210.1 kB / 1.079 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009113/0.3581, allocations: 370.3 kB / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006292/0.3587, allocations: 0.6167 MB / 1.08 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.3591, allocations: 254.2 kB / 1.08 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.3594, allocations: 183 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.3597, allocations: 202.8 kB / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.3597, allocations: 12 kB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.3599, allocations: 71.89 kB / 1.08 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.36, allocations: 107.5 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.3602, allocations: 224.3 kB / 1.081 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006301/0.3609, allocations: 0.7047 MB / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3609, allocations: 0 / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3609, allocations: 0 / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3609, allocations: 0 / 1.081 GB, free: 192 kB / 0.8262 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.001388/0.3623, allocations: 0.8174 MB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3623, allocations: 12.02 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.3625, allocations: 64.12 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.363, allocations: 442.5 kB / 1.083 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.3631, allocations: 36.97 kB / 1.083 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.3631, allocations: 36.12 kB / 1.083 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009592/0.3641, allocations: 394.7 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3641, allocations: 8 kB / 1.083 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/0.3642, allocations: 12 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.3642, allocations: 11.94 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/0.3649, allocations: 298.4 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.3667, allocations: 1.287 MB / 1.085 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.3678, allocations: 0.5044 MB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.3681, allocations: 176.8 kB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.3682, allocations: 4 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004413/0.3686, allocations: 225.5 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 4.308e-06/0.3686, allocations: 3.984 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.001079/0.3697, allocations: 0.4946 MB / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.3698, allocations: 136.5 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005988/0.3704, allocations: 0.4979 MB / 1.087 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.3705, allocations: 37.7 kB / 1.087 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.3707, allocations: 248.3 kB / 1.087 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-05/0.3707, allocations: 98.55 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.3708, allocations: 49.69 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.371, allocations: 362.8 kB / 1.087 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.3712, allocations: 120.6 kB / 1.087 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.3716, allocations: 217.8 kB / 1.088 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/0.3722, allocations: 295.7 kB / 1.088 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3722, allocations: 7.938 kB / 1.088 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007343/0.373, allocations: 397.2 kB / 1.088 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.641e-05/0.373, allocations: 115.6 kB / 1.088 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.373, allocations: 4 kB / 1.088 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3731, allocations: 0 / 1.088 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.3734, allocations: 75.89 kB / 1.089 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3734, allocations: 0 / 1.089 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.3736, allocations: 51.72 kB / 1.089 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.3737, allocations: 16 kB / 1.089 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-06/0.3737, allocations: 0 / 1.089 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005363/0.3742, allocations: 287.6 kB / 1.089 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3742, allocations: 4 kB / 1.089 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-06/0.3742, allocations: 0 / 1.089 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.3745, allocations: 68 kB / 1.089 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3745, allocations: 4.062 kB / 1.089 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.3747, allocations: 43.77 kB / 1.089 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.3748, allocations: 20.02 kB / 1.089 GB, free: 7.918 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.onOne.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.onTwo.combiTimeTable.nextTimeEvent,$whenCondition1,onTwo.combiTimeTable.nextTimeEventScaled,$PRE.onTwo.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEventScaled,$PRE.onOne.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEvent,chiBypCon.numChiOn.y,chiBypCon.intGreThr.y,chiBypCon.booToInt[2].y,chiBypCon.booToInt[1].y,chiBypCon.chiOn[2],chiBypCon.chiOn[1],$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002674/0.375, allocations: 283.2 kB / 1.089 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.3751, allocations: 47.34 kB / 1.089 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.3752, allocations: 56.77 kB / 1.089 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3752, allocations: 4 kB / 1.089 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3752, allocations: 0 / 1.089 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3752, allocations: 7.922 kB / 1.089 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.3767, allocations: 0.9871 MB / 1.09 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3767, allocations: 0 / 1.09 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.3769, allocations: 47.91 kB / 1.09 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.377, allocations: 7.938 kB / 1.09 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.377, allocations: 8 kB / 1.09 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.377, allocations: 0 / 1.09 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.377, allocations: 0 / 1.09 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.3781, allocations: 0.6625 MB / 1.091 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.3782, allocations: 128.5 kB / 1.091 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.3783, allocations: 11.94 kB / 1.091 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.3785, allocations: 31.97 kB / 1.091 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.3786, allocations: 23.97 kB / 1.091 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.3786, allocations: 16.05 kB / 1.091 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000421/0.3791, allocations: 367 kB / 1.092 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.825e-06/0.3791, allocations: 0 / 1.092 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000555/0.3796, allocations: 167.4 kB / 1.092 GB, free: 4.984 MB / 0.8419 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.intGreThr.y,$whenCondition3,$whenCondition2,$whenCondition1,chiBypCon.chiOn[1],chiBypCon.chiOn[2],chiBypCon.booToInt[1].y,chiBypCon.booToInt[2].y,chiBypCon.numChiOn.y,onOne.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,onTwo.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (onOne.combiTimeTable.nextTimeEvent,onTwo.combiTimeTable.nextTimeEvent,onTwo.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/0.3807, allocations: 449 kB / 1.092 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009987/0.3817, allocations: 484 kB / 1.093 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3817, allocations: 0 / 1.093 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.3821, allocations: 172.7 kB / 1.093 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.3828, allocations: 108.6 kB / 1.093 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3844, allocations: 1.029 MB / 1.094 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.3848, allocations: 0.851 MB / 1.095 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000277/0.3851, allocations: 83.2 kB / 1.095 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.3852, allocations: 35.42 kB / 1.095 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.3852, allocations: 4 kB / 1.095 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of Templates: time 0.01091/0.3961, allocations: 5.616 MB / 1.1 GB, free: 12.35 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.sim & ./Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1)