Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 105.8 kB / 16.38 MB, free: 6.484 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.001238/0.001238, allocations: 190.5 kB / 17.31 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.208e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.004043/0.004091, allocations: 2.742 MB / 0.6755 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002336/0.00644, allocations: 1.579 MB / 0.6771 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.006631, allocations: 11.94 kB / 0.6771 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004083/0.007046, allocations: 158.9 kB / 0.6772 GB, free: 1.383 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.007477, allocations: 179 kB / 0.6774 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009095/0.008409, allocations: 482.6 kB / 0.6779 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000702/0.00912, allocations: 0.8147 MB / 0.6787 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005187/0.009648, allocations: 0.5193 MB / 0.6792 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.009971, allocations: 350.9 kB / 0.6795 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.01029, allocations: 342.6 kB / 0.6798 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.01039, allocations: 80 kB / 0.6799 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.01063, allocations: 171.9 kB / 0.6801 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0005882/0.01123, allocations: 0.9195 MB / 0.681 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0002927/0.01153, allocations: 0.5502 MB / 0.6815 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.01163, allocations: 95.69 kB / 0.6816 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.252e-05/0.01173, allocations: 55.61 kB / 0.6817 GB, free: 12.83 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 (125) * Number of variables: 123 (117) Notification: Performance of Bindings: time 0.00242/0.01416, allocations: 2.645 MB / 0.6842 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0002374/0.0144, allocations: 199.7 kB / 0.6844 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.001465/0.01588, allocations: 1.702 MB / 0.6861 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simplify1: time 0.0001322/0.01602, allocations: 115.8 kB / 0.6862 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of Alias: time 0.002541/0.01856, allocations: 2.407 MB / 0.6886 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of simplify2: time 9.155e-05/0.01867, allocations: 87.88 kB / 0.6886 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of Events: time 0.0005153/0.01919, allocations: 437.1 kB / 0.6891 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0006312/0.01983, allocations: 0.7153 MB / 0.6898 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0006447/0.02048, allocations: 0.6712 MB / 0.6904 GB, free: 3.441 MB / 0.5606 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (113/122) ********************************* (1) [DISC] (1) final Boolean chiStaCon.con1.localCondition = chiStaCon.con1.localCondition (2) [DISC] (1) protected Boolean chiStaCon.off.newActive (3) [ALGB] (1) protected flow Real chiStaCon.off.outerStatePort.subgraphStatePort.activeSteps (4) [DISS] (1) protected Real TCHWSup.T_start (5) [DISC] (1) Integer chiStaCon.booToInt1.y (6) [DISC] (1) Boolean chiStaCon.con4.inPort.available (7) [DISC] (1) Integer chiStaCon.addInt.y (8) [DISC] (1) Boolean chiStaCon.con2.enableFire (9) [DISC] (1) protected Boolean chiStaCon.off.outerStatePort.localActive = chiStaCon.off.outerStatePort.localActive (10) [ALGB] (1) Real chiStaCon.con4.t (11) [DISC] (1) protected Boolean chiStaCon.oneOn.newActive (12) [DISC] (1) Boolean[1] chiStaCon.twoOn.outPort.reset (13) [ALGB] (1) protected Real chiStaCon.con4.t_dummy (14) [DISC] (1) Boolean chiStaCon.con3.inPort.available (15) [DISC] (1) Boolean chiStaCon.con3.outPort.occupied (16) [DISS] (1) protected discrete Real cooMod.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (17) [ALGB] (2) Real[2] chiStaCon.combiTable1Ds.y (18) [DISC] (1) Integer chiStaCon.cooMod (19) [DISS] (1) protected Boolean chiStaCon.oneOn.oldActive (20) [ALGB] (1) Real TCHWSup.y (21) [ALGB] (1) protected flow Real chiStaCon.twoOn.outerStatePort.subgraphStatePort.activeSteps (22) [DISC] (1) Boolean chiStaCon.con1.enableFire (23) [ALGB] (2) Real[2] chiStaCon.y (24) [DISC] (1) Boolean $SEV_24 (25) [ALGB] (1) Real $FUN_8 (26) [DISC] (1) Boolean $SEV_23 (27) [DISC] (1) Boolean chiStaCon.con1.outPort.occupied (28) [ALGB] (1) Real $FUN_7 (29) [DISC] (1) Boolean $SEV_22 (30) [DISC] (1) Boolean $FUN_6 (31) [DISC] (1) Boolean $SEV_21 (32) [DISC] (1) Boolean $FUN_5 (33) [DISC] (1) Boolean $SEV_20 (34) [DISC] (1) Boolean $FUN_4 (35) [DISC] (1) Boolean $FUN_3 (36) [DISC] (1) Boolean $FUN_2 (37) [DISC] (1) Boolean[1] chiStaCon.twoOn.outPort.available (38) [DISC] (1) Boolean $FUN_1 (39) [DISC] (1) Boolean chiStaCon.con4.outPort.set (40) [ALGB] (1) Real chiStaCon.con1.t (41) [DISC] (2) Boolean[2] $SEV_17[$i1] (42) [DISC] (1) Boolean chiStaCon.con2.inPort.available (43) [ALGB] (1) Real[1] cooMod.combiTimeTable.y (44) [DISC] (1) protected Boolean chiStaCon.oneOn.outerStatePort.localActive = chiStaCon.oneOn.outerStatePort.localActive (45) [DISC] (2) Boolean[2] chiStaCon.oneOn.inPort.set (46) [DISC] (1) Boolean[1] chiStaCon.twoOn.inPort.set (47) [DISC] (2) Boolean[2] chiStaCon.oneOn.inPort.occupied (48) [DISC] (1) Boolean[1] chiStaCon.off.outPort.reset (49) [DISC] (1) final Boolean chiStaCon.con3.localCondition = chiStaCon.con3.localCondition (50) [ALGB] (1) Real chiStaCon.con3.t (51) [DISC] (1) Boolean $SEV_19 (52) [DISC] (1) Boolean $SEV_18 (53) [DISC] (1) Boolean[1] chiStaCon.off.outPort.available (54) [DISC] (1) protected Boolean chiStaCon.twoOn.outerStatePort.localActive = chiStaCon.twoOn.outerStatePort.localActive (55) [DISC] (1) Boolean chiStaCon.con2.outPort.occupied (56) [DISC] (1) Boolean $SEV_14 (57) [ALGB] (1) protected Real chiStaCon.con1.t_dummy (58) [DISC] (1) Boolean $SEV_13 (59) [DISC] (1) Boolean $SEV_12 (60) [DISC] (1) Boolean $SEV_11 (61) [DISC] (1) Boolean $SEV_10 (62) [DISC] (1) Integer chiStaCon.booToInt.y (63) [DISC] (1) Boolean chiStaCon.con3.outPort.set (64) [DISC] (1) Boolean chiStaCon.con2.outPort.set (65) [DISC] (1) Boolean chiStaCon.con1.inPort.available (66) [DISC] (1) Boolean chiStaCon.con1.outPort.set (67) [DISC] (1) Boolean chiStaCon.con4.enableFire (68) [DISC] (2) Boolean[2] $SEV_16[$i1] (69) [DISS] (1) protected Integer TCHWSup.count (70) [DISC] (2) Boolean[2] chiStaCon.oneOn.outPort.available (71) [ALGB] (1) flow Real chiStaCon.stateGraphRoot.subgraphStatePort.activeSteps (72) [ALGB] (1) protected Real TCHWSup.T_width = (TCHWSup.width * TCHWSup.period) / 100.0 (73) [DISC] (1) protected Boolean chiStaCon.twoOn.newActive (74) [DISC] (1) final Boolean chiStaCon.con4.localCondition = chiStaCon.con4.localCondition (75) [DISC] (1) Boolean $SEV_9 (76) [DISC] (1) Boolean $SEV_8 (77) [DISC] (1) final Boolean chiStaCon.con2.localCondition = chiStaCon.con2.localCondition (78) [DISC] (1) Boolean $SEV_7 (79) [DISC] (1) Boolean $SEV_6 (80) [DISC] (1) Boolean $SEV_5 (81) [DISC] (1) Boolean $TEV_9 (82) [DISC] (1) Boolean $TEV_8 (83) [ALGB] (1) protected Real chiStaCon.con2.t_dummy (84) [DISC] (1) Boolean $SEV_2 (85) [DISC] (1) Boolean $TEV_7 (86) [DISC] (1) Boolean $SEV_1 (87) [DISC] (1) Boolean $TEV_6 (88) [DISC] (1) Boolean $SEV_0 (89) [DISC] (1) Boolean $TEV_5 (90) [DISC] (1) Boolean $TEV_4 (91) [DISC] (1) Boolean $TEV_3 (92) [DISS] (1) protected Boolean chiStaCon.twoOn.oldActive (93) [DISC] (1) Boolean $TEV_2 (94) [DISC] (1) Boolean $TEV_1 (95) [DISS] (1) protected discrete Real cooMod.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (96) [DISC] (1) Boolean $TEV_0 (97) [DISC] (1) Boolean chiStaCon.con3.enableFire (98) [DISC] (1) Boolean $TEV_13 (99) [DISC] (1) Boolean $TEV_12 (100) [DISC] (1) Boolean[1] chiStaCon.off.inPort.occupied (101) [DISC] (1) Boolean $TEV_11 (102) [DISC] (1) Boolean $TEV_10 (103) [DISC] (1) Boolean[1] chiStaCon.off.inPort.set (104) [ALGB] (1) Real cooMod.realToInteger.u (105) [DISS] (1) protected Boolean chiStaCon.off.oldActive (106) [DISC] (1) Boolean chiStaCon.con4.outPort.occupied (107) [DISC] (1) Integer chiStaCon.stateGraphRoot.activeSteps (108) [ALGB] (1) Real chiStaCon.con2.t (109) [ALGB] (1) protected flow Real chiStaCon.oneOn.outerStatePort.subgraphStatePort.activeSteps (110) [ALGB] (1) protected Real chiStaCon.con3.t_dummy (111) [DISC] (2) Boolean[2] $SEV_15[$i1] (112) [DISC] (2) Boolean[2] chiStaCon.oneOn.outPort.reset (113) [DISC] (1) Boolean[1] chiStaCon.twoOn.inPort.occupied system eqns Equations (121/130) ********************************* (1) [SCAL] (1) chiStaCon.con3.outPort.set = $SEV_10 ($RES_SIM_50) (2) [SCAL] (1) chiStaCon.con3.t = if chiStaCon.con3.enableFire then chiStaCon.con3.t_dummy else 0.0 ($RES_SIM_51) (3) [SCAL] (1) chiStaCon.con4.localCondition = $SEV_21 ($RES_BND_146) (4) [WHEN] (1)when chiStaCon.con3.enableFire then (4) [----] time - chiStaCon.con3.t_dummy := time (4) [----] end when; (5) [SCAL] (1) TCHWSup.y = TCHWSup.offset + (if $SEV_0 then 0.0 else if $SEV_1 then TCHWSup.amplitude else 0.0) ($RES_SIM_19) (6) [SCAL] (1) chiStaCon.oneOn.outerStatePort.subgraphStatePort.activeSteps = if chiStaCon.oneOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_91) (7) [SCAL] (1) chiStaCon.con2.enableFire = $SEV_11 ($RES_SIM_56) (8) [SCAL] (1) chiStaCon.con2.outPort.set = $SEV_12 ($RES_SIM_57) (9) [SCAL] (1) chiStaCon.con2.t = if chiStaCon.con2.enableFire then chiStaCon.con2.t_dummy else 0.0 ($RES_SIM_58) (10) [SCAL] (1) chiStaCon.con1.enableFire = $SEV_19 ($RES_SIM_94) (11) [SCAL] (1) chiStaCon.con1.outPort.set = $SEV_20 ($RES_SIM_95) (12) [SCAL] (1) chiStaCon.con1.t = if chiStaCon.con1.enableFire then chiStaCon.con1.t_dummy else 0.0 ($RES_SIM_96) (13) [SCAL] (1) $TEV_5 = $PRE.chiStaCon.twoOn.newActive ($RES_EVT_170) (14) [WHEN] (1)when chiStaCon.con1.enableFire then (14) [----] time - chiStaCon.con1.t_dummy := time (14) [----] end when; (15) [SCAL] (1) $TEV_6 = $PRE.chiStaCon.off.oldActive ($RES_EVT_171) (16) [SCAL] (1) chiStaCon.off.outerStatePort.subgraphStatePort.activeSteps + chiStaCon.twoOn.outerStatePort.subgraphStatePort.activeSteps + chiStaCon.stateGraphRoot.subgraphStatePort.activeSteps + chiStaCon.oneOn.outerStatePort.subgraphStatePort.activeSteps = 0.0 ($RES_SIM_99) (17) [SCAL] (1) $TEV_7 = $PRE.chiStaCon.off.outerStatePort.localActive ($RES_EVT_172) (18) [SCAL] (1) $TEV_8 = $PRE.chiStaCon.off.newActive ($RES_EVT_173) (19) [SCAL] (1) $TEV_9 = $PRE.chiStaCon.oneOn.oldActive ($RES_EVT_174) (20) [SCAL] (1) $TEV_10 = $PRE.chiStaCon.oneOn.outerStatePort.localActive ($RES_EVT_175) (21) [SCAL] (1) $TEV_11 = $PRE.chiStaCon.oneOn.newActive ($RES_EVT_176) (22) [SCAL] (1) $TEV_12 = $PRE.chiStaCon.con1.enableFire ($RES_EVT_177) (23) [SCAL] (1) $TEV_13 = $PRE.cooMod.combiTimeTable.nextTimeEventScaled ($RES_EVT_178) (24) [SCAL] (1) $SEV_0 = (time < TCHWSup.startTime or TCHWSup.nperiod == 0) or TCHWSup.nperiod > 0 and TCHWSup.count >= TCHWSup.nperiod ($RES_EVT_179) (25) [WHEN] (1)when $SEV_2 then (25) [----] TCHWSup.T_start := time (25) [----] end when; (26) [SCAL] (1) TCHWSup.T_width = 0.01 * TCHWSup.width * TCHWSup.period ($RES_BND_150) (27) [WHEN] (1)when $SEV_2 then (27) [----] TCHWSup.count := $PRE.TCHWSup.count + 1 (27) [----] end when; (28) [SCAL] (1) cooMod.combiTimeTable.y[1] = cooMod.realToInteger.u ($RES_SIM_104) (29) [SCAL] (1) chiStaCon.cooMod = if $SEV_5 then integer($FUN_7) else integer($FUN_8) ($RES_SIM_24) (30) [WHEN] (1)when chiStaCon.con2.enableFire then (30) [----] time - chiStaCon.con2.t_dummy := time (30) [----] end when; (31) [SCAL] (1) cooMod.combiTimeTable.y[1] = cooMod.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(cooMod.combiTimeTable.tableID, 1, time, cooMod.combiTimeTable.nextTimeEventScaled, $TEV_13) ($RES_SIM_25) (32) [SCAL] (1) chiStaCon.twoOn.outPort[1].reset = false ($RES_SIM_61) (33) [WHEN] (1)when {$SEV_6, initial()} then (33) [----] cooMod.combiTimeTable.nextTimeEvent := if cooMod.combiTimeTable.nextTimeEventScaled < 1e60 then cooMod.combiTimeTable.nextTimeEventScaled else 1e60 (33) [----] end when; (34) [SCAL] (1) chiStaCon.twoOn.inPort[1].set = false ($RES_SIM_62) (35) [WHEN] (1)when {$SEV_6, initial()} then (35) [----] cooMod.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(cooMod.combiTimeTable.tableID, time) (35) [----] end when; (36) [SCAL] (1) chiStaCon.twoOn.outPort[1].available = chiStaCon.twoOn.outerStatePort.localActive ($RES_SIM_63) (37) [SCAL] (1) chiStaCon.twoOn.inPort[1].occupied = chiStaCon.twoOn.outerStatePort.localActive ($RES_SIM_64) (38) [WHEN] (1)when false then (38) [----] chiStaCon.twoOn.oldActive := chiStaCon.twoOn.outerStatePort.localActive (38) [----] end when; (39) [SCAL] (1) chiStaCon.twoOn.newActive = $SEV_13 ($RES_SIM_66) (40) [SCAL] (1) chiStaCon.twoOn.outerStatePort.localActive = $TEV_5 ($RES_SIM_67) (41) [SCAL] (1) chiStaCon.twoOn.outerStatePort.subgraphStatePort.activeSteps = if chiStaCon.twoOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_69) (42) [SCAL] (1) $SEV_1 = time < (TCHWSup.T_start + TCHWSup.T_width) ($RES_EVT_180) (43) [SCAL] (1) $SEV_2 = integer((time - TCHWSup.startTime) / TCHWSup.period) > $PRE.TCHWSup.count ($RES_EVT_181) (44) [SCAL] (1) $SEV_5 = cooMod.realToInteger.u > 0.0 ($RES_EVT_184) (45) [SCAL] (1) $SEV_6 = time >= $PRE.cooMod.combiTimeTable.nextTimeEvent ($RES_EVT_185) (46) [SCAL] (1) $SEV_7 = (chiStaCon.con4.localCondition and chiStaCon.con4.inPort.available) and not chiStaCon.con4.outPort.occupied ($RES_EVT_186) (47) [SCAL] (1) $SEV_8 = chiStaCon.con4.enableFire and time >= ((time - chiStaCon.con4.t_dummy) + chiStaCon.con4.waitTime) ($RES_EVT_187) (48) [SCAL] (1) $SEV_9 = (chiStaCon.con3.localCondition and chiStaCon.con3.inPort.available) and not chiStaCon.con3.outPort.occupied ($RES_EVT_188) (49) [SCAL] (1) $SEV_10 = chiStaCon.con3.enableFire and time >= ((time - chiStaCon.con3.t_dummy) + chiStaCon.con3.waitTime) ($RES_EVT_189) (50) [ARRY] (2) chiStaCon.combiTable1Ds.y = chiStaCon.y ($RES_SIM_111) (51) [SCAL] (1) chiStaCon.con4.outPort.set = chiStaCon.oneOn.outPort[2].reset ($RES_SIM_112) (52) [SCAL] (1) chiStaCon.con4.inPort.available = chiStaCon.oneOn.outPort[2].available ($RES_SIM_113) (53) [SCAL] (1) chiStaCon.addInt.y = chiStaCon.addInt.k1 * chiStaCon.booToInt.y + chiStaCon.addInt.k2 * chiStaCon.booToInt1.y ($RES_SIM_31) (54) [SCAL] (1) chiStaCon.con3.outPort.set = chiStaCon.oneOn.inPort[2].set ($RES_SIM_114) (55) [SCAL] (1) chiStaCon.booToInt1.y = if chiStaCon.twoOn.outerStatePort.localActive then chiStaCon.booToInt1.integerTrue else chiStaCon.booToInt1.integerFalse ($RES_SIM_32) (56) [SCAL] (1) chiStaCon.con3.outPort.occupied = chiStaCon.oneOn.inPort[2].occupied ($RES_SIM_115) (57) [SCAL] (1) chiStaCon.booToInt.y = if chiStaCon.oneOn.outerStatePort.localActive then chiStaCon.booToInt.integerTrue else chiStaCon.booToInt.integerFalse ($RES_SIM_33) (58) [SCAL] (1) chiStaCon.con4.outPort.set = chiStaCon.off.inPort[1].set ($RES_SIM_116) (59) [FOR-] (2) ($RES_SIM_34) (59) [----] for $i1 in 1:2 loop (59) [----] [SCAL] (1) chiStaCon.combiTable1Ds.y[$i1] = Modelica.Blocks.Tables.Internal.getTable1DValue(chiStaCon.combiTable1Ds.tableID, $i1, chiStaCon.addInt.y) ($RES_SIM_35) (59) [----] end for; (60) [SCAL] (1) chiStaCon.con4.outPort.occupied = chiStaCon.off.inPort[1].occupied ($RES_SIM_117) (61) [SCAL] (1) chiStaCon.off.outPort[1].reset = false ($RES_SIM_70) (62) [SCAL] (1) chiStaCon.twoOn.outPort[1].reset = chiStaCon.con3.outPort.set ($RES_SIM_118) (63) [SCAL] (1) chiStaCon.off.inPort[1].set = false ($RES_SIM_71) (64) [SCAL] (1) chiStaCon.twoOn.outPort[1].available = chiStaCon.con3.inPort.available ($RES_SIM_119) (65) [SCAL] (1) chiStaCon.off.outPort[1].available = chiStaCon.off.outerStatePort.localActive ($RES_SIM_72) (66) [SCAL] (1) chiStaCon.off.inPort[1].occupied = chiStaCon.off.outerStatePort.localActive ($RES_SIM_73) (67) [WHEN] (1)when false then (67) [----] chiStaCon.off.oldActive := chiStaCon.off.outerStatePort.localActive (67) [----] end when; (68) [SCAL] (1) chiStaCon.stateGraphRoot.activeSteps = -integer(chiStaCon.stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_39) (69) [SCAL] (1) chiStaCon.off.newActive = $SEV_14 ($RES_SIM_75) (70) [SCAL] (1) chiStaCon.off.outerStatePort.localActive = $TEV_8 ($RES_SIM_76) (71) [SCAL] (1) chiStaCon.off.outerStatePort.subgraphStatePort.activeSteps = if chiStaCon.off.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_78) (72) [FOR-] (2) ($RES_SIM_79) (72) [----] for $i1 in 1:2 loop (72) [----] [SCAL] (1) chiStaCon.oneOn.outPort[$i1].reset = false ($RES_SIM_80) (72) [----] end for; (73) [SCAL] (1) $SEV_11 = (chiStaCon.con2.localCondition and chiStaCon.con2.inPort.available) and not chiStaCon.con2.outPort.occupied ($RES_EVT_190) (74) [SCAL] (1) $SEV_12 = chiStaCon.con2.enableFire and time >= ((time - chiStaCon.con2.t_dummy) + chiStaCon.con2.waitTime) ($RES_EVT_191) (75) [SCAL] (1) $SEV_13 = $FUN_5 or chiStaCon.twoOn.outerStatePort.localActive and not $FUN_6 ($RES_EVT_192) (76) [SCAL] (1) $SEV_14 = $FUN_3 or chiStaCon.off.outerStatePort.localActive and not $FUN_4 ($RES_EVT_193) (77) [FOR-] (2) ($RES_EVT_194) (77) [----] for $i1 in 1:2 loop (77) [----] [SCAL] (1) $SEV_15[$i1] = $i1 == 1 ($RES_EVT_195) (77) [----] end for; (78) [FOR-] (2) ($RES_EVT_196) (78) [----] for $i1 in 1:2 loop (78) [----] [SCAL] (1) $SEV_16[$i1] = chiStaCon.oneOn.outPort[$i1 - 1].available and not chiStaCon.oneOn.outPort[$i1 - 1].reset ($RES_EVT_197) (78) [----] end for; (79) [FOR-] (2) ($RES_EVT_198) (79) [----] for $i1 in 1:2 loop (79) [----] [SCAL] (1) $SEV_17[$i1] = chiStaCon.oneOn.inPort[$i1 - 1].occupied or chiStaCon.oneOn.inPort[$i1 - 1].set ($RES_EVT_199) (79) [----] end for; (80) [SCAL] (1) $FUN_1 = Modelica.StateGraph.Temporary.anyTrue(chiStaCon.oneOn.inPort.set) ($RES_$AUX_158) (81) [SCAL] (1) $FUN_2 = Modelica.StateGraph.Temporary.anyTrue(chiStaCon.oneOn.outPort.reset) ($RES_$AUX_157) (82) [SCAL] (1) chiStaCon.con2.outPort.set = chiStaCon.twoOn.inPort[1].set ($RES_SIM_120) (83) [SCAL] (1) $FUN_3 = Modelica.StateGraph.Temporary.anyTrue(chiStaCon.off.inPort.set) ($RES_$AUX_156) (84) [SCAL] (1) chiStaCon.con2.outPort.occupied = chiStaCon.twoOn.inPort[1].occupied ($RES_SIM_121) (85) [SCAL] (1) $FUN_4 = Modelica.StateGraph.Temporary.anyTrue(chiStaCon.off.outPort.reset) ($RES_$AUX_155) (86) [SCAL] (1) chiStaCon.con2.outPort.set = chiStaCon.oneOn.outPort[1].reset ($RES_SIM_122) (87) [SCAL] (1) $FUN_5 = Modelica.StateGraph.Temporary.anyTrue(chiStaCon.twoOn.inPort.set) ($RES_$AUX_154) (88) [SCAL] (1) chiStaCon.con2.inPort.available = chiStaCon.oneOn.outPort[1].available ($RES_SIM_123) (89) [SCAL] (1) $FUN_6 = Modelica.StateGraph.Temporary.anyTrue(chiStaCon.twoOn.outPort.reset) ($RES_$AUX_153) (90) [SCAL] (1) chiStaCon.con4.enableFire = $SEV_7 ($RES_SIM_42) (91) [SCAL] (1) chiStaCon.con1.outPort.set = chiStaCon.oneOn.inPort[1].set ($RES_SIM_124) (92) [SCAL] (1) chiStaCon.con1.localCondition = $SEV_24 ($RES_BND_137) (93) [SCAL] (1) $FUN_7 = floor(0.5 + cooMod.realToInteger.u) ($RES_$AUX_152) (94) [SCAL] (1) chiStaCon.con4.outPort.set = $SEV_8 ($RES_SIM_43) (95) [SCAL] (1) chiStaCon.con1.outPort.occupied = chiStaCon.oneOn.inPort[1].occupied ($RES_SIM_125) (96) [SCAL] (1) $FUN_8 = ceil((-0.5) + cooMod.realToInteger.u) ($RES_$AUX_151) (97) [SCAL] (1) chiStaCon.con4.t = if chiStaCon.con4.enableFire then chiStaCon.con4.t_dummy else 0.0 ($RES_SIM_44) (98) [SCAL] (1) chiStaCon.off.outPort[1].reset = chiStaCon.con1.outPort.set ($RES_SIM_126) (99) [SCAL] (1) chiStaCon.off.outPort[1].available = chiStaCon.con1.inPort.available ($RES_SIM_127) (100) [FOR-] (2) ($RES_SIM_81) (100) [----] for $i1 in 1:2 loop (100) [----] [SCAL] (1) chiStaCon.oneOn.inPort[$i1].set = false ($RES_SIM_82) (100) [----] end for; (101) [WHEN] (1)when chiStaCon.con4.enableFire then (101) [----] time - chiStaCon.con4.t_dummy := time (101) [----] end when; (102) [FOR-] (2) ($RES_SIM_83) (102) [----] for $i1 in 1:2 loop (102) [----] [SCAL] (1) chiStaCon.oneOn.outPort[$i1].available = if $SEV_15[$i1] then chiStaCon.oneOn.outerStatePort.localActive else $SEV_16[$i1] ($RES_SIM_84) (102) [----] end for; (103) [SCAL] (1) chiStaCon.con3.enableFire = $SEV_9 ($RES_SIM_49) (104) [FOR-] (2) ($RES_SIM_85) (104) [----] for $i1 in 1:2 loop (104) [----] [SCAL] (1) chiStaCon.oneOn.inPort[$i1].occupied = if $SEV_15[$i1] then chiStaCon.oneOn.outerStatePort.localActive else $SEV_17[$i1] ($RES_SIM_86) (104) [----] end for; (105) [WHEN] (1)when false then (105) [----] chiStaCon.oneOn.oldActive := chiStaCon.oneOn.outerStatePort.localActive (105) [----] end when; (106) [SCAL] (1) chiStaCon.oneOn.newActive = $SEV_18 ($RES_SIM_88) (107) [SCAL] (1) chiStaCon.oneOn.outerStatePort.localActive = $TEV_11 ($RES_SIM_89) (108) [SCAL] (1) $SEV_18 = $FUN_1 or chiStaCon.oneOn.outerStatePort.localActive and not $FUN_2 ($RES_EVT_200) (109) [SCAL] (1) $SEV_19 = (chiStaCon.con1.localCondition and chiStaCon.con1.inPort.available) and not chiStaCon.con1.outPort.occupied ($RES_EVT_201) (110) [SCAL] (1) $SEV_20 = chiStaCon.con1.enableFire and time >= ((time - chiStaCon.con1.t_dummy) + chiStaCon.con1.waitTime) ($RES_EVT_202) (111) [SCAL] (1) $SEV_21 = chiStaCon.cooMod == 1 ($RES_EVT_203) (112) [SCAL] (1) $TEV_0 = $PRE.chiStaCon.con4.enableFire ($RES_EVT_165) (113) [SCAL] (1) $SEV_22 = (-QTot.k) < (-(chiStaCon.criPoiLoa - chiStaCon.dQ)) or TCHWSup.y < (chiStaCon.criPoiTem - chiStaCon.dT) ($RES_EVT_204) (114) [SCAL] (1) $TEV_1 = $PRE.chiStaCon.con3.enableFire ($RES_EVT_166) (115) [SCAL] (1) $SEV_23 = chiStaCon.cooMod == 3 and ((-QTot.k) > (-(chiStaCon.criPoiLoa + chiStaCon.dQ)) or TCHWSup.y > (chiStaCon.dT + chiStaCon.criPoiTem)) ($RES_EVT_205) (116) [SCAL] (1) $TEV_2 = $PRE.chiStaCon.con2.enableFire ($RES_EVT_167) (117) [SCAL] (1) $SEV_24 = chiStaCon.cooMod > 1 ($RES_EVT_206) (118) [SCAL] (1) $TEV_3 = $PRE.chiStaCon.twoOn.oldActive ($RES_EVT_168) (119) [SCAL] (1) $TEV_4 = $PRE.chiStaCon.twoOn.outerStatePort.localActive ($RES_EVT_169) (120) [SCAL] (1) chiStaCon.con2.localCondition = $SEV_23 ($RES_BND_142) (121) [SCAL] (1) chiStaCon.con3.localCondition = $SEV_22 ($RES_BND_144) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 98 var 2 --> eqn 71 var 3 --> eqn 73 var 4 --> eqn 25 var 5 --> eqn 56 var 6 --> eqn 53 var 7 --> eqn 54 var 8 --> eqn 7 var 9 --> eqn 72 var 10 --> eqn 103 var 11 --> eqn 115 var 12 --> eqn 32 var 13 --> eqn 108 var 14 --> eqn 66 var 15 --> eqn 57 var 16 --> eqn 33 var 17 --> eqn 60 var 18 --> eqn 61 var 19 --> eqn 29 var 20 --> eqn 114 var 21 --> eqn 5 var 22 --> eqn 41 var 23 --> eqn 10 var 24 --> eqn 50 var 25 --> eqn 51 var 26 --> eqn 126 var 27 --> eqn 102 var 28 --> eqn 124 var 29 --> eqn 101 var 30 --> eqn 99 var 31 --> eqn 122 var 32 --> eqn 95 var 33 --> eqn 120 var 34 --> eqn 93 var 35 --> eqn 119 var 36 --> eqn 91 var 37 --> eqn 89 var 38 --> eqn 87 var 39 --> eqn 36 var 40 --> eqn 86 var 41 --> eqn 100 var 42 --> eqn 12 var 43 --> eqn 84 var 44 --> eqn 85 var 45 --> eqn 94 var 46 --> eqn 31 var 47 --> eqn 116 var 48 --> eqn 97 var 49 --> eqn 55 var 50 --> eqn 34 var 51 --> eqn 112 var 52 --> eqn 113 var 53 --> eqn 63 var 54 --> eqn 130 var 55 --> eqn 2 var 56 --> eqn 118 var 57 --> eqn 117 var 58 --> eqn 67 var 59 --> eqn 40 var 60 --> eqn 90 var 61 --> eqn 79 var 62 --> eqn 14 var 63 --> eqn 78 var 64 --> eqn 77 var 65 --> eqn 76 var 66 --> eqn 49 var 67 --> eqn 58 var 68 --> eqn 1 var 69 --> eqn 8 var 70 --> eqn 105 var 71 --> eqn 11 var 72 --> eqn 96 var 73 --> eqn 82 var 74 --> eqn 83 var 75 --> eqn 27 var 76 --> eqn 109 var 77 --> eqn 110 var 78 --> eqn 16 var 79 --> eqn 26 var 80 --> eqn 39 var 81 --> eqn 3 var 82 --> eqn 48 var 83 --> eqn 47 var 84 --> eqn 129 var 85 --> eqn 46 var 86 --> eqn 45 var 87 --> eqn 44 var 88 --> eqn 19 var 89 --> eqn 18 var 90 --> eqn 30 var 91 --> eqn 43 var 92 --> eqn 17 var 93 --> eqn 42 var 94 --> eqn 15 var 95 --> eqn 24 var 96 --> eqn 13 var 97 --> eqn 128 var 98 --> eqn 127 var 99 --> eqn 38 var 100 --> eqn 125 var 101 --> eqn 123 var 102 --> eqn 35 var 103 --> eqn 121 var 104 --> eqn 111 var 105 --> eqn 23 var 106 --> eqn 22 var 107 --> eqn 68 var 108 --> eqn 21 var 109 --> eqn 20 var 110 --> eqn 59 var 111 --> eqn 28 var 112 --> eqn 69 var 113 --> eqn 62 var 114 --> eqn 70 var 115 --> eqn 9 var 116 --> eqn 6 var 117 --> eqn 4 var 118 --> eqn 80 var 119 --> eqn 81 var 120 --> eqn 74 var 121 --> eqn 52 var 122 --> eqn 37 equation to variable ********************** eqn 1 --> var 68 eqn 2 --> var 55 eqn 3 --> var 81 eqn 4 --> var 117 eqn 5 --> var 21 eqn 6 --> var 116 eqn 7 --> var 8 eqn 8 --> var 69 eqn 9 --> var 115 eqn 10 --> var 23 eqn 11 --> var 71 eqn 12 --> var 42 eqn 13 --> var 96 eqn 14 --> var 62 eqn 15 --> var 94 eqn 16 --> var 78 eqn 17 --> var 92 eqn 18 --> var 89 eqn 19 --> var 88 eqn 20 --> var 109 eqn 21 --> var 108 eqn 22 --> var 106 eqn 23 --> var 105 eqn 24 --> var 95 eqn 25 --> var 4 eqn 26 --> var 79 eqn 27 --> var 75 eqn 28 --> var 111 eqn 29 --> var 19 eqn 30 --> var 90 eqn 31 --> var 46 eqn 32 --> var 12 eqn 33 --> var 16 eqn 34 --> var 50 eqn 35 --> var 102 eqn 36 --> var 39 eqn 37 --> var 122 eqn 38 --> var 99 eqn 39 --> var 80 eqn 40 --> var 59 eqn 41 --> var 22 eqn 42 --> var 93 eqn 43 --> var 91 eqn 44 --> var 87 eqn 45 --> var 86 eqn 46 --> var 85 eqn 47 --> var 83 eqn 48 --> var 82 eqn 49 --> var 66 eqn 50 --> var 24 eqn 51 --> var 25 eqn 52 --> var 121 eqn 53 --> var 6 eqn 54 --> var 7 eqn 55 --> var 49 eqn 56 --> var 5 eqn 57 --> var 15 eqn 58 --> var 67 eqn 59 --> var 110 eqn 60 --> var 17 eqn 61 --> var 18 eqn 62 --> var 113 eqn 63 --> var 53 eqn 64 --> var -1 eqn 65 --> var -1 eqn 66 --> var 14 eqn 67 --> var 58 eqn 68 --> var 107 eqn 69 --> var 112 eqn 70 --> var 114 eqn 71 --> var 2 eqn 72 --> var 9 eqn 73 --> var 3 eqn 74 --> var 120 eqn 75 --> var -1 eqn 76 --> var 65 eqn 77 --> var 64 eqn 78 --> var 63 eqn 79 --> var 61 eqn 80 --> var 118 eqn 81 --> var 119 eqn 82 --> var 73 eqn 83 --> var 74 eqn 84 --> var 43 eqn 85 --> var 44 eqn 86 --> var 40 eqn 87 --> var 38 eqn 88 --> var -1 eqn 89 --> var 37 eqn 90 --> var 60 eqn 91 --> var 36 eqn 92 --> var -1 eqn 93 --> var 34 eqn 94 --> var 45 eqn 95 --> var 32 eqn 96 --> var 72 eqn 97 --> var 48 eqn 98 --> var 1 eqn 99 --> var 30 eqn 100 --> var 41 eqn 101 --> var 29 eqn 102 --> var 27 eqn 103 --> var 10 eqn 104 --> var -1 eqn 105 --> var 70 eqn 106 --> var -1 eqn 107 --> var -1 eqn 108 --> var 13 eqn 109 --> var 76 eqn 110 --> var 77 eqn 111 --> var 104 eqn 112 --> var 51 eqn 113 --> var 52 eqn 114 --> var 20 eqn 115 --> var 11 eqn 116 --> var 47 eqn 117 --> var 57 eqn 118 --> var 56 eqn 119 --> var 35 eqn 120 --> var 33 eqn 121 --> var 103 eqn 122 --> var 31 eqn 123 --> var 101 eqn 124 --> var 28 eqn 125 --> var 100 eqn 126 --> var 26 eqn 127 --> var 98 eqn 128 --> var 97 eqn 129 --> var 84 eqn 130 --> var 54