Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0008064/0.0008065, allocations: 89.97 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.005499/0.005499, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.478/1.478, allocations: 223.2 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.029/3.029, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004025, allocations: 8.469 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3566, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass): time 0.003698/0.3604, allocations: 2.639 MB / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002597/0.363, allocations: 1.454 MB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.3633, allocations: 7.938 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009152/0.3643, allocations: 295.1 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004879/0.3648, allocations: 199.2 kB / 1.079 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008452/0.3656, allocations: 377.9 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006366/0.3663, allocations: 0.6244 MB / 1.08 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.3667, allocations: 246.2 kB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.367, allocations: 190.9 kB / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.3673, allocations: 210.8 kB / 1.08 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.3673, allocations: 12 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.3675, allocations: 67.91 kB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.3676, allocations: 103.5 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.3678, allocations: 224.3 kB / 1.081 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006513/0.3685, allocations: 0.693 MB / 1.081 GB, free: 164 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.3685, allocations: 0 / 1.081 GB, free: 164 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3685, allocations: 0 / 1.081 GB, free: 164 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3685, allocations: 0 / 1.081 GB, free: 164 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.001441/0.37, allocations: 0.8291 MB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.37, allocations: 8.031 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.3701, allocations: 64.19 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.3707, allocations: 438.5 kB / 1.083 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.3708, allocations: 33.02 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.3709, allocations: 40 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007615/0.3716, allocations: 402.7 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3716, allocations: 0 / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.3717, allocations: 15.98 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3717, allocations: 8 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006314/0.3723, allocations: 298.4 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.3743, allocations: 1.294 MB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3754, allocations: 0.5044 MB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.3758, allocations: 174.6 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.3758, allocations: 4 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004407/0.3762, allocations: 233.4 kB / 1.085 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.3763, allocations: 0 / 1.085 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.00109/0.3774, allocations: 0.4985 MB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.3774, allocations: 136.5 kB / 1.086 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006211/0.3781, allocations: 0.4979 MB / 1.087 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.3781, allocations: 37.7 kB / 1.087 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.3783, allocations: 248.3 kB / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.513e-05/0.3784, allocations: 106.5 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.3785, allocations: 37.7 kB / 1.087 GB, free: 10 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3786, allocations: 358.8 kB / 1.087 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.3789, allocations: 128.6 kB / 1.087 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.3793, allocations: 217.8 kB / 1.088 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/0.3799, allocations: 299.7 kB / 1.088 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3799, allocations: 0 / 1.088 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007398/0.3806, allocations: 397.1 kB / 1.088 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.637e-05/0.3807, allocations: 123.6 kB / 1.088 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3807, allocations: 0 / 1.088 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3808, allocations: 0 / 1.088 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.3811, allocations: 71.91 kB / 1.089 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3811, allocations: 0 / 1.089 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.3813, allocations: 55.72 kB / 1.089 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.3814, allocations: 15.98 kB / 1.089 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.3814, allocations: 4 kB / 1.089 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005489/0.3819, allocations: 279.8 kB / 1.089 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.3819, allocations: 7.969 kB / 1.089 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.382, allocations: 0 / 1.089 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.3822, allocations: 67.89 kB / 1.089 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.3822, allocations: 0 / 1.089 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.3824, allocations: 43.77 kB / 1.089 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.3825, allocations: 11.94 kB / 1.089 GB, free: 7.887 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.000303/0.3828, allocations: 287.3 kB / 1.089 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.3828, allocations: 51.34 kB / 1.089 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.383, allocations: 52.75 kB / 1.089 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.383, allocations: 4.094 kB / 1.089 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.383, allocations: 4 kB / 1.089 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.383, allocations: 7.938 kB / 1.089 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.3845, allocations: 0.9832 MB / 1.09 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3845, allocations: 0 / 1.09 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.3848, allocations: 59.89 kB / 1.09 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3848, allocations: 3.938 kB / 1.09 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.3848, allocations: 12 kB / 1.09 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3848, allocations: 0 / 1.09 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3848, allocations: 0 / 1.09 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.386, allocations: 0.6508 MB / 1.091 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.3861, allocations: 136.5 kB / 1.091 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.3862, allocations: 7.938 kB / 1.091 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.3864, allocations: 36.03 kB / 1.091 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.3865, allocations: 23.97 kB / 1.091 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.3865, allocations: 12 kB / 1.091 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004389/0.387, allocations: 363.1 kB / 1.092 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.387, allocations: 3.938 kB / 1.092 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005627/0.3875, allocations: 167.4 kB / 1.092 GB, free: 4.945 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.001094/0.3886, allocations: 449.4 kB / 1.092 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.3897, allocations: 480.2 kB / 1.093 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3897, allocations: 0 / 1.093 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.39, allocations: 168.4 kB / 1.093 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007142/0.3908, allocations: 120.1 kB / 1.093 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.3924, allocations: 1.017 MB / 1.094 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.3928, allocations: 0.851 MB / 1.095 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002993/0.3931, allocations: 87.19 kB / 1.095 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.3932, allocations: 43.42 kB / 1.095 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of SimCode: time 1.182e-06/0.3932, allocations: 3.938 kB / 1.095 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of Templates: time 0.01134/0.4046, allocations: 5.616 MB / 1.1 GB, free: 12.3 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.makefile (rm -f Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.sim & ./Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1)