Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.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.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001406, allocations: 112.6 kB / 16.38 MB, free: 6 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.001311/0.001311, allocations: 187.9 kB / 17.31 MB, free: 5.621 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.506/1.506, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.726/1.726, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.801e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.007274/0.007317, allocations: 5.244 MB / 0.678 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006159/0.01351, allocations: 3.194 MB / 0.6811 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.01472, allocations: 31.81 kB / 0.6811 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.01667, allocations: 0.6916 MB / 0.6818 GB, free: 12.7 MB / 0.5606 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.001475/0.01816, allocations: 485.1 kB / 0.6823 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.0206, allocations: 1.004 MB / 0.6832 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003334/0.02394, allocations: 2.25 MB / 0.6854 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002585/0.02655, allocations: 1.405 MB / 0.6868 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.02842, allocations: 0.8954 MB / 0.6877 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.02965, allocations: 0.8672 MB / 0.6885 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003001/0.02996, allocations: 200 kB / 0.6887 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.03104, allocations: 391.8 kB / 0.6891 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.002295/0.03336, allocations: 2.656 MB / 0.6917 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.001222/0.0346, allocations: 1.685 MB / 0.6933 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005075/0.03511, allocations: 275.1 kB / 0.6936 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.000474/0.0356, allocations: 139 kB / 0.6937 GB, free: 392 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 (330) * Number of variables: 326 (310) Notification: Performance of Bindings: time 0.008374/0.04398, allocations: 8.195 MB / 0.7017 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.000925/0.04492, allocations: 0.9558 MB / 0.7027 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.004965/0.0499, allocations: 4.778 MB / 0.7073 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0003756/0.05029, allocations: 271.6 kB / 0.7076 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of Alias: time 0.009537/0.05984, allocations: 7.067 MB / 0.7145 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0004084/0.06029, allocations: 191.7 kB / 0.7147 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of Events: time 0.001612/0.0619, allocations: 1.195 MB / 0.7158 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of Detect States: time 0.002001/0.06392, allocations: 1.652 MB / 0.7175 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.002056/0.06599, allocations: 1.473 MB / 0.7189 GB, free: 5.375 MB / 0.5919 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (226/253) ********************************* (1) [ALGB] (1) protected Real con.warUpCtr.add.y (2) [DISC] (1) Boolean $SEV_29 (3) [DISC] (1) Boolean $SEV_28 (4) [DISC] (1) Boolean $SEV_27 (5) [DISC] (3) protected Boolean[3] con.plaOff.inPort.occupied (6) [DISC] (1) Boolean $SEV_26 (7) [DISC] (1) protected Boolean con.transition8.outPort.set (8) [DISC] (1) Boolean $SEV_25 (9) [DISC] (1) Boolean $SEV_24 (10) [DISC] (1) Boolean $SEV_23 (11) [DISC] (1) Boolean $SEV_22 (12) [DISC] (1) Boolean $SEV_21 (13) [DISC] (1) Boolean $TEV_9 (14) [DISC] (1) protected Boolean[1] con.pumOn.inPort.set (15) [DISC] (1) Boolean $TEV_8 (16) [DISC] (1) Boolean $TEV_7 (17) [DISC] (3) protected Boolean[3] con.plaOff.inPort.set (18) [DISC] (1) Boolean $TEV_6 (19) [DISC] (1) protected Boolean con.transition1.outPort.set (20) [DISC] (1) protected Boolean con.transition7.inPort.available (21) [DISC] (1) Boolean $TEV_5 (22) [DISS] (1) protected discrete Real PEle.tab.nextTimeEventScaled (fixed = true, start = 0.0) (23) [DISC] (1) Boolean $TEV_4 (24) [DISS] (1) protected discrete Real PEle.tab.nextTimeEvent (fixed = true, start = 0.0) (25) [DISC] (1) Boolean $TEV_3 (26) [DISC] (1) protected Boolean con.transition6.outPort.set (27) [DISC] (1) Boolean $TEV_2 (28) [DISC] (1) Boolean $TEV_1 (29) [DISC] (1) Boolean $TEV_0 (30) [DISC] (1) Boolean $TEV_39 (31) [DISC] (1) protected Boolean con.transition7.outPort.occupied (32) [DISC] (1) Boolean $TEV_38 (33) [ALGB] (1) protected Real con.transition4.t_dummy (34) [DISC] (1) Boolean $TEV_37 (35) [ALGB] (1) protected Real con.PEle (36) [DISC] (1) Boolean $TEV_36 (37) [DISC] (1) Boolean $TEV_35 (38) [DISC] (1) protected Boolean con.transition6.outPort.occupied (39) [DISC] (1) protected Boolean con.transition3.outPort.set (40) [DISC] (1) Boolean $TEV_34 (41) [DISC] (1) Boolean $TEV_33 (42) [DISC] (1) Boolean $TEV_32 (43) [DISC] (2) protected Boolean[2] con.cooDow.inPort.set (44) [DISC] (1) Boolean $TEV_31 (45) [DISC] (1) protected Boolean[1] con.staBy.inPort.set (46) [DISC] (1) Boolean $TEV_30 (47) [DISC] (2) Boolean[2] $SEV_47[$i1] (48) [DISC] (3) Boolean[3] $SEV_19[$i1] (49) [DISC] (1) Boolean $SEV_18 (50) [DISC] (1) Boolean $SEV_17 (51) [DISC] (1) protected Boolean con.and1.u2 (52) [DISC] (1) Boolean $SEV_16 (53) [DISC] (1) Boolean $SEV_15 (54) [DISC] (1) Boolean $SEV_14 (55) [DISC] (2) Boolean[2] $SEV_42[$i1] (56) [DISC] (1) protected final Boolean con.transition9.localCondition = con.transition9.localCondition (57) [DISC] (1) Boolean $SEV_12 (58) [DISC] (1) Boolean $SEV_11 (59) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (60) [DISC] (3) Boolean[3] $SEV_20[$i1] (61) [DISC] (1) protected Boolean con.warUpCtr.hysPow.y (62) [DISC] (1) protected Boolean con.staBy.newActive (63) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (64) [DISC] (1) protected enumeration Buildings.Fluid.CHPs.BaseClasses.Types.Mode(Off, StandBy, PumpOn, WarmUp, Normal, CoolDown) con.actMod (65) [DISC] (1) Boolean $TEV_29 (66) [DISC] (1) Boolean $TEV_28 (67) [DISC] (1) protected Boolean con.plaOff.outerStatePort.localActive = con.plaOff.outerStatePort.localActive (68) [ALGB] (1) protected Real con.PEleNet (69) [DISC] (1) Boolean $TEV_27 (70) [DISC] (1) Boolean $TEV_26 (71) [DISC] (1) Boolean $TEV_25 (72) [DISS] (1) protected discrete Real runSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (73) [DISC] (1) Boolean $TEV_24 (74) [DISS] (1) protected Boolean con.pumOn.oldActive (75) [DISC] (1) Boolean $TEV_23 (76) [DISC] (1) protected Boolean[1] con.nor.outPort.reset (77) [ALGB] (1) protected flow Real con.staBy.outerStatePort.subgraphStatePort.activeSteps (78) [DISC] (1) Boolean $TEV_22 (79) [DISC] (1) Boolean $TEV_21 (80) [DISC] (1) Boolean $TEV_20 (81) [DISC] (1) protected Boolean[1] con.plaOff.outPort.available (82) [DISC] (1) protected Boolean con.warUp.outerStatePort.localActive = con.warUp.outerStatePort.localActive (83) [DISC] (1) protected Boolean[1] con.nor.inPort.set (84) [ALGB] (1) protected flow Real con.pumOn.outerStatePort.subgraphStatePort.activeSteps (85) [DISC] (2) protected Boolean[2] con.cooDow.outPort.reset (86) [DISS] (1) protected Boolean con.nor.oldActive (87) [ALGB] (1) protected Real conWat.watFloSet.y (88) [ALGB] (1) protected Real[1] PEle.tab.y (89) [ALGB] (1) protected Real[1] PEle.y (90) [DISS] (1) protected Boolean con.staBy.oldActive (91) [ALGB] (1) protected Real[1] avaSig.combiTimeTable.y (92) [ALGB] (1) protected Real[1] mWat_flow.tab.y (93) [DISC] (1) Boolean $FUN_9 (94) [DISC] (1) Boolean $FUN_8 (95) [DISC] (1) Boolean $FUN_7 (96) [DISC] (1) protected Boolean con.transition2.outPort.set (97) [DISC] (1) Boolean $FUN_6 (98) [DISC] (1) Boolean $FUN_5 (99) [DISC] (2) Boolean[2] $SEV_46[$i1] (100) [DISC] (1) Boolean $FUN_4 (101) [ALGB] (1) protected Real avaSig.realToBoolean.u (102) [DISC] (1) protected Boolean con.transition3.outPort.occupied (103) [DISC] (1) Boolean $FUN_3 (104) [DISC] (1) Boolean $TEV_19 (105) [DISC] (1) Boolean $FUN_2 (106) [DISC] (1) Boolean $TEV_18 (107) [DISC] (1) protected Boolean con.pumOn.newActive (108) [DISC] (1) Boolean $FUN_1 (109) [DISC] (1) Boolean $TEV_17 (110) [DISS] (1) protected discrete Real runSig.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (111) [DISC] (1) Boolean $TEV_16 (112) [DISC] (1) Boolean $TEV_15 (113) [DISC] (1) Boolean $TEV_14 (114) [DISC] (1) Boolean $TEV_13 (115) [DISC] (1) protected final Boolean con.transition6.localCondition = con.transition6.localCondition (116) [DISC] (1) Boolean $TEV_12 (117) [DISC] (1) Boolean $TEV_11 (118) [DISC] (1) protected Boolean con.transition4.outPort.set (119) [DISC] (1) Boolean $TEV_10 (120) [DISC] (1) protected Boolean con.transition10.outPort.set (121) [DISC] (1) protected Boolean con.nor.newActive (122) [DISC] (1) protected Boolean con.warUpCtr.hysTem.y (123) [DISC] (1) protected Boolean con.transition10.inPort.available (124) [DISC] (1) protected Boolean conWat.offStaBy.y = con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off or con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy (125) [DISS] (1) protected discrete Real mWat_flow.tab.nextTimeEvent (fixed = true, start = 0.0) (126) [DISC] (1) protected final Boolean con.transition3.localCondition = con.transition3.localCondition (127) [ALGB] (1) protected flow Real con.plaOff.outerStatePort.subgraphStatePort.activeSteps (128) [DISC] (1) protected Boolean con.transition9.outPort.occupied (129) [ALGB] (1) protected Real conWat.mWatIntCon.y (130) [DISC] (1) protected Boolean[1] con.nor.inPort.occupied (131) [DISS] (1) protected discrete Real con.timer.entryTime (132) [ALGB] (1) protected flow Real con.cooDow.outerStatePort.subgraphStatePort.activeSteps (133) [DISC] (2) protected Boolean[2] con.pumOn.outPort.reset (134) [DISC] (1) protected Boolean con.hys.y (135) [DISC] (1) protected Boolean con.transition4.inPort.available (136) [DISC] (2) protected Boolean[2] con.warUp.outPort.available (137) [ALGB] (1) protected Real con.transition4.t (138) [DISC] (1) protected Boolean con.transition2.inPort.available (139) [DISC] (1) Boolean $FUN_12 (140) [DISC] (1) protected Boolean con.assWatMas.not1.u (141) [DISC] (1) Boolean $FUN_11 (142) [DISC] (1) Boolean $FUN_10 (143) [DISC] (1) protected Boolean con.transition3.inPort.available (144) [ALGB] (1) protected Real runSig.realToBoolean.u (145) [DISC] (1) protected Boolean[1] con.pumOn.inPort.occupied (146) [DISC] (1) protected Boolean con.warUpCtr.or2.y (147) [DISC] (1) Boolean $SEV_9 (148) [ALGB] (1) protected flow Real con.nor.outerStatePort.subgraphStatePort.activeSteps (149) [ALGB] (1) protected flow Real stateGraphRoot.subgraphStatePort.activeSteps (150) [DISC] (2) Boolean[2] $SEV_51[$i1] (151) [DISC] (1) protected Boolean con.plaOff.newActive (152) [ALGB] (1) protected Real[1] mWat_flow.y (153) [DISC] (1) protected Boolean con.transition8.inPort.available (154) [DISC] (1) protected Boolean con.transition8.outPort.occupied (155) [ALGB] (1) protected Real conWat.mWatIntCon.u2 (156) [DISC] (1) protected Boolean con.transition9.inPort.available (157) [DISS] (1) protected Boolean con.warUp.oldActive (158) [ALGB] (1) Real conWat.PEle (159) [DISC] (1) protected Boolean[1] con.staBy.inPort.occupied (160) [DISC] (1) Boolean $SEV_54 (161) [DISC] (1) Boolean $SEV_53 (162) [DISC] (1) protected Boolean con.transition5.outPort.set (163) [DISC] (1) Boolean $SEV_52 (164) [DISC] (1) protected Boolean con.nor.outerStatePort.localActive = con.nor.outerStatePort.localActive (165) [DISC] (1) Boolean $SEV_50 (166) [DISC] (1) protected Boolean con.transition2.outPort.occupied (167) [DISC] (1) protected Boolean con.staBy.outerStatePort.localActive = con.staBy.outerStatePort.localActive (168) [DISS] (1) protected Boolean con.plaOff.oldActive (169) [DISC] (1) protected Boolean con.transition1.outPort.occupied (170) [DISC] (1) protected final Boolean con.transition7.localCondition = con.transition7.localCondition (171) [DISS] (1) protected Boolean con.cooDow.oldActive (172) [DISC] (2) protected Boolean[2] con.cooDow.outPort.available (173) [DISC] (1) protected Boolean con.warUp.newActive (174) [DISC] (2) Boolean[2] $SEV_49[$i1] (175) [DISC] (1) protected Boolean con.pumOn.outerStatePort.localActive = con.pumOn.outerStatePort.localActive (176) [DISC] (1) protected Boolean con.transition4.enableFire (177) [ALGB] (1) protected Real con.add2.y (178) [DISC] (2) protected Boolean[2] con.warUp.inPort.set (179) [DISC] (1) protected Boolean con.transition10.outPort.occupied (180) [DISS] (1) protected discrete Real mWat_flow.tab.nextTimeEventScaled (fixed = true, start = 0.0) (181) [DISC] (2) Boolean[2] $SEV_44[$i1] (182) [DISC] (1) protected Boolean con.transition9.outPort.set (183) [DISC] (1) Boolean $SEV_48 (184) [DISC] (2) protected Boolean[2] con.pumOn.outPort.available (185) [DISC] (1) Boolean $SEV_45 (186) [DISC] (1) protected Boolean[1] con.nor.outPort.available (187) [ALGB] (1) protected Real[1] runSig.combiTimeTable.y (188) [ALGB] (1) protected Real con.timer.y (189) [DISC] (1) Boolean $SEV_41 (190) [DISC] (1) Boolean $SEV_40 (191) [DISC] (2) protected Boolean[2] con.cooDow.inPort.occupied (192) [DISC] (2) protected Boolean[2] con.staBy.outPort.available (193) [DISC] (2) protected Boolean[2] con.staBy.outPort.reset (194) [DISC] (1) protected Boolean con.transition7.outPort.set (195) [DISC] (2) protected Boolean[2] con.warUp.inPort.occupied (196) [DISC] (1) protected Boolean con.cooDow.outerStatePort.localActive = con.cooDow.outerStatePort.localActive (197) [DISC] (1) protected Boolean con.cooDow.newActive (198) [ALGB] (1) protected Real con.warUpCtr.add1.y (199) [ALGB] (1) protected flow Real con.warUp.outerStatePort.subgraphStatePort.activeSteps (200) [DISC] (1) protected Boolean[1] con.plaOff.outPort.reset (201) [DISC] (1) protected Boolean con.transition4.outPort.occupied (202) [ALGB] (1) protected Real con.assWatMas.hys.u (203) [DISC] (1) protected Boolean con.transition5.outPort.occupied (204) [DISC] (1) Boolean $SEV_39 (205) [ALGB] (1) protected Real con.max.y (206) [DISC] (1) Boolean $SEV_38 (207) [DISC] (1) Boolean $SEV_37 (208) [DISC] (1) Boolean $SEV_36 (209) [DISS] (1) protected Boolean con.timer.passed (210) [DISC] (1) Boolean $SEV_35 (211) [DISC] (1) Boolean $SEV_34 (212) [DISC] (1) Boolean $SEV_33 (213) [DISC] (1) Boolean $SEV_32 (214) [DISC] (1) Boolean $SEV_31 (215) [DISC] (1) protected Boolean con.assWatMas.nand.y (216) [DISC] (1) Boolean $SEV_30 (217) [DISC] (2) protected Boolean[2] con.warUp.outPort.reset (218) [DISC] (1) protected final Boolean con.transition5.localCondition = con.transition5.localCondition (219) [DISC] (1) protected final Boolean con.transition10.localCondition = con.transition10.localCondition (220) [DISC] (1) protected Boolean con.transition6.inPort.available (221) [DISC] (2) Boolean[2] $SEV_43[$i1] (222) [DISC] (1) protected Boolean con.transition5.inPort.available (223) [DISC] (1) protected Boolean con.transition1.inPort.available (224) [DISC] (1) protected Integer stateGraphRoot.activeSteps (225) [ALGB] (1) protected Real TEng.y (226) [DISC] (1) Boolean $TEV_40 system eqns Equations (246/273) ********************************* (1) [FOR-] (2) ($RES_SIM_204) (1) [----] for $i1 in 1:2 loop (1) [----] [SCAL] (1) con.warUp.outPort[$i1].available = if $SEV_42[$i1] then con.warUp.outerStatePort.localActive else $SEV_46[$i1] ($RES_SIM_205) (1) [----] end for; (2) [SCAL] (1) con.nor.outerStatePort.localActive = $TEV_13 ($RES_SIM_120) (3) [FOR-] (2) ($RES_SIM_206) (3) [----] for $i1 in 1:2 loop (3) [----] [SCAL] (1) con.warUp.inPort[$i1].occupied = if $SEV_42[$i1] then con.warUp.outerStatePort.localActive else $SEV_47[$i1] ($RES_SIM_207) (3) [----] end for; (4) [WHEN] (1)when con.transition4.enableFire then (4) [----] time - con.transition4.t_dummy := time (4) [----] end when; (5) [SCAL] (1) con.transition4.outPort.set = con.warUp.inPort[1].set ($RES_SIM_280) (6) [SCAL] (1) con.plaOff.outPort[1].reset = false ($RES_SIM_82) (7) [SCAL] (1) con.nor.outerStatePort.subgraphStatePort.activeSteps = if con.nor.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_122) (8) [SCAL] (1) con.transition4.outPort.occupied = con.warUp.inPort[1].occupied ($RES_SIM_281) (9) [WHEN] (1)when false then (9) [----] con.warUp.oldActive := con.warUp.outerStatePort.localActive (9) [----] end when; (10) [FOR-] (3) ($RES_SIM_83) (10) [----] for $i1 in 1:3 loop (10) [----] [SCAL] (1) con.plaOff.inPort[$i1].set = false ($RES_SIM_84) (10) [----] end for; (11) [SCAL] (1) con.warUp.newActive = $SEV_48 ($RES_SIM_209) (12) [ARRY] (1) mWat_flow.tab.y = mWat_flow.y ($RES_SIM_368) (13) [SCAL] (1) con.plaOff.outPort[1].available = con.plaOff.outerStatePort.localActive ($RES_SIM_85) (14) [SCAL] (1) con.transition2.outPort.set = $SEV_28 ($RES_SIM_125) (15) [SCAL] (1) con.warUp.outPort[2].reset = con.transition9.outPort.set ($RES_SIM_284) (16) [FOR-] (3) ($RES_SIM_86) (16) [----] for $i1 in 1:3 loop (16) [----] [SCAL] (1) con.plaOff.inPort[$i1].occupied = if $SEV_19[$i1] then con.plaOff.outerStatePort.localActive else $SEV_20[$i1] ($RES_SIM_87) (16) [----] end for; (17) [SCAL] (1) con.warUp.outPort[2].available = con.transition9.inPort.available ($RES_SIM_285) (18) [SCAL] (1) con.warUp.outPort[1].reset = con.transition6.outPort.set ($RES_SIM_286) (19) [WHEN] (1)when false then (19) [----] con.plaOff.oldActive := con.plaOff.outerStatePort.localActive (19) [----] end when; (20) [SCAL] (1) con.warUp.outPort[1].available = con.transition6.inPort.available ($RES_SIM_287) (21) [SCAL] (1) con.plaOff.newActive = $SEV_21 ($RES_SIM_89) (22) [SCAL] (1) con.pumOn.outPort[2].reset = con.transition5.outPort.set ($RES_SIM_288) (23) [SCAL] (1) con.pumOn.outPort[2].available = con.transition5.inPort.available ($RES_SIM_289) (24) [SCAL] (1) $TEV_40 = $PRE.mWat_flow.tab.nextTimeEventScaled ($RES_EVT_450) (25) [SCAL] (1) con.warUp.outerStatePort.localActive = $TEV_28 ($RES_SIM_210) (26) [SCAL] (1) con.warUp.outerStatePort.subgraphStatePort.activeSteps = if con.warUp.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_212) (27) [FOR-] (2) ($RES_SIM_213) (27) [----] for $i1 in 1:2 loop (27) [----] [SCAL] (1) con.pumOn.outPort[$i1].reset = false ($RES_SIM_214) (27) [----] end for; (28) [SCAL] (1) con.pumOn.inPort[1].set = false ($RES_SIM_215) (29) [SCAL] (1) con.plaOff.outerStatePort.localActive = $TEV_5 ($RES_SIM_90) (30) [FOR-] (2) ($RES_SIM_216) (30) [----] for $i1 in 1:2 loop (30) [----] [SCAL] (1) con.pumOn.outPort[$i1].available = if $SEV_42[$i1] then con.pumOn.outerStatePort.localActive else $SEV_49[$i1] ($RES_SIM_217) (30) [----] end for; (31) [SCAL] (1) con.pumOn.outPort[1].reset = con.transition4.outPort.set ($RES_SIM_290) (32) [SCAL] (1) con.plaOff.outerStatePort.subgraphStatePort.activeSteps = if con.plaOff.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_92) (33) [SCAL] (1) con.transition1.outPort.set = $SEV_29 ($RES_SIM_132) (34) [SCAL] (1) con.pumOn.outPort[1].available = con.transition4.inPort.available ($RES_SIM_291) (35) [SCAL] (1) con.pumOn.inPort[1].occupied = con.pumOn.outerStatePort.localActive ($RES_SIM_218) (36) [SCAL] (1) con.transition2.outPort.set = con.pumOn.inPort[1].set ($RES_SIM_292) (37) [WHEN] (1)when false then (37) [----] con.pumOn.oldActive := con.pumOn.outerStatePort.localActive (37) [----] end when; (38) [SCAL] (1) con.transition2.outPort.occupied = con.pumOn.inPort[1].occupied ($RES_SIM_293) (39) [SCAL] (1) con.transition6.outPort.set = $SEV_22 ($RES_SIM_95) (40) [SCAL] (1) con.staBy.outPort[2].reset = con.transition3.outPort.set ($RES_SIM_294) (41) [SCAL] (1) con.staBy.outPort[2].available = con.transition3.inPort.available ($RES_SIM_295) (42) [SCAL] (1) con.staBy.outPort[1].reset = con.transition2.outPort.set ($RES_SIM_296) (43) [SCAL] (1) con.assWatMas.not1.u = $SEV_30 ($RES_SIM_138) (44) [SCAL] (1) con.staBy.outPort[1].available = con.transition2.inPort.available ($RES_SIM_297) (45) [SCAL] (1) con.assWatMas.nand.y = not $SEV_31 ($RES_SIM_139) (46) [SCAL] (1) con.transition1.outPort.set = con.staBy.inPort[1].set ($RES_SIM_298) (47) [SCAL] (1) con.transition1.outPort.occupied = con.staBy.inPort[1].occupied ($RES_SIM_299) (48) [SCAL] (1) $SEV_9 = time >= $PRE.PEle.tab.nextTimeEvent ($RES_EVT_460) (49) [SCAL] (1) $SEV_11 = avaSig.realToBoolean.u >= avaSig.realToBoolean.threshold ($RES_EVT_462) (50) [SCAL] (1) $SEV_12 = time >= $PRE.avaSig.combiTimeTable.nextTimeEvent ($RES_EVT_463) (51) [SCAL] (1) $SEV_14 = runSig.realToBoolean.u >= runSig.realToBoolean.threshold ($RES_EVT_465) (52) [SCAL] (1) $SEV_15 = time >= $PRE.runSig.combiTimeTable.nextTimeEvent ($RES_EVT_466) (53) [SCAL] (1) $SEV_16 = con.cooDow.outerStatePort.localActive and time >= (con.timer.t + $PRE.con.timer.entryTime) ($RES_EVT_467) (54) [SCAL] (1) $SEV_17 = (not con.transition9.localCondition and con.transition4.inPort.available) and not con.transition4.outPort.occupied ($RES_EVT_468) (55) [SCAL] (1) $SEV_18 = con.transition4.enableFire and time >= ((time - con.transition4.t_dummy) + con.transition4.waitTime) ($RES_EVT_469) (56) [SCAL] (1) con.transition10.outPort.set = con.plaOff.inPort[3].set ($RES_SIM_301) (57) [SCAL] (1) con.transition10.outPort.occupied = con.plaOff.inPort[3].occupied ($RES_SIM_302) (58) [SCAL] (1) con.transition5.outPort.set = con.plaOff.inPort[2].set ($RES_SIM_303) (59) [SCAL] (1) con.transition5.outPort.occupied = con.plaOff.inPort[2].occupied ($RES_SIM_304) (60) [SCAL] (1) con.transition3.outPort.set = con.plaOff.inPort[1].set ($RES_SIM_305) (61) [SCAL] (1) con.pumOn.newActive = $SEV_50 ($RES_SIM_220) (62) [SCAL] (1) con.transition3.outPort.occupied = con.plaOff.inPort[1].occupied ($RES_SIM_306) (63) [SCAL] (1) con.pumOn.outerStatePort.localActive = $TEV_31 ($RES_SIM_221) (64) [SCAL] (1) con.pumOn.outerStatePort.subgraphStatePort.activeSteps = if con.pumOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_223) (65) [FOR-] (2) ($RES_SIM_224) (65) [----] for $i1 in 1:2 loop (65) [----] [SCAL] (1) con.staBy.outPort[$i1].reset = false ($RES_SIM_225) (65) [----] end for; (66) [SCAL] (1) con.staBy.inPort[1].set = false ($RES_SIM_226) (67) [SCAL] (1) con.transition10.localCondition = $SEV_32 ($RES_SIM_141) (68) [FOR-] (2) ($RES_SIM_227) (68) [----] for $i1 in 1:2 loop (68) [----] [SCAL] (1) con.staBy.outPort[$i1].available = if $SEV_42[$i1] then con.staBy.outerStatePort.localActive else $SEV_51[$i1] ($RES_SIM_228) (68) [----] end for; (69) [SCAL] (1) con.staBy.inPort[1].occupied = con.staBy.outerStatePort.localActive ($RES_SIM_229) (70) [SCAL] (1) con.transition10.outPort.set = $SEV_33 ($RES_SIM_144) (71) [SCAL] (1) con.transition7.localCondition = $SEV_34 ($RES_SIM_149) (72) [FOR-] (3) ($RES_EVT_470) (72) [----] for $i1 in 1:3 loop (72) [----] [SCAL] (1) $SEV_19[$i1] = $i1 == 1 ($RES_EVT_471) (72) [----] end for; (73) [FOR-] (3) ($RES_EVT_472) (73) [----] for $i1 in 1:3 loop (73) [----] [SCAL] (1) $SEV_20[$i1] = con.plaOff.inPort[$i1 - 1].occupied or con.plaOff.inPort[$i1 - 1].set ($RES_EVT_473) (73) [----] end for; (74) [SCAL] (1) $SEV_21 = $FUN_11 or con.plaOff.outerStatePort.localActive and not $FUN_12 ($RES_EVT_474) (75) [SCAL] (1) $SEV_22 = (con.transition6.localCondition and con.transition6.inPort.available) and not con.transition6.outPort.occupied ($RES_EVT_475) (76) [SCAL] (1) $SEV_23 = con.warUpCtr.hysTem.y or con.warUpCtr.hysPow.y ($RES_EVT_476) (77) [SCAL] (1) $SEV_24 = not $PRE.con.warUpCtr.hysPow.y and con.warUpCtr.add1.y > con.warUpCtr.hysPow.uHigh or $PRE.con.warUpCtr.hysPow.y and con.warUpCtr.add1.y >= con.warUpCtr.hysPow.uLow ($RES_EVT_477) (78) [SCAL] (1) $SEV_25 = not $PRE.con.warUpCtr.hysTem.y and con.warUpCtr.add.y > con.warUpCtr.hysTem.uHigh or $PRE.con.warUpCtr.hysTem.y and con.warUpCtr.add.y >= con.warUpCtr.hysTem.uLow ($RES_EVT_478) (79) [SCAL] (1) $SEV_26 = (con.transition9.localCondition and con.transition8.inPort.available) and not con.transition8.outPort.occupied ($RES_EVT_479) (80) [WHEN] (1)when false then (80) [----] con.staBy.oldActive := con.staBy.outerStatePort.localActive (80) [----] end when; (81) [SCAL] (1) con.staBy.newActive = $SEV_52 ($RES_SIM_231) (82) [SCAL] (1) con.staBy.outerStatePort.localActive = $TEV_34 ($RES_SIM_232) (83) [SCAL] (1) con.staBy.outerStatePort.subgraphStatePort.activeSteps = if con.staBy.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_234) (84) [SCAL] (1) mWat_flow.tab.y[1] = mWat_flow.tab.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(mWat_flow.tab.tableID, 1, time, mWat_flow.tab.nextTimeEventScaled, $TEV_40) ($RES_SIM_235) (85) [WHEN] (1)when {$SEV_53, initial()} then (85) [----] mWat_flow.tab.nextTimeEvent := if mWat_flow.tab.nextTimeEventScaled < 1e60 then mWat_flow.tab.nextTimeEventScaled else 1e60 (85) [----] end when; (86) [WHEN] (1)when {$SEV_53, initial()} then (86) [----] mWat_flow.tab.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(mWat_flow.tab.tableID, time) (86) [----] end when; (87) [SCAL] (1) con.transition7.outPort.set = $SEV_35 ($RES_SIM_152) (88) [SCAL] (1) con.transition9.outPort.set = $SEV_36 ($RES_SIM_159) (89) [SCAL] (1) $SEV_27 = $FUN_9 or con.nor.outerStatePort.localActive and not $FUN_10 ($RES_EVT_480) (90) [SCAL] (1) $SEV_28 = (not con.transition5.localCondition and con.transition2.inPort.available) and not con.transition2.outPort.occupied ($RES_EVT_481) (91) [SCAL] (1) $SEV_29 = (not con.transition3.localCondition and con.transition1.inPort.available) and not con.transition1.outPort.occupied ($RES_EVT_482) (92) [SCAL] (1) $SEV_30 = not $PRE.con.assWatMas.not1.u and con.assWatMas.hys.u > con.assWatMas.hys.uHigh or $PRE.con.assWatMas.not1.u and con.assWatMas.hys.u >= con.assWatMas.hys.uLow ($RES_EVT_483) (93) [SCAL] (1) $SEV_31 = not con.transition5.localCondition and not con.assWatMas.not1.u ($RES_EVT_484) (94) [SCAL] (1) $SEV_32 = con.timer.passed and con.transition9.localCondition ($RES_EVT_485) (95) [SCAL] (1) $SEV_33 = (con.transition10.localCondition and con.transition10.inPort.available) and not con.transition10.outPort.occupied ($RES_EVT_486) (96) [SCAL] (1) $SEV_34 = con.optCooDow.k and not con.transition9.localCondition ($RES_EVT_487) (97) [SCAL] (1) $SEV_35 = (con.transition7.localCondition and con.transition7.inPort.available) and not con.transition7.outPort.occupied ($RES_EVT_488) (98) [SCAL] (1) $SEV_36 = (con.transition9.localCondition and con.transition9.inPort.available) and not con.transition9.outPort.occupied ($RES_EVT_489) (99) [SCAL] (1) stateGraphRoot.activeSteps = -integer(stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_242) (100) [SCAL] (1) PEle.tab.y[1] = PEle.tab.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(PEle.tab.tableID, 1, time, PEle.tab.nextTimeEventScaled, $TEV_35) ($RES_SIM_44) (101) [SCAL] (1) conWat.offStaBy.y = $SEV_54 ($RES_BND_378) (102) [SCAL] (1) con.transition6.outPort.set = con.nor.inPort[1].set ($RES_SIM_328) (103) [SCAL] (1) conWat.mWatIntCon.u2 = conWat.to_degC.conv.k * TWatIn.k + conWat.to_degC.conv.p ($RES_SIM_243) (104) [WHEN] (1)when {$SEV_9, initial()} then (104) [----] PEle.tab.nextTimeEvent := if PEle.tab.nextTimeEventScaled < 1e60 then PEle.tab.nextTimeEventScaled else 1e60 (104) [----] end when; (105) [SCAL] (1) con.transition6.outPort.occupied = con.nor.inPort[1].occupied ($RES_SIM_329) (106) [WHEN] (1)when {$SEV_9, initial()} then (106) [----] PEle.tab.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(PEle.tab.tableID, time) (106) [----] end when; (107) [SCAL] (1) conWat.watFloSet.y = if conWat.offStaBy.y then conWat.const.k else conWat.mWatIntCon.y ($RES_SIM_245) (108) [SCAL] (1) conWat.mWatIntCon.y = conWat.mWatIntCon.u2 * (conWat.mWatIntCon.a[4] + conWat.mWatIntCon.a[5] * conWat.mWatIntCon.u2) + conWat.PEle * (conWat.mWatIntCon.a[2] + conWat.mWatIntCon.a[3] * conWat.PEle) + conWat.mWatIntCon.a[1] + conWat.PEle * conWat.mWatIntCon.a[6] * conWat.mWatIntCon.u2 ($RES_SIM_246) (109) [SCAL] (1) con.staBy.outerStatePort.subgraphStatePort.activeSteps + con.pumOn.outerStatePort.subgraphStatePort.activeSteps + con.warUp.outerStatePort.subgraphStatePort.activeSteps + con.cooDow.outerStatePort.subgraphStatePort.activeSteps + con.nor.outerStatePort.subgraphStatePort.activeSteps + con.plaOff.outerStatePort.subgraphStatePort.activeSteps + stateGraphRoot.subgraphStatePort.activeSteps = 0.0 ($RES_SIM_247) (110) [SCAL] (1) TEng.y = TEng.offset + (if $TEV_36 then 0.0 else if $TEV_37 then (TEng.height * (time - TEng.startTime)) / TEng.duration else TEng.height) ($RES_SIM_49) (111) [SCAL] (1) PEle.y[1] = conWat.PEle ($RES_SIM_248) (112) [SCAL] (1) PEle.y[1] = con.PEle ($RES_SIM_249) (113) [SCAL] (1) $TEV_0 = $PRE.con.timer.passed ($RES_EVT_410) (114) [SCAL] (1) $TEV_1 = $PRE.con.timer.entryTime ($RES_EVT_411) (115) [SCAL] (1) con.transition5.outPort.set = $SEV_37 ($RES_SIM_166) (116) [SCAL] (1) $TEV_2 = $PRE.con.transition4.enableFire ($RES_EVT_412) (117) [SCAL] (1) $TEV_3 = $PRE.con.plaOff.oldActive ($RES_EVT_413) (118) [SCAL] (1) $TEV_4 = $PRE.con.plaOff.outerStatePort.localActive ($RES_EVT_414) (119) [SCAL] (1) $TEV_5 = $PRE.con.plaOff.newActive ($RES_EVT_415) (120) [SCAL] (1) $TEV_6 = $PRE.con.transition6.outPort.set ($RES_EVT_416) (121) [SCAL] (1) $SEV_37 = (con.transition5.localCondition and con.transition5.inPort.available) and not con.transition5.outPort.occupied ($RES_EVT_490) (122) [SCAL] (1) $TEV_7 = $PRE.con.warUpCtr.or2.y ($RES_EVT_417) (123) [SCAL] (1) $SEV_38 = (con.transition3.localCondition and con.transition3.inPort.available) and not con.transition3.outPort.occupied ($RES_EVT_491) (124) [SCAL] (1) $TEV_8 = $PRE.con.warUpCtr.hysPow.y ($RES_EVT_418) (125) [SCAL] (1) $FUN_1 = Modelica.StateGraph.Temporary.anyTrue(con.staBy.inPort.set) ($RES_$AUX_408) (126) [SCAL] (1) $SEV_39 = not con.transition9.localCondition and con.and1.u2 ($RES_EVT_492) (127) [SCAL] (1) $TEV_9 = $PRE.con.warUpCtr.hysTem.y ($RES_EVT_419) (128) [SCAL] (1) $FUN_2 = Modelica.StateGraph.Temporary.anyTrue(con.staBy.outPort.reset) ($RES_$AUX_407) (129) [SCAL] (1) $SEV_40 = con.hys.y and not con.transition5.localCondition ($RES_EVT_493) (130) [SCAL] (1) $FUN_3 = Modelica.StateGraph.Temporary.anyTrue(con.pumOn.inPort.set) ($RES_$AUX_406) (131) [SCAL] (1) $SEV_41 = not $PRE.con.hys.y and con.add2.y > con.hys.uHigh or $PRE.con.hys.y and con.add2.y >= con.hys.uLow ($RES_EVT_494) (132) [SCAL] (1) $FUN_4 = Modelica.StateGraph.Temporary.anyTrue(con.pumOn.outPort.reset) ($RES_$AUX_405) (133) [FOR-] (2) ($RES_EVT_495) (133) [----] for $i1 in 1:2 loop (133) [----] [SCAL] (1) $SEV_42[$i1] = $i1 == 1 ($RES_EVT_496) (133) [----] end for; (134) [SCAL] (1) $FUN_5 = Modelica.StateGraph.Temporary.anyTrue(con.warUp.inPort.set) ($RES_$AUX_404) (135) [SCAL] (1) $FUN_6 = Modelica.StateGraph.Temporary.anyTrue(con.warUp.outPort.reset) ($RES_$AUX_403) (136) [FOR-] (2) ($RES_EVT_497) (136) [----] for $i1 in 1:2 loop (136) [----] [SCAL] (1) $SEV_43[$i1] = con.cooDow.outPort[$i1 - 1].available and not con.cooDow.outPort[$i1 - 1].reset ($RES_EVT_498) (136) [----] end for; (137) [SCAL] (1) $FUN_7 = Modelica.StateGraph.Temporary.anyTrue(con.cooDow.inPort.set) ($RES_$AUX_402) (138) [SCAL] (1) $FUN_8 = Modelica.StateGraph.Temporary.anyTrue(con.cooDow.outPort.reset) ($RES_$AUX_401) (139) [FOR-] (2) ($RES_EVT_499) (139) [----] for $i1 in 1:2 loop (139) [----] [SCAL] (1) $SEV_44[$i1] = con.cooDow.inPort[$i1 - 1].occupied or con.cooDow.inPort[$i1 - 1].set ($RES_EVT_500) (139) [----] end for; (140) [SCAL] (1) $FUN_9 = Modelica.StateGraph.Temporary.anyTrue(con.nor.inPort.set) ($RES_$AUX_400) (141) [SCAL] (1) con.plaOff.outPort[1].reset = con.transition1.outPort.set ($RES_SIM_330) (142) [SCAL] (1) con.plaOff.outPort[1].available = con.transition1.inPort.available ($RES_SIM_331) (143) [SCAL] (1) con.nor.outPort[1].reset = con.transition8.outPort.set ($RES_SIM_333) (144) [SCAL] (1) con.nor.outPort[1].available = con.transition8.inPort.available ($RES_SIM_334) (145) [SCAL] (1) not con.transition3.localCondition = $SEV_11 ($RES_SIM_51) (146) [SCAL] (1) PEle.y[1] = con.PEleNet ($RES_SIM_250) (147) [SCAL] (1) avaSig.combiTimeTable.y[1] = avaSig.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(avaSig.combiTimeTable.tableID, 1, time, avaSig.combiTimeTable.nextTimeEventScaled, $TEV_38) ($RES_SIM_52) (148) [SCAL] (1) mWat_flow.y[1] = con.assWatMas.hys.u ($RES_SIM_251) (149) [WHEN] (1)when {$SEV_12, initial()} then (149) [----] avaSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(avaSig.combiTimeTable.tableID, time) (149) [----] end when; (150) [WHEN] (1)when {$SEV_12, initial()} then (150) [----] avaSig.combiTimeTable.nextTimeEvent := if avaSig.combiTimeTable.nextTimeEventScaled < 1e60 then avaSig.combiTimeTable.nextTimeEventScaled else 1e60 (150) [----] end when; (151) [SCAL] (1) not con.transition5.localCondition = $SEV_14 ($RES_SIM_57) (152) [SCAL] (1) $FUN_10 = Modelica.StateGraph.Temporary.anyTrue(con.nor.outPort.reset) ($RES_$AUX_399) (153) [SCAL] (1) $SEV_45 = $FUN_7 or con.cooDow.outerStatePort.localActive and not $FUN_8 ($RES_EVT_501) (154) [SCAL] (1) runSig.combiTimeTable.y[1] = runSig.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(runSig.combiTimeTable.tableID, 1, time, runSig.combiTimeTable.nextTimeEventScaled, $TEV_39) ($RES_SIM_58) (155) [SCAL] (1) $FUN_11 = Modelica.StateGraph.Temporary.anyTrue(con.plaOff.inPort.set) ($RES_$AUX_398) (156) [FOR-] (2) ($RES_EVT_502) (156) [----] for $i1 in 1:2 loop (156) [----] [SCAL] (1) $SEV_46[$i1] = con.warUp.outPort[$i1 - 1].available and not con.warUp.outPort[$i1 - 1].reset ($RES_EVT_503) (156) [----] end for; (157) [ARRY] (1) PEle.tab.y = PEle.y ($RES_SIM_257) (158) [WHEN] (1)when {$SEV_15, initial()} then (158) [----] runSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(runSig.combiTimeTable.tableID, time) (158) [----] end when; (159) [SCAL] (1) $FUN_12 = Modelica.StateGraph.Temporary.anyTrue(con.plaOff.outPort.reset) ($RES_$AUX_397) (160) [SCAL] (1) con.transition3.outPort.set = $SEV_38 ($RES_SIM_173) (161) [FOR-] (2) ($RES_EVT_504) (161) [----] for $i1 in 1:2 loop (161) [----] [SCAL] (1) $SEV_47[$i1] = con.warUp.inPort[$i1 - 1].occupied or con.warUp.inPort[$i1 - 1].set ($RES_EVT_505) (161) [----] end for; (162) [SCAL] (1) avaSig.combiTimeTable.y[1] = avaSig.realToBoolean.u ($RES_SIM_259) (163) [SCAL] (1) $TEV_10 = $PRE.con.transition8.outPort.set ($RES_EVT_420) (164) [SCAL] (1) $SEV_48 = $FUN_5 or con.warUp.outerStatePort.localActive and not $FUN_6 ($RES_EVT_506) (165) [SCAL] (1) $TEV_11 = $PRE.con.nor.oldActive ($RES_EVT_421) (166) [FOR-] (2) ($RES_EVT_507) (166) [----] for $i1 in 1:2 loop (166) [----] [SCAL] (1) $SEV_49[$i1] = con.pumOn.outPort[$i1 - 1].available and not con.pumOn.outPort[$i1 - 1].reset ($RES_EVT_508) (166) [----] end for; (167) [SCAL] (1) $TEV_12 = $PRE.con.nor.outerStatePort.localActive ($RES_EVT_422) (168) [SCAL] (1) $TEV_13 = $PRE.con.nor.newActive ($RES_EVT_423) (169) [SCAL] (1) con.transition6.localCondition = $SEV_39 ($RES_SIM_178) (170) [SCAL] (1) $SEV_50 = $FUN_3 or con.pumOn.outerStatePort.localActive and not $FUN_4 ($RES_EVT_509) (171) [SCAL] (1) $TEV_14 = $PRE.con.transition2.outPort.set ($RES_EVT_424) (172) [SCAL] (1) $TEV_15 = $PRE.con.transition1.outPort.set ($RES_EVT_425) (173) [SCAL] (1) $TEV_16 = $PRE.con.assWatMas.not1.u ($RES_EVT_426) (174) [SCAL] (1) $TEV_17 = $PRE.con.transition10.outPort.set ($RES_EVT_427) (175) [SCAL] (1) $TEV_18 = $PRE.con.transition7.outPort.set ($RES_EVT_428) (176) [SCAL] (1) $TEV_19 = $PRE.con.transition9.outPort.set ($RES_EVT_429) (177) [SCAL] (1) con.and1.u2 = $TEV_7 ($RES_SIM_100) (178) [WHEN] (1)when {$SEV_15, initial()} then (178) [----] runSig.combiTimeTable.nextTimeEvent := if runSig.combiTimeTable.nextTimeEventScaled < 1e60 then runSig.combiTimeTable.nextTimeEventScaled else 1e60 (178) [----] end when; (179) [SCAL] (1) con.warUpCtr.or2.y = $SEV_23 ($RES_SIM_101) (180) [SCAL] (1) con.warUpCtr.hysPow.y = $SEV_24 ($RES_SIM_102) (181) [SCAL] (1) runSig.combiTimeTable.y[1] = runSig.realToBoolean.u ($RES_SIM_261) (182) [SCAL] (1) con.warUpCtr.add1.y = con.warUpCtr.add1.k1 * con.PEleNet + con.warUpCtr.add1.k2 * con.PEle ($RES_SIM_103) (183) [-IF-] (1)if con.plaOff.outerStatePort.localActive then (183) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off ($RES_SIM_64) (183) [----] elseif con.staBy.outerStatePort.localActive then (183) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_SIM_65) (183) [----] elseif con.pumOn.outerStatePort.localActive then (183) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.PumpOn ($RES_SIM_66) (183) [----] elseif con.warUp.outerStatePort.localActive then (183) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_SIM_67) (183) [----] elseif con.nor.outerStatePort.localActive then (183) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_SIM_68) (183) [----] else (183) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_SIM_69) (183) [----] end if; (184) [SCAL] (1) con.warUpCtr.add.y = con.warUpCtr.add.k1 * TEng.y + con.warUpCtr.add.k2 * con.warUpCtr.temEngNom.k ($RES_SIM_105) (185) [SCAL] (1) con.warUpCtr.hysTem.y = $SEV_25 ($RES_SIM_106) (186) [FOR-] (2) ($RES_EVT_510) (186) [----] for $i1 in 1:2 loop (186) [----] [SCAL] (1) $SEV_51[$i1] = con.staBy.outPort[$i1 - 1].available and not con.staBy.outPort[$i1 - 1].reset ($RES_EVT_511) (186) [----] end for; (187) [SCAL] (1) not con.transition9.localCondition = $SEV_40 ($RES_SIM_181) (188) [SCAL] (1) $SEV_52 = $FUN_1 or con.staBy.outerStatePort.localActive and not $FUN_2 ($RES_EVT_512) (189) [SCAL] (1) con.hys.y = $SEV_41 ($RES_SIM_182) (190) [SCAL] (1) con.transition8.outPort.set = $SEV_26 ($RES_SIM_109) (191) [SCAL] (1) $SEV_53 = time >= $PRE.mWat_flow.tab.nextTimeEvent ($RES_EVT_513) (192) [SCAL] (1) con.add2.y = con.add2.k1 * con.max.y + con.add2.k2 * con.assWatMas.hys.u ($RES_SIM_183) (193) [SCAL] (1) $SEV_54 = con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off or con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_EVT_514) (194) [SCAL] (1) con.max.y = max(con.minWatFlo.k, con.con.k) ($RES_SIM_184) (195) [SCAL] (1) $TEV_20 = $PRE.con.transition5.outPort.set ($RES_EVT_430) (196) [SCAL] (1) $TEV_21 = $PRE.con.transition3.outPort.set ($RES_EVT_431) (197) [SCAL] (1) $TEV_22 = $PRE.con.hys.y ($RES_EVT_432) (198) [FOR-] (2) ($RES_SIM_187) (198) [----] for $i1 in 1:2 loop (198) [----] [SCAL] (1) con.cooDow.outPort[$i1].reset = false ($RES_SIM_188) (198) [----] end for; (199) [SCAL] (1) $TEV_23 = $PRE.con.cooDow.oldActive ($RES_EVT_433) (200) [SCAL] (1) $TEV_24 = $PRE.con.cooDow.outerStatePort.localActive ($RES_EVT_434) (201) [FOR-] (2) ($RES_SIM_189) (201) [----] for $i1 in 1:2 loop (201) [----] [SCAL] (1) con.cooDow.inPort[$i1].set = false ($RES_SIM_190) (201) [----] end for; (202) [SCAL] (1) $TEV_25 = $PRE.con.cooDow.newActive ($RES_EVT_435) (203) [SCAL] (1) $TEV_26 = $PRE.con.warUp.oldActive ($RES_EVT_436) (204) [SCAL] (1) $TEV_27 = $PRE.con.warUp.outerStatePort.localActive ($RES_EVT_437) (205) [SCAL] (1) $TEV_28 = $PRE.con.warUp.newActive ($RES_EVT_438) (206) [SCAL] (1) $TEV_29 = $PRE.con.pumOn.oldActive ($RES_EVT_439) (207) [SCAL] (1) con.timer.y = if con.cooDow.outerStatePort.localActive then time - con.timer.entryTime else 0.0 ($RES_SIM_71) (208) [SCAL] (1) con.cooDow.outPort[2].reset = con.transition7.outPort.set ($RES_SIM_270) (209) [WHEN] (1)when not con.cooDow.outerStatePort.localActive then (209) [----] con.timer.passed := false (209) [----] else when $SEV_16 then (209) [----] con.timer.passed := true (209) [----] else when con.cooDow.outerStatePort.localActive then (209) [----] con.timer.passed := con.timer.t <= 0.0 (209) [----] end when; (210) [SCAL] (1) con.cooDow.outPort[2].available = con.transition7.inPort.available ($RES_SIM_271) (211) [WHEN] (1)when not con.cooDow.outerStatePort.localActive then (211) [----] con.timer.entryTime := $PRE.con.timer.entryTime (211) [----] else when $SEV_16 then (211) [----] con.timer.entryTime := $PRE.con.timer.entryTime (211) [----] else when con.cooDow.outerStatePort.localActive then (211) [----] con.timer.entryTime := time (211) [----] end when; (212) [SCAL] (1) con.cooDow.outPort[1].reset = con.transition10.outPort.set ($RES_SIM_272) (213) [SCAL] (1) con.nor.outPort[1].reset = false ($RES_SIM_114) (214) [SCAL] (1) con.cooDow.outPort[1].available = con.transition10.inPort.available ($RES_SIM_273) (215) [SCAL] (1) con.nor.inPort[1].set = false ($RES_SIM_115) (216) [SCAL] (1) con.transition9.outPort.set = con.cooDow.inPort[2].set ($RES_SIM_274) (217) [SCAL] (1) con.nor.outPort[1].available = con.nor.outerStatePort.localActive ($RES_SIM_116) (218) [SCAL] (1) con.transition9.outPort.occupied = con.cooDow.inPort[2].occupied ($RES_SIM_275) (219) [SCAL] (1) con.nor.inPort[1].occupied = con.nor.outerStatePort.localActive ($RES_SIM_117) (220) [SCAL] (1) con.transition4.enableFire = $SEV_17 ($RES_SIM_77) (221) [SCAL] (1) con.transition8.outPort.set = con.cooDow.inPort[1].set ($RES_SIM_276) (222) [FOR-] (2) ($RES_SIM_191) (222) [----] for $i1 in 1:2 loop (222) [----] [SCAL] (1) con.cooDow.outPort[$i1].available = if $SEV_42[$i1] then con.cooDow.outerStatePort.localActive else $SEV_43[$i1] ($RES_SIM_192) (222) [----] end for; (223) [WHEN] (1)when false then (223) [----] con.nor.oldActive := con.nor.outerStatePort.localActive (223) [----] end when; (224) [SCAL] (1) con.transition4.outPort.set = $SEV_18 ($RES_SIM_78) (225) [SCAL] (1) con.transition8.outPort.occupied = con.cooDow.inPort[1].occupied ($RES_SIM_277) (226) [SCAL] (1) con.nor.newActive = $SEV_27 ($RES_SIM_119) (227) [SCAL] (1) con.transition4.t = if con.transition4.enableFire then con.transition4.t_dummy else 0.0 ($RES_SIM_79) (228) [SCAL] (1) con.transition7.outPort.set = con.warUp.inPort[2].set ($RES_SIM_278) (229) [FOR-] (2) ($RES_SIM_193) (229) [----] for $i1 in 1:2 loop (229) [----] [SCAL] (1) con.cooDow.inPort[$i1].occupied = if $SEV_42[$i1] then con.cooDow.outerStatePort.localActive else $SEV_44[$i1] ($RES_SIM_194) (229) [----] end for; (230) [SCAL] (1) con.transition7.outPort.occupied = con.warUp.inPort[2].occupied ($RES_SIM_279) (231) [SCAL] (1) $TEV_30 = $PRE.con.pumOn.outerStatePort.localActive ($RES_EVT_440) (232) [WHEN] (1)when false then (232) [----] con.cooDow.oldActive := con.cooDow.outerStatePort.localActive (232) [----] end when; (233) [SCAL] (1) $TEV_31 = $PRE.con.pumOn.newActive ($RES_EVT_441) (234) [SCAL] (1) con.cooDow.newActive = $SEV_45 ($RES_SIM_196) (235) [SCAL] (1) $TEV_32 = $PRE.con.staBy.oldActive ($RES_EVT_442) (236) [SCAL] (1) con.cooDow.outerStatePort.localActive = $TEV_25 ($RES_SIM_197) (237) [SCAL] (1) $TEV_33 = $PRE.con.staBy.outerStatePort.localActive ($RES_EVT_443) (238) [SCAL] (1) $TEV_34 = $PRE.con.staBy.newActive ($RES_EVT_444) (239) [SCAL] (1) con.cooDow.outerStatePort.subgraphStatePort.activeSteps = if con.cooDow.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_199) (240) [SCAL] (1) $TEV_35 = $PRE.PEle.tab.nextTimeEventScaled ($RES_EVT_445) (241) [SCAL] (1) $TEV_36 = time < TEng.startTime ($RES_EVT_446) (242) [SCAL] (1) $TEV_37 = time < (TEng.startTime + TEng.duration) ($RES_EVT_447) (243) [SCAL] (1) $TEV_38 = $PRE.avaSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_448) (244) [SCAL] (1) $TEV_39 = $PRE.runSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_449) (245) [FOR-] (2) ($RES_SIM_200) (245) [----] for $i1 in 1:2 loop (245) [----] [SCAL] (1) con.warUp.outPort[$i1].reset = false ($RES_SIM_201) (245) [----] end for; (246) [FOR-] (2) ($RES_SIM_202) (246) [----] for $i1 in 1:2 loop (246) [----] [SCAL] (1) con.warUp.inPort[$i1].set = false ($RES_SIM_203) (246) [----] end for; =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 204 var 2 --> eqn 105 var 3 --> eqn 104 var 4 --> eqn 103 var 5 --> eqn 20 var 6 --> eqn 21 var 7 --> eqn 22 var 8 --> eqn 93 var 9 --> eqn 211 var 10 --> eqn 92 var 11 --> eqn 91 var 12 --> eqn 90 var 13 --> eqn 89 var 14 --> eqn 88 var 15 --> eqn 141 var 16 --> eqn 35 var 17 --> eqn 138 var 18 --> eqn 136 var 19 --> eqn 12 var 20 --> eqn 13 var 21 --> eqn 14 var 22 --> eqn 134 var 23 --> eqn 41 var 24 --> eqn 233 var 25 --> eqn 133 var 26 --> eqn 120 var 27 --> eqn 132 var 28 --> eqn 118 var 29 --> eqn 131 var 30 --> eqn 47 var 31 --> eqn 130 var 32 --> eqn 128 var 33 --> eqn 127 var 34 --> eqn 269 var 35 --> eqn 255 var 36 --> eqn 268 var 37 --> eqn 6 var 38 --> eqn 267 var 39 --> eqn 126 var 40 --> eqn 266 var 41 --> eqn 265 var 42 --> eqn 119 var 43 --> eqn 68 var 44 --> eqn 263 var 45 --> eqn 262 var 46 --> eqn 260 var 47 --> eqn 223 var 48 --> eqn 224 var 49 --> eqn 258 var 50 --> eqn 54 var 51 --> eqn 256 var 52 --> eqn 179 var 53 --> eqn 180 var 54 --> eqn 82 var 55 --> eqn 83 var 56 --> eqn 84 var 57 --> eqn 63 var 58 --> eqn 62 var 59 --> eqn 197 var 60 --> eqn 61 var 61 --> eqn 60 var 62 --> eqn 59 var 63 --> eqn 147 var 64 --> eqn 148 var 65 --> eqn 208 var 66 --> eqn 58 var 67 --> eqn 57 var 68 --> eqn 167 var 69 --> eqn 85 var 70 --> eqn 86 var 71 --> eqn 87 var 72 --> eqn 200 var 73 --> eqn 95 var 74 --> eqn 166 var 75 --> eqn 203 var 76 --> eqn 229 var 77 --> eqn 228 var 78 --> eqn 36 var 79 --> eqn 163 var 80 --> eqn 227 var 81 --> eqn 226 var 82 --> eqn 225 var 83 --> eqn 198 var 84 --> eqn 222 var 85 --> eqn 45 var 86 --> eqn 221 var 87 --> eqn 160 var 88 --> eqn 97 var 89 --> eqn 218 var 90 --> eqn 217 var 91 --> eqn 216 var 92 --> eqn 17 var 93 --> eqn 31 var 94 --> eqn 116 var 95 --> eqn 72 var 96 --> eqn 219 var 97 --> eqn 220 var 98 --> eqn 247 var 99 --> eqn 121 var 100 --> eqn 114 var 101 --> eqn 175 var 102 --> eqn 94 var 103 --> eqn 164 var 104 --> eqn 98 var 105 --> eqn 157 var 106 --> eqn 154 var 107 --> eqn 153 var 108 --> eqn 18 var 109 --> eqn 150 var 110 --> eqn 149 var 111 --> eqn 173 var 112 --> eqn 174 var 113 --> eqn 146 var 114 --> eqn 181 var 115 --> eqn 70 var 116 --> eqn 144 var 117 --> eqn 196 var 118 --> eqn 142 var 119 --> eqn 195 var 120 --> eqn 69 var 121 --> eqn 139 var 122 --> eqn 194 var 123 --> eqn 176 var 124 --> eqn 193 var 125 --> eqn 192 var 126 --> eqn 191 var 127 --> eqn 188 var 128 --> eqn 189 var 129 --> eqn 187 var 130 --> eqn 184 var 131 --> eqn 39 var 132 --> eqn 182 var 133 --> eqn 64 var 134 --> eqn 250 var 135 --> eqn 205 var 136 --> eqn 237 var 137 --> eqn 115 var 138 --> eqn 99 var 139 --> eqn 162 var 140 --> eqn 40 var 141 --> eqn 241 var 142 --> eqn 122 var 143 --> eqn 242 var 144 --> eqn 234 var 145 --> eqn 264 var 146 --> eqn 33 var 147 --> eqn 34 var 148 --> eqn 210 var 149 --> eqn 42 var 150 --> eqn 1 var 151 --> eqn 2 var 152 --> eqn 251 var 153 --> eqn 52 var 154 --> eqn 177 var 155 --> eqn 51 var 156 --> eqn 172 var 157 --> eqn 169 var 158 --> eqn 49 var 159 --> eqn 201 var 160 --> eqn 43 var 161 --> eqn 199 var 162 --> eqn 56 var 163 --> eqn 9 var 164 --> eqn 123 var 165 --> eqn 206 var 166 --> eqn 207 var 167 --> eqn 27 var 168 --> eqn 16 var 169 --> eqn 161 var 170 --> eqn 249 var 171 --> eqn 117 var 172 --> eqn 23 var 173 --> eqn 11 var 174 --> eqn 125 var 175 --> eqn 79 var 176 --> eqn 214 var 177 --> eqn 212 var 178 --> eqn 28 var 179 --> eqn 209 var 180 --> eqn 3 var 181 --> eqn 190 var 182 --> eqn 46 var 183 --> eqn 96 var 184 --> eqn 25 var 185 --> eqn 55 var 186 --> eqn 81 var 187 --> eqn 257 var 188 --> eqn 245 var 189 --> eqn 246 var 190 --> eqn 15 var 191 --> eqn 185 var 192 --> eqn 186 var 193 --> eqn 71 var 194 --> eqn 243 var 195 --> eqn 213 var 196 --> eqn 7 var 197 --> eqn 252 var 198 --> eqn 65 var 199 --> eqn 100 var 200 --> eqn 155 var 201 --> eqn 156 var 202 --> eqn 239 var 203 --> eqn 183 var 204 --> eqn 37 var 205 --> eqn 38 var 206 --> eqn 170 var 207 --> eqn 240 var 208 --> eqn 171 var 209 --> eqn 230 var 210 --> eqn 145 var 211 --> eqn 143 var 212 --> eqn 253 var 213 --> eqn 254 var 214 --> eqn 77 var 215 --> eqn 78 var 216 --> eqn 50 var 217 --> eqn 48 var 218 --> eqn 231 var 219 --> eqn 4 var 220 --> eqn 5 var 221 --> eqn 261 var 222 --> eqn 259 var 223 --> eqn 202 var 224 --> eqn 32 var 225 --> eqn 8 var 226 --> eqn 10 var 227 --> eqn 165 var 228 --> eqn 67 var 229 --> eqn 140 var 230 --> eqn 215 var 231 --> eqn 137 var 232 --> eqn 129 var 233 --> eqn 102 var 234 --> eqn 232 var 235 --> eqn 101 var 236 --> eqn 110 var 237 --> eqn 80 var 238 --> eqn 108 var 239 --> eqn 107 var 240 --> eqn 53 var 241 --> eqn 106 var 242 --> eqn 24 var 243 --> eqn 19 var 244 --> eqn 168 var 245 --> eqn 76 var 246 --> eqn 26 var 247 --> eqn 151 var 248 --> eqn 152 var 249 --> eqn 29 var 250 --> eqn 159 var 251 --> eqn 113 var 252 --> eqn 124 var 253 --> eqn 30 equation to variable ********************** eqn 1 --> var 150 eqn 2 --> var 151 eqn 3 --> var 180 eqn 4 --> var 219 eqn 5 --> var 220 eqn 6 --> var 37 eqn 7 --> var 196 eqn 8 --> var 225 eqn 9 --> var 163 eqn 10 --> var 226 eqn 11 --> var 173 eqn 12 --> var 19 eqn 13 --> var 20 eqn 14 --> var 21 eqn 15 --> var 190 eqn 16 --> var 168 eqn 17 --> var 92 eqn 18 --> var 108 eqn 19 --> var 243 eqn 20 --> var 5 eqn 21 --> var 6 eqn 22 --> var 7 eqn 23 --> var 172 eqn 24 --> var 242 eqn 25 --> var 184 eqn 26 --> var 246 eqn 27 --> var 167 eqn 28 --> var 178 eqn 29 --> var 249 eqn 30 --> var 253 eqn 31 --> var 93 eqn 32 --> var 224 eqn 33 --> var 146 eqn 34 --> var 147 eqn 35 --> var 16 eqn 36 --> var 78 eqn 37 --> var 204 eqn 38 --> var 205 eqn 39 --> var 131 eqn 40 --> var 140 eqn 41 --> var 23 eqn 42 --> var 149 eqn 43 --> var 160 eqn 44 --> var -1 eqn 45 --> var 85 eqn 46 --> var 182 eqn 47 --> var 30 eqn 48 --> var 217 eqn 49 --> var 158 eqn 50 --> var 216 eqn 51 --> var 155 eqn 52 --> var 153 eqn 53 --> var 240 eqn 54 --> var 50 eqn 55 --> var 185 eqn 56 --> var 162 eqn 57 --> var 67 eqn 58 --> var 66 eqn 59 --> var 62 eqn 60 --> var 61 eqn 61 --> var 60 eqn 62 --> var 58 eqn 63 --> var 57 eqn 64 --> var 133 eqn 65 --> var 198 eqn 66 --> var -1 eqn 67 --> var 228 eqn 68 --> var 43 eqn 69 --> var 120 eqn 70 --> var 115 eqn 71 --> var 193 eqn 72 --> var 95 eqn 73 --> var -1 eqn 74 --> var -1 eqn 75 --> var -1 eqn 76 --> var 245 eqn 77 --> var 214 eqn 78 --> var 215 eqn 79 --> var 175 eqn 80 --> var 237 eqn 81 --> var 186 eqn 82 --> var 54 eqn 83 --> var 55 eqn 84 --> var 56 eqn 85 --> var 69 eqn 86 --> var 70 eqn 87 --> var 71 eqn 88 --> var 14 eqn 89 --> var 13 eqn 90 --> var 12 eqn 91 --> var 11 eqn 92 --> var 10 eqn 93 --> var 8 eqn 94 --> var 102 eqn 95 --> var 73 eqn 96 --> var 183 eqn 97 --> var 88 eqn 98 --> var 104 eqn 99 --> var 138 eqn 100 --> var 199 eqn 101 --> var 235 eqn 102 --> var 233 eqn 103 --> var 4 eqn 104 --> var 3 eqn 105 --> var 2 eqn 106 --> var 241 eqn 107 --> var 239 eqn 108 --> var 238 eqn 109 --> var -1 eqn 110 --> var 236 eqn 111 --> var -1 eqn 112 --> var -1 eqn 113 --> var 251 eqn 114 --> var 100 eqn 115 --> var 137 eqn 116 --> var 94 eqn 117 --> var 171 eqn 118 --> var 28 eqn 119 --> var 42 eqn 120 --> var 26 eqn 121 --> var 99 eqn 122 --> var 142 eqn 123 --> var 164 eqn 124 --> var 252 eqn 125 --> var 174 eqn 126 --> var 39 eqn 127 --> var 33 eqn 128 --> var 32 eqn 129 --> var 232 eqn 130 --> var 31 eqn 131 --> var 29 eqn 132 --> var 27 eqn 133 --> var 25 eqn 134 --> var 22 eqn 135 --> var -1 eqn 136 --> var 18 eqn 137 --> var 231 eqn 138 --> var 17 eqn 139 --> var 121 eqn 140 --> var 229 eqn 141 --> var 15 eqn 142 --> var 118 eqn 143 --> var 211 eqn 144 --> var 116 eqn 145 --> var 210 eqn 146 --> var 113 eqn 147 --> var 63 eqn 148 --> var 64 eqn 149 --> var 110 eqn 150 --> var 109 eqn 151 --> var 247 eqn 152 --> var 248 eqn 153 --> var 107 eqn 154 --> var 106 eqn 155 --> var 200 eqn 156 --> var 201 eqn 157 --> var 105 eqn 158 --> var -1 eqn 159 --> var 250 eqn 160 --> var 87 eqn 161 --> var 169 eqn 162 --> var 139 eqn 163 --> var 79 eqn 164 --> var 103 eqn 165 --> var 227 eqn 166 --> var 74 eqn 167 --> var 68 eqn 168 --> var 244 eqn 169 --> var 157 eqn 170 --> var 206 eqn 171 --> var 208 eqn 172 --> var 156 eqn 173 --> var 111 eqn 174 --> var 112 eqn 175 --> var 101 eqn 176 --> var 123 eqn 177 --> var 154 eqn 178 --> var -1 eqn 179 --> var 52 eqn 180 --> var 53 eqn 181 --> var 114 eqn 182 --> var 132 eqn 183 --> var 203 eqn 184 --> var 130 eqn 185 --> var 191 eqn 186 --> var 192 eqn 187 --> var 129 eqn 188 --> var 127 eqn 189 --> var 128 eqn 190 --> var 181 eqn 191 --> var 126 eqn 192 --> var 125 eqn 193 --> var 124 eqn 194 --> var 122 eqn 195 --> var 119 eqn 196 --> var 117 eqn 197 --> var 59 eqn 198 --> var 83 eqn 199 --> var 161 eqn 200 --> var 72 eqn 201 --> var 159 eqn 202 --> var 223 eqn 203 --> var 75 eqn 204 --> var 1 eqn 205 --> var 135 eqn 206 --> var 165 eqn 207 --> var 166 eqn 208 --> var 65 eqn 209 --> var 179 eqn 210 --> var 148 eqn 211 --> var 9 eqn 212 --> var 177 eqn 213 --> var 195 eqn 214 --> var 176 eqn 215 --> var 230 eqn 216 --> var 91 eqn 217 --> var 90 eqn 218 --> var 89 eqn 219 --> var 96 eqn 220 --> var 97 eqn 221 --> var 86 eqn 222 --> var 84 eqn 223 --> var 47 eqn 224 --> var 48 eqn 225 --> var 82 eqn 226 --> var 81 eqn 227 --> var 80 eqn 228 --> var 77 eqn 229 --> var 76 eqn 230 --> var 209 eqn 231 --> var 218 eqn 232 --> var 234 eqn 233 --> var 24 eqn 234 --> var 144 eqn 235 --> var -1 eqn 236 --> var -1 eqn 237 --> var 136 eqn 238 --> var -1 eqn 239 --> var 202 eqn 240 --> var 207 eqn 241 --> var 141 eqn 242 --> var 143 eqn 243 --> var 194 eqn 244 --> var -1 eqn 245 --> var 188 eqn 246 --> var 189 eqn 247 --> var 98 eqn 248 --> var -1 eqn 249 --> var 170 eqn 250 --> var 134 eqn 251 --> var 152 eqn 252 --> var 197 eqn 253 --> var 212 eqn 254 --> var 213 eqn 255 --> var 35 eqn 256 --> var 51 eqn 257 --> var 187 eqn 258 --> var 49 eqn 259 --> var 222 eqn 260 --> var 46 eqn 261 --> var 221 eqn 262 --> var 45 eqn 263 --> var 44 eqn 264 --> var 145 eqn 265 --> var 41 eqn 266 --> var 40 eqn 267 --> var 38 eqn 268 --> var 36 eqn 269 --> var 34 eqn 270 --> var -1 eqn 271 --> var -1 eqn 272 --> var -1 eqn 273 --> var -1