Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.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.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 106.2 kB / 16.37 MB, free: 6.367 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.001187/0.001187, allocations: 191.4 kB / 17.3 MB, free: 5.914 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.455/1.455, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.665/1.665, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.272e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.003189/0.003225, allocations: 2.168 MB / 0.675 GB, free: 3.738 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.004603, allocations: 0.9282 MB / 0.6759 GB, free: 2.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.004729, allocations: 7.938 kB / 0.6759 GB, free: 2.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.004889, allocations: 51.41 kB / 0.6759 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.005047, allocations: 59.45 kB / 0.676 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.005528, allocations: 251.6 kB / 0.6762 GB, free: 2.441 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.006054, allocations: 0.6004 MB / 0.6768 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.006539, allocations: 454.7 kB / 0.6773 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.006778, allocations: 259.3 kB / 0.6775 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.007029, allocations: 266.9 kB / 0.6778 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.651e-05/0.007123, allocations: 72 kB / 0.6778 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.007245, allocations: 83.98 kB / 0.6779 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0004305/0.007681, allocations: 0.6956 MB / 0.6786 GB, free: 20 kB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.000213/0.007901, allocations: 401.9 kB / 0.679 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.521e-05/0.007981, allocations: 79.75 kB / 0.679 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.064e-05/0.008058, allocations: 51.61 kB / 0.6791 GB, free: 15.49 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: 124 (118) * Number of variables: 116 (108) Notification: Performance of Bindings: time 0.001963/0.01003, allocations: 2.141 MB / 0.6812 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001982/0.01023, allocations: 175.6 kB / 0.6814 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.001427/0.01166, allocations: 1.577 MB / 0.6829 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simplify1: time 0.0001076/0.01178, allocations: 103.8 kB / 0.683 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of Alias: time 0.002396/0.01418, allocations: 2.197 MB / 0.6851 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of simplify2: time 0.0001022/0.0143, allocations: 83.88 kB / 0.6852 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of Events: time 0.0005323/0.01484, allocations: 394.3 kB / 0.6856 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0007477/0.01559, allocations: 0.6639 MB / 0.6862 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0006645/0.01627, allocations: 0.6046 MB / 0.6868 GB, free: 7.168 MB / 0.5606 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (104/115) ********************************* (1) [DISS] (1) protected Integer TCHWLeaWSE.count (2) [DISC] (1) protected Boolean cooModCon.fulMecCoo.outerStatePort.localActive = cooModCon.fulMecCoo.outerStatePort.localActive (3) [ALGB] (1) flow Real cooModCon.stateGraphRoot.subgraphStatePort.activeSteps (4) [DISC] (1) final Boolean cooModCon.con3.localCondition = cooModCon.con3.localCondition (5) [ALGB] (1) Real cooModCon.con2.t (6) [DISC] (1) protected Integer cooModCon.swi.firstActiveIndex (7) [DISC] (1) protected Boolean cooModCon.parMecCoo.outerStatePort.localActive = cooModCon.parMecCoo.outerStatePort.localActive (8) [DISC] (1) Boolean cooModCon.con4.inPort.available (9) [DISS] (1) protected Boolean cooModCon.fulMecCoo.oldActive (10) [DISC] (1) Boolean[1] cooModCon.fulMecCoo.inPort.set (11) [ALGB] (1) protected flow Real cooModCon.freCoo.outerStatePort.subgraphStatePort.activeSteps (12) [ALGB] (1) protected Real cooModCon.con3.t_dummy (13) [DISC] (1) Boolean[1] cooModCon.freCoo.outPort.available (14) [DISC] (1) protected Boolean cooModCon.freCoo.outerStatePort.localActive = cooModCon.freCoo.outerStatePort.localActive (15) [DISS] (1) protected Real TCHWLeaWSE.T_start (16) [DISC] (1) protected Boolean cooModCon.fulMecCoo.newActive (17) [DISC] (1) Boolean cooModCon.con3.inPort.available (18) [DISC] (1) Boolean cooModCon.con3.outPort.occupied (19) [DISC] (2) Boolean[2] cooModCon.parMecCoo.inPort.set (20) [DISC] (1) Boolean cooModCon.con2.enableFire (21) [DISC] (2) Boolean[2] $SEV_14[$i1] (22) [DISC] (1) Boolean cooModCon.con4.outPort.set (23) [DISC] (2) Boolean[2] cooModCon.parMecCoo.outPort.available (24) [DISC] (1) Boolean cooModCon.con3.outPort.set (25) [ALGB] (1) protected Real cooModCon.con2.t_dummy (26) [DISC] (1) Boolean cooModCon.con2.outPort.set (27) [DISC] (1) Boolean[1] cooModCon.fulMecCoo.inPort.occupied (28) [DISC] (1) Boolean cooModCon.con1.outPort.occupied (29) [DISC] (1) Boolean cooModCon.con1.outPort.set (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 $FUN_1 (38) [DISC] (1) Boolean[1] cooModCon.fulMecCoo.outPort.reset (39) [DISC] (1) Boolean cooModCon.con3.enableFire (40) [DISC] (1) Boolean cooModCon.con2.inPort.available (41) [DISC] (1) final Boolean cooModCon.con1.localCondition = cooModCon.con1.localCondition (42) [ALGB] (1) Real cooModCon.con3.t (43) [ALGB] (1) protected Real TCHWLeaWSE.T_width = (TCHWLeaWSE.width * TCHWLeaWSE.period) / 100.0 (44) [ALGB] (1) protected Real cooModCon.con1.t_dummy (45) [DISC] (1) Boolean $SEV_19 (46) [DISC] (1) Boolean $SEV_18 (47) [DISC] (1) Boolean $SEV_17 (48) [DISC] (1) Boolean $SEV_16 (49) [DISC] (1) Boolean $SEV_15 (50) [DISC] (1) Boolean cooModCon.con2.outPort.occupied (51) [DISC] (1) Integer cooModCon.stateGraphRoot.activeSteps (52) [DISC] (2) Boolean[2] cooModCon.parMecCoo.outPort.reset (53) [DISC] (3) Integer[3] cooModCon.swi.expr = {1, 2, 3} (54) [DISC] (2) Boolean[2] $SEV_13[$i1] (55) [DISC] (1) Boolean $SEV_11 (56) [DISC] (1) Boolean $SEV_10 (57) [DISC] (1) Boolean cooModCon.con4.enableFire (58) [ALGB] (1) Real cooModCon.con1.t (59) [DISC] (1) Boolean cooModCon.con1.inPort.available (60) [ALGB] (1) protected flow Real cooModCon.parMecCoo.outerStatePort.subgraphStatePort.activeSteps (61) [DISC] (1) Integer cooModCon.swi.y (62) [DISC] (1) final Boolean cooModCon.con4.localCondition = cooModCon.con4.localCondition (63) [DISC] (1) Boolean $SEV_9 (64) [DISC] (2) Boolean[2] cooModCon.parMecCoo.inPort.occupied (65) [ALGB] (1) protected flow Real cooModCon.fulMecCoo.outerStatePort.subgraphStatePort.activeSteps (66) [DISC] (1) Boolean $SEV_8 (67) [DISC] (1) Boolean $SEV_7 (68) [DISC] (3) Boolean[3] cooModCon.swi.u (69) [DISC] (1) Boolean[1] cooModCon.fulMecCoo.outPort.available (70) [DISC] (1) Boolean $SEV_6 (71) [DISC] (1) Boolean $SEV_5 (72) [ALGB] (1) Real TCHWLeaWSE.y (73) [DISC] (1) Boolean $SEV_4 (74) [DISC] (1) Boolean $TEV_9 (75) [DISC] (1) Boolean[1] cooModCon.freCoo.outPort.reset (76) [DISC] (1) Boolean $SEV_3 (77) [DISC] (1) Boolean $TEV_8 (78) [DISC] (1) Boolean $SEV_2 (79) [DISC] (1) Boolean $TEV_7 (80) [DISC] (1) Boolean $SEV_1 (81) [DISC] (1) Boolean $TEV_6 (82) [DISC] (1) Boolean $SEV_0 (83) [DISC] (1) Boolean $TEV_5 (84) [DISC] (1) Boolean $TEV_4 (85) [DISC] (1) final Boolean cooModCon.con2.localCondition = cooModCon.con2.localCondition (86) [DISC] (1) Boolean $TEV_3 (87) [DISC] (1) Boolean $TEV_2 (88) [DISC] (1) Boolean $TEV_1 (89) [DISC] (1) protected Boolean cooModCon.freCoo.newActive (90) [DISS] (1) protected Boolean cooModCon.parMecCoo.oldActive (91) [DISC] (1) Boolean $TEV_0 (92) [DISC] (2) Boolean[2] $SEV_12[$i1] (93) [DISC] (1) Boolean $TEV_13 (94) [DISC] (1) Boolean $TEV_12 (95) [ALGB] (1) Real cooModCon.con4.t (96) [DISC] (1) Boolean $TEV_11 (97) [DISC] (1) Boolean $TEV_10 (98) [DISS] (1) protected Boolean cooModCon.freCoo.oldActive (99) [ALGB] (1) protected Real cooModCon.con4.t_dummy (100) [DISC] (1) protected Boolean cooModCon.parMecCoo.newActive (101) [DISC] (1) Boolean cooModCon.con4.outPort.occupied (102) [DISC] (1) Boolean[1] cooModCon.freCoo.inPort.set (103) [DISC] (1) Boolean cooModCon.con1.enableFire (104) [DISC] (1) Boolean[1] cooModCon.freCoo.inPort.occupied system eqns Equations (114/123) ********************************* (1) [SCAL] (1) cooModCon.con2.t = if cooModCon.con2.enableFire then cooModCon.con2.t_dummy else 0.0 ($RES_SIM_50) (2) [SCAL] (1) $FUN_4 = Modelica.StateGraph.Temporary.anyTrue(cooModCon.freCoo.outPort.reset) ($RES_$AUX_144) (3) [SCAL] (1) $FUN_5 = Modelica.StateGraph.Temporary.anyTrue(cooModCon.fulMecCoo.inPort.set) ($RES_$AUX_143) (4) [WHEN] (1)when cooModCon.con2.enableFire then (4) [----] time - cooModCon.con2.t_dummy := time (4) [----] end when; (5) [SCAL] (1) $FUN_6 = Modelica.StateGraph.Temporary.anyTrue(cooModCon.fulMecCoo.outPort.reset) ($RES_$AUX_142) (6) [SCAL] (1) cooModCon.fulMecCoo.outPort[1].reset = false ($RES_SIM_53) (7) [SCAL] (1) cooModCon.swi.firstActiveIndex = Modelica.Math.BooleanVectors.firstTrueIndex(cooModCon.swi.u) ($RES_$AUX_141) (8) [SCAL] (1) cooModCon.fulMecCoo.inPort[1].set = false ($RES_SIM_54) (9) [WHEN] (1)when cooModCon.con1.enableFire then (9) [----] time - cooModCon.con1.t_dummy := time (9) [----] end when; (10) [SCAL] (1) cooModCon.fulMecCoo.outPort[1].available = cooModCon.fulMecCoo.outerStatePort.localActive ($RES_SIM_55) (11) [SCAL] (1) cooModCon.freCoo.outerStatePort.subgraphStatePort.activeSteps + cooModCon.fulMecCoo.outerStatePort.subgraphStatePort.activeSteps + cooModCon.stateGraphRoot.subgraphStatePort.activeSteps + cooModCon.parMecCoo.outerStatePort.subgraphStatePort.activeSteps = 0.0 ($RES_SIM_91) (12) [SCAL] (1) cooModCon.fulMecCoo.inPort[1].occupied = cooModCon.fulMecCoo.outerStatePort.localActive ($RES_SIM_56) (13) [WHEN] (1)when false then (13) [----] cooModCon.fulMecCoo.oldActive := cooModCon.fulMecCoo.outerStatePort.localActive (13) [----] end when; (14) [SCAL] (1) cooModCon.fulMecCoo.newActive = $SEV_10 ($RES_SIM_58) (15) [SCAL] (1) cooModCon.fulMecCoo.outerStatePort.localActive = $TEV_6 ($RES_SIM_59) (16) [SCAL] (1) cooModCon.fulMecCoo.outerStatePort.localActive = cooModCon.swi.u[3] ($RES_SIM_97) (17) [SCAL] (1) $SEV_4 = (cooModCon.con4.localCondition and cooModCon.con4.inPort.available) and not cooModCon.con4.outPort.occupied ($RES_EVT_170) (18) [SCAL] (1) cooModCon.parMecCoo.outerStatePort.localActive = cooModCon.swi.u[2] ($RES_SIM_98) (19) [SCAL] (1) $SEV_5 = cooModCon.con4.enableFire and time >= ((time - cooModCon.con4.t_dummy) + cooModCon.con4.waitTime) ($RES_EVT_171) (20) [SCAL] (1) cooModCon.freCoo.outerStatePort.localActive = cooModCon.swi.u[1] ($RES_SIM_99) (21) [SCAL] (1) $SEV_6 = (cooModCon.con3.localCondition and cooModCon.con3.inPort.available) and not cooModCon.con3.outPort.occupied ($RES_EVT_172) (22) [SCAL] (1) $SEV_7 = cooModCon.con3.enableFire and time >= ((time - cooModCon.con3.t_dummy) + cooModCon.con3.waitTime) ($RES_EVT_173) (23) [SCAL] (1) $SEV_8 = (cooModCon.con2.localCondition and cooModCon.con2.inPort.available) and not cooModCon.con2.outPort.occupied ($RES_EVT_174) (24) [SCAL] (1) $SEV_9 = cooModCon.con2.enableFire and time >= ((time - cooModCon.con2.t_dummy) + cooModCon.con2.waitTime) ($RES_EVT_175) (25) [SCAL] (1) $SEV_10 = $FUN_5 or cooModCon.fulMecCoo.outerStatePort.localActive and not $FUN_6 ($RES_EVT_176) (26) [SCAL] (1) $SEV_11 = $FUN_3 or cooModCon.freCoo.outerStatePort.localActive and not $FUN_4 ($RES_EVT_177) (27) [FOR-] (2) ($RES_EVT_178) (27) [----] for $i1 in 1:2 loop (27) [----] [SCAL] (1) $SEV_12[$i1] = $i1 == 1 ($RES_EVT_179) (27) [----] end for; (28) [SCAL] (1) cooModCon.con4.outPort.set = cooModCon.parMecCoo.outPort[2].reset ($RES_SIM_101) (29) [SCAL] (1) cooModCon.con4.inPort.available = cooModCon.parMecCoo.outPort[2].available ($RES_SIM_102) (30) [SCAL] (1) cooModCon.con3.outPort.set = cooModCon.parMecCoo.inPort[2].set ($RES_SIM_103) (31) [SCAL] (1) cooModCon.con3.outPort.occupied = cooModCon.parMecCoo.inPort[2].occupied ($RES_SIM_104) (32) [SCAL] (1) cooModCon.con4.outPort.set = cooModCon.freCoo.inPort[1].set ($RES_SIM_105) (33) [SCAL] (1) TCHWLeaWSE.y = TCHWLeaWSE.offset + (if $SEV_0 then 0.0 else if $SEV_1 then TCHWLeaWSE.amplitude else 0.0) ($RES_SIM_23) (34) [SCAL] (1) cooModCon.con4.outPort.occupied = cooModCon.freCoo.inPort[1].occupied ($RES_SIM_106) (35) [WHEN] (1)when $SEV_2 then (35) [----] TCHWLeaWSE.T_start := time (35) [----] end when; (36) [SCAL] (1) cooModCon.fulMecCoo.outPort[1].reset = cooModCon.con3.outPort.set ($RES_SIM_107) (37) [WHEN] (1)when $SEV_2 then (37) [----] TCHWLeaWSE.count := $PRE.TCHWLeaWSE.count + 1 (37) [----] end when; (38) [SCAL] (1) cooModCon.fulMecCoo.outerStatePort.subgraphStatePort.activeSteps = if cooModCon.fulMecCoo.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_61) (39) [SCAL] (1) cooModCon.swi.y = if $SEV_3 then cooModCon.swi.expr[cooModCon.swi.firstActiveIndex] else if cooModCon.swi.use_pre_as_default then $TEV_0 else cooModCon.swi.y_default ($RES_SIM_26) (40) [SCAL] (1) cooModCon.fulMecCoo.outPort[1].available = cooModCon.con3.inPort.available ($RES_SIM_108) (41) [SCAL] (1) cooModCon.freCoo.outPort[1].reset = false ($RES_SIM_62) (42) [SCAL] (1) cooModCon.con2.outPort.set = cooModCon.fulMecCoo.inPort[1].set ($RES_SIM_109) (43) [SCAL] (1) cooModCon.freCoo.inPort[1].set = false ($RES_SIM_63) (44) [SCAL] (1) cooModCon.freCoo.outPort[1].available = cooModCon.freCoo.outerStatePort.localActive ($RES_SIM_64) (45) [SCAL] (1) cooModCon.freCoo.inPort[1].occupied = cooModCon.freCoo.outerStatePort.localActive ($RES_SIM_65) (46) [WHEN] (1)when false then (46) [----] cooModCon.freCoo.oldActive := cooModCon.freCoo.outerStatePort.localActive (46) [----] end when; (47) [SCAL] (1) cooModCon.freCoo.newActive = $SEV_11 ($RES_SIM_67) (48) [SCAL] (1) cooModCon.freCoo.outerStatePort.localActive = $TEV_9 ($RES_SIM_68) (49) [FOR-] (2) ($RES_EVT_180) (49) [----] for $i1 in 1:2 loop (49) [----] [SCAL] (1) $SEV_13[$i1] = cooModCon.parMecCoo.outPort[$i1 - 1].available and not cooModCon.parMecCoo.outPort[$i1 - 1].reset ($RES_EVT_181) (49) [----] end for; (50) [FOR-] (2) ($RES_EVT_182) (50) [----] for $i1 in 1:2 loop (50) [----] [SCAL] (1) $SEV_14[$i1] = cooModCon.parMecCoo.inPort[$i1 - 1].occupied or cooModCon.parMecCoo.inPort[$i1 - 1].set ($RES_EVT_183) (50) [----] end for; (51) [SCAL] (1) $SEV_15 = $FUN_1 or cooModCon.parMecCoo.outerStatePort.localActive and not $FUN_2 ($RES_EVT_184) (52) [SCAL] (1) $SEV_16 = (cooModCon.con1.localCondition and cooModCon.con1.inPort.available) and not cooModCon.con1.outPort.occupied ($RES_EVT_185) (53) [SCAL] (1) $SEV_17 = cooModCon.con1.enableFire and time >= ((time - cooModCon.con1.t_dummy) + cooModCon.con1.waitTime) ($RES_EVT_186) (54) [SCAL] (1) $SEV_18 = TCHWLeaWSE.y <= (cooModCon.deaBan4 + TCHWLeaSet.k) ($RES_EVT_187) (55) [SCAL] (1) $SEV_19 = TCHWEntWSE.k > (cooModCon.deaBan3 + TWetBub.k + TAppTow.k) ($RES_EVT_188) (56) [SCAL] (1) $SEV_20 = TCHWEntWSE.k < (cooModCon.deaBan2 + TCHWLeaWSE.y) ($RES_EVT_189) (57) [SCAL] (1) cooModCon.con2.outPort.occupied = cooModCon.fulMecCoo.inPort[1].occupied ($RES_SIM_110) (58) [SCAL] (1) cooModCon.con2.outPort.set = cooModCon.parMecCoo.outPort[1].reset ($RES_SIM_111) (59) [SCAL] (1) cooModCon.con2.inPort.available = cooModCon.parMecCoo.outPort[1].available ($RES_SIM_112) (60) [SCAL] (1) cooModCon.con1.outPort.set = cooModCon.parMecCoo.inPort[1].set ($RES_SIM_113) (61) [SCAL] (1) cooModCon.stateGraphRoot.activeSteps = -integer(cooModCon.stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_31) (62) [SCAL] (1) cooModCon.con1.localCondition = $SEV_21 ($RES_BND_126) (63) [SCAL] (1) cooModCon.con1.outPort.occupied = cooModCon.parMecCoo.inPort[1].occupied ($RES_SIM_114) (64) [SCAL] (1) cooModCon.freCoo.outPort[1].reset = cooModCon.con1.outPort.set ($RES_SIM_115) (65) [SCAL] (1) cooModCon.freCoo.outPort[1].available = cooModCon.con1.inPort.available ($RES_SIM_116) (66) [SCAL] (1) cooModCon.con4.enableFire = $SEV_4 ($RES_SIM_34) (67) [SCAL] (1) cooModCon.freCoo.outerStatePort.subgraphStatePort.activeSteps = if cooModCon.freCoo.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_70) (68) [SCAL] (1) cooModCon.con4.outPort.set = $SEV_5 ($RES_SIM_35) (69) [FOR-] (2) ($RES_SIM_71) (69) [----] for $i1 in 1:2 loop (69) [----] [SCAL] (1) cooModCon.parMecCoo.outPort[$i1].reset = false ($RES_SIM_72) (69) [----] end for; (70) [SCAL] (1) cooModCon.con4.t = if cooModCon.con4.enableFire then cooModCon.con4.t_dummy else 0.0 ($RES_SIM_36) (71) [FOR-] (2) ($RES_SIM_73) (71) [----] for $i1 in 1:2 loop (71) [----] [SCAL] (1) cooModCon.parMecCoo.inPort[$i1].set = false ($RES_SIM_74) (71) [----] end for; (72) [WHEN] (1)when cooModCon.con4.enableFire then (72) [----] time - cooModCon.con4.t_dummy := time (72) [----] end when; (73) [FOR-] (2) ($RES_SIM_75) (73) [----] for $i1 in 1:2 loop (73) [----] [SCAL] (1) cooModCon.parMecCoo.outPort[$i1].available = if $SEV_12[$i1] then cooModCon.parMecCoo.outerStatePort.localActive else $SEV_13[$i1] ($RES_SIM_76) (73) [----] end for; (74) [FOR-] (2) ($RES_SIM_77) (74) [----] for $i1 in 1:2 loop (74) [----] [SCAL] (1) cooModCon.parMecCoo.inPort[$i1].occupied = if $SEV_12[$i1] then cooModCon.parMecCoo.outerStatePort.localActive else $SEV_14[$i1] ($RES_SIM_78) (74) [----] end for; (75) [WHEN] (1)when false then (75) [----] cooModCon.parMecCoo.oldActive := cooModCon.parMecCoo.outerStatePort.localActive (75) [----] end when; (76) [SCAL] (1) $TEV_0 = $PRE.cooModCon.swi.y ($RES_EVT_152) (77) [SCAL] (1) $TEV_1 = $PRE.cooModCon.con4.enableFire ($RES_EVT_153) (78) [SCAL] (1) $TEV_2 = $PRE.cooModCon.con3.enableFire ($RES_EVT_154) (79) [SCAL] (1) $SEV_21 = TCHWLeaWSE.y > (cooModCon.deaBan1 + TCHWLeaSet.k) ($RES_EVT_190) (80) [SCAL] (1) $TEV_3 = $PRE.cooModCon.con2.enableFire ($RES_EVT_155) (81) [SCAL] (1) $TEV_4 = $PRE.cooModCon.fulMecCoo.oldActive ($RES_EVT_156) (82) [SCAL] (1) $TEV_5 = $PRE.cooModCon.fulMecCoo.outerStatePort.localActive ($RES_EVT_157) (83) [SCAL] (1) $TEV_6 = $PRE.cooModCon.fulMecCoo.newActive ($RES_EVT_158) (84) [SCAL] (1) $TEV_7 = $PRE.cooModCon.freCoo.oldActive ($RES_EVT_159) (85) [SCAL] (1) cooModCon.con2.localCondition = $SEV_20 ($RES_BND_131) (86) [SCAL] (1) cooModCon.con3.localCondition = $SEV_19 ($RES_BND_133) (87) [SCAL] (1) cooModCon.con4.localCondition = $SEV_18 ($RES_BND_135) (88) [SCAL] (1) cooModCon.con3.enableFire = $SEV_6 ($RES_SIM_41) (89) [SCAL] (1) cooModCon.con3.outPort.set = $SEV_7 ($RES_SIM_42) (90) [SCAL] (1) cooModCon.con3.t = if cooModCon.con3.enableFire then cooModCon.con3.t_dummy else 0.0 ($RES_SIM_43) (91) [ARRY] (3) cooModCon.swi.expr = {1, 2, 3} ($RES_BND_139) (92) [SCAL] (1) cooModCon.parMecCoo.newActive = $SEV_15 ($RES_SIM_80) (93) [WHEN] (1)when cooModCon.con3.enableFire then (93) [----] time - cooModCon.con3.t_dummy := time (93) [----] end when; (94) [SCAL] (1) cooModCon.parMecCoo.outerStatePort.localActive = $TEV_12 ($RES_SIM_81) (95) [SCAL] (1) cooModCon.parMecCoo.outerStatePort.subgraphStatePort.activeSteps = if cooModCon.parMecCoo.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_83) (96) [SCAL] (1) cooModCon.con2.enableFire = $SEV_8 ($RES_SIM_48) (97) [SCAL] (1) cooModCon.con2.outPort.set = $SEV_9 ($RES_SIM_49) (98) [SCAL] (1) cooModCon.con1.enableFire = $SEV_16 ($RES_SIM_86) (99) [SCAL] (1) cooModCon.con1.outPort.set = $SEV_17 ($RES_SIM_87) (100) [SCAL] (1) $TEV_8 = $PRE.cooModCon.freCoo.outerStatePort.localActive ($RES_EVT_160) (101) [SCAL] (1) cooModCon.con1.t = if cooModCon.con1.enableFire then cooModCon.con1.t_dummy else 0.0 ($RES_SIM_88) (102) [SCAL] (1) $TEV_9 = $PRE.cooModCon.freCoo.newActive ($RES_EVT_161) (103) [SCAL] (1) $TEV_10 = $PRE.cooModCon.parMecCoo.oldActive ($RES_EVT_162) (104) [SCAL] (1) $TEV_11 = $PRE.cooModCon.parMecCoo.outerStatePort.localActive ($RES_EVT_163) (105) [SCAL] (1) $TEV_12 = $PRE.cooModCon.parMecCoo.newActive ($RES_EVT_164) (106) [SCAL] (1) $TEV_13 = $PRE.cooModCon.con1.enableFire ($RES_EVT_165) (107) [SCAL] (1) $SEV_0 = (time < TCHWLeaWSE.startTime or TCHWLeaWSE.nperiod == 0) or TCHWLeaWSE.nperiod > 0 and TCHWLeaWSE.count >= TCHWLeaWSE.nperiod ($RES_EVT_166) (108) [SCAL] (1) $SEV_1 = time < (TCHWLeaWSE.T_start + TCHWLeaWSE.T_width) ($RES_EVT_167) (109) [SCAL] (1) $SEV_2 = integer((time - TCHWLeaWSE.startTime) / TCHWLeaWSE.period) > $PRE.TCHWLeaWSE.count ($RES_EVT_168) (110) [SCAL] (1) $SEV_3 = cooModCon.swi.firstActiveIndex > 0 ($RES_EVT_169) (111) [SCAL] (1) TCHWLeaWSE.T_width = 0.01 * TCHWLeaWSE.width * TCHWLeaWSE.period ($RES_BND_140) (112) [SCAL] (1) $FUN_1 = Modelica.StateGraph.Temporary.anyTrue(cooModCon.parMecCoo.inPort.set) ($RES_$AUX_147) (113) [SCAL] (1) $FUN_2 = Modelica.StateGraph.Temporary.anyTrue(cooModCon.parMecCoo.outPort.reset) ($RES_$AUX_146) (114) [SCAL] (1) $FUN_3 = Modelica.StateGraph.Temporary.anyTrue(cooModCon.freCoo.inPort.set) ($RES_$AUX_145) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 38 var 2 --> eqn 15 var 3 --> eqn 11 var 4 --> eqn 93 var 5 --> eqn 1 var 6 --> eqn 7 var 7 --> eqn 103 var 8 --> eqn 30 var 9 --> eqn 13 var 10 --> eqn 8 var 11 --> eqn 70 var 12 --> eqn 102 var 13 --> eqn 45 var 14 --> eqn 49 var 15 --> eqn 36 var 16 --> eqn 14 var 17 --> eqn 41 var 18 --> eqn 32 var 19 --> eqn 75 var 20 --> eqn 76 var 21 --> eqn 105 var 22 --> eqn 52 var 23 --> eqn 53 var 24 --> eqn 71 var 25 --> eqn 78 var 26 --> eqn 79 var 27 --> eqn 31 var 28 --> eqn 4 var 29 --> eqn 43 var 30 --> eqn 12 var 31 --> eqn 66 var 32 --> eqn 63 var 33 --> eqn 5 var 34 --> eqn 86 var 35 --> eqn 3 var 36 --> eqn 59 var 37 --> eqn 2 var 38 --> eqn 123 var 39 --> eqn 122 var 40 --> eqn 121 var 41 --> eqn 6 var 42 --> eqn 95 var 43 --> eqn 62 var 44 --> eqn 65 var 45 --> eqn 97 var 46 --> eqn 120 var 47 --> eqn 9 var 48 --> eqn 58 var 49 --> eqn 57 var 50 --> eqn 56 var 51 --> eqn 55 var 52 --> eqn 54 var 53 --> eqn 60 var 54 --> eqn 64 var 55 --> eqn 61 var 56 --> eqn 29 var 57 --> eqn 98 var 58 --> eqn 99 var 59 --> eqn 100 var 60 --> eqn 50 var 61 --> eqn 51 var 62 --> eqn 26 var 63 --> eqn 25 var 64 --> eqn 69 var 65 --> eqn 110 var 66 --> eqn 68 var 67 --> eqn 104 var 68 --> eqn 40 var 69 --> eqn 94 var 70 --> eqn 24 var 71 --> eqn 80 var 72 --> eqn 81 var 73 --> eqn 39 var 74 --> eqn 23 var 75 --> eqn 22 var 76 --> eqn 20 var 77 --> eqn 18 var 78 --> eqn 16 var 79 --> eqn 10 var 80 --> eqn 21 var 81 --> eqn 19 var 82 --> eqn 34 var 83 --> eqn 17 var 84 --> eqn 111 var 85 --> eqn 42 var 86 --> eqn 119 var 87 --> eqn 109 var 88 --> eqn 118 var 89 --> eqn 91 var 90 --> eqn 117 var 91 --> eqn 90 var 92 --> eqn 116 var 93 --> eqn 89 var 94 --> eqn 88 var 95 --> eqn 92 var 96 --> eqn 87 var 97 --> eqn 85 var 98 --> eqn 84 var 99 --> eqn 48 var 100 --> eqn 82 var 101 --> eqn 83 var 102 --> eqn 27 var 103 --> eqn 28 var 104 --> eqn 115 var 105 --> eqn 114 var 106 --> eqn 74 var 107 --> eqn 113 var 108 --> eqn 112 var 109 --> eqn 47 var 110 --> eqn 77 var 111 --> eqn 101 var 112 --> eqn 35 var 113 --> eqn 33 var 114 --> eqn 107 var 115 --> eqn 46 equation to variable ********************** eqn 1 --> var 5 eqn 2 --> var 37 eqn 3 --> var 35 eqn 4 --> var 28 eqn 5 --> var 33 eqn 6 --> var 41 eqn 7 --> var 6 eqn 8 --> var 10 eqn 9 --> var 47 eqn 10 --> var 79 eqn 11 --> var 3 eqn 12 --> var 30 eqn 13 --> var 9 eqn 14 --> var 16 eqn 15 --> var 2 eqn 16 --> var 78 eqn 17 --> var 83 eqn 18 --> var 77 eqn 19 --> var 81 eqn 20 --> var 76 eqn 21 --> var 80 eqn 22 --> var 75 eqn 23 --> var 74 eqn 24 --> var 70 eqn 25 --> var 63 eqn 26 --> var 62 eqn 27 --> var 102 eqn 28 --> var 103 eqn 29 --> var 56 eqn 30 --> var 8 eqn 31 --> var 27 eqn 32 --> var 18 eqn 33 --> var 113 eqn 34 --> var 82 eqn 35 --> var 112 eqn 36 --> var 15 eqn 37 --> var -1 eqn 38 --> var 1 eqn 39 --> var 73 eqn 40 --> var 68 eqn 41 --> var 17 eqn 42 --> var 85 eqn 43 --> var 29 eqn 44 --> var -1 eqn 45 --> var 13 eqn 46 --> var 115 eqn 47 --> var 109 eqn 48 --> var 99 eqn 49 --> var 14 eqn 50 --> var 60 eqn 51 --> var 61 eqn 52 --> var 22 eqn 53 --> var 23 eqn 54 --> var 52 eqn 55 --> var 51 eqn 56 --> var 50 eqn 57 --> var 49 eqn 58 --> var 48 eqn 59 --> var 36 eqn 60 --> var 53 eqn 61 --> var 55 eqn 62 --> var 43 eqn 63 --> var 32 eqn 64 --> var 54 eqn 65 --> var 44 eqn 66 --> var 31 eqn 67 --> var -1 eqn 68 --> var 66 eqn 69 --> var 64 eqn 70 --> var 11 eqn 71 --> var 24 eqn 72 --> var -1 eqn 73 --> var -1 eqn 74 --> var 106 eqn 75 --> var 19 eqn 76 --> var 20 eqn 77 --> var 110 eqn 78 --> var 25 eqn 79 --> var 26 eqn 80 --> var 71 eqn 81 --> var 72 eqn 82 --> var 100 eqn 83 --> var 101 eqn 84 --> var 98 eqn 85 --> var 97 eqn 86 --> var 34 eqn 87 --> var 96 eqn 88 --> var 94 eqn 89 --> var 93 eqn 90 --> var 91 eqn 91 --> var 89 eqn 92 --> var 95 eqn 93 --> var 4 eqn 94 --> var 69 eqn 95 --> var 42 eqn 96 --> var -1 eqn 97 --> var 45 eqn 98 --> var 57 eqn 99 --> var 58 eqn 100 --> var 59 eqn 101 --> var 111 eqn 102 --> var 12 eqn 103 --> var 7 eqn 104 --> var 67 eqn 105 --> var 21 eqn 106 --> var -1 eqn 107 --> var 114 eqn 108 --> var -1 eqn 109 --> var 87 eqn 110 --> var 65 eqn 111 --> var 84 eqn 112 --> var 108 eqn 113 --> var 107 eqn 114 --> var 105 eqn 115 --> var 104 eqn 116 --> var 92 eqn 117 --> var 90 eqn 118 --> var 88 eqn 119 --> var 86 eqn 120 --> var 46 eqn 121 --> var 40 eqn 122 --> var 39 eqn 123 --> var 38