Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.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.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 103.5 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.001251/0.001251, allocations: 195.2 kB / 17.31 MB, free: 5.91 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.436/1.436, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.695/1.695, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.349e-05, allocations: 5.797 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage): time 0.003921/0.003958, allocations: 2.753 MB / 0.6755 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002595/0.00657, allocations: 1.715 MB / 0.6772 GB, free: 1.398 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.006801, allocations: 11.94 kB / 0.6772 GB, free: 1.387 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004703/0.007279, allocations: 214.8 kB / 0.6774 GB, free: 1.176 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.0004258/0.007715, allocations: 226.9 kB / 0.6777 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.009001, allocations: 0.5953 MB / 0.6782 GB, free: 372 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008752/0.009886, allocations: 0.9005 MB / 0.6791 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006008/0.0105, allocations: 0.566 MB / 0.6797 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.01088, allocations: 386.8 kB / 0.68 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.01123, allocations: 382.5 kB / 0.6804 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.907e-05/0.01133, allocations: 80 kB / 0.6805 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.01164, allocations: 199.8 kB / 0.6807 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.000629/0.01228, allocations: 0.9734 MB / 0.6816 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.000352/0.01264, allocations: 0.5926 MB / 0.6822 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.01278, allocations: 107.6 kB / 0.6823 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001151/0.0129, allocations: 59.61 kB / 0.6824 GB, free: 12.11 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: 132 (126) * Number of variables: 124 (118) Notification: Performance of Bindings: time 0.002339/0.01525, allocations: 2.765 MB / 0.6851 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0002102/0.01546, allocations: 211.4 kB / 0.6853 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.001571/0.01705, allocations: 1.698 MB / 0.6869 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of simplify1: time 0.0001232/0.01718, allocations: 115.8 kB / 0.687 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of Alias: time 0.002465/0.01965, allocations: 2.435 MB / 0.6894 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of simplify2: time 8.667e-05/0.01975, allocations: 87.88 kB / 0.6895 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of Events: time 0.0005023/0.02026, allocations: 433.7 kB / 0.6899 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0006747/0.02095, allocations: 0.7263 MB / 0.6906 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0007425/0.0217, allocations: 0.7151 MB / 0.6913 GB, free: 2.5 MB / 0.5606 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (116/125) ********************************* (1) [DISC] (1) Boolean conSpePumSta.con1.outPort.set (2) [DISC] (1) Boolean conSpePumSta.con2.outPort.set (3) [DISC] (1) Boolean conSpePumSta.con3.outPort.set (4) [DISC] (1) Boolean[1] conSpePumSta.off.inPort.occupied (5) [DISC] (1) Boolean conSpePumSta.con4.outPort.set (6) [DISC] (2) Boolean[2] conSpePumSta.oneOn.outPort.reset (7) [ALGB] (1) protected flow Real conSpePumSta.twoOn.outerStatePort.subgraphStatePort.activeSteps (8) [DISC] (2) Boolean[2] conSpePumSta.oneOn.inPort.occupied (9) [DISC] (2) Boolean[2] $SEV_18[$i1] (10) [ALGB] (1) Real $FUN_10 (11) [DISC] (1) Boolean conSpePumSta.con1.enableFire (12) [ALGB] (1) protected Real conSpePumSta.con3.t_dummy (13) [DISC] (1) Integer conSpePumSta.cooMod (14) [ALGB] (1) protected flow Real conSpePumSta.off.outerStatePort.subgraphStatePort.activeSteps (15) [DISS] (1) protected Boolean conSpePumSta.oneOn.oldActive (16) [DISS] (1) protected discrete Real cooMod.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (17) [DISC] (2) Boolean[2] conSpePumSta.oneOn.inPort.set (18) [DISC] (1) final Boolean conSpePumSta.con4.localCondition = conSpePumSta.con4.localCondition (19) [DISC] (1) Boolean[1] conSpePumSta.off.inPort.set (20) [DISC] (1) Boolean conSpePumSta.con3.outPort.occupied (21) [ALGB] (1) Real conSpePumSta.con4.t (22) [DISC] (1) Boolean conSpePumSta.con1.outPort.occupied (23) [DISC] (1) protected Boolean conSpePumSta.oneOn.newActive (24) [DISC] (2) Boolean[2] conSpePumSta.oneOn.outPort.available (25) [DISC] (1) Boolean $SEV_25 (26) [DISC] (1) final Boolean conSpePumSta.con2.localCondition = conSpePumSta.con2.localCondition (27) [ALGB] (1) Real $FUN_9 (28) [DISC] (1) Boolean $SEV_24 (29) [ALGB] (1) Real $FUN_8 (30) [DISC] (1) Boolean $SEV_23 (31) [DISC] (1) Boolean conSpePumSta.con2.enableFire (32) [ALGB] (1) protected Real conSpePumSta.con2.t_dummy (33) [ALGB] (1) Real $FUN_7 (34) [DISC] (1) Boolean $SEV_22 (35) [DISC] (1) Boolean $FUN_6 (36) [DISC] (1) Boolean $SEV_21 (37) [DISC] (1) Boolean $FUN_5 (38) [DISC] (1) Boolean $SEV_20 (39) [DISS] (1) protected Boolean conSpePumSta.off.oldActive (40) [DISC] (1) Boolean $FUN_4 (41) [DISC] (1) protected Boolean conSpePumSta.twoOn.outerStatePort.localActive = conSpePumSta.twoOn.outerStatePort.localActive (42) [ALGB] (1) Real[1] chiNumOn.combiTimeTable.y (43) [DISC] (1) Boolean $FUN_3 (44) [DISC] (1) Boolean $FUN_2 (45) [DISC] (1) Boolean $FUN_1 (46) [DISC] (2) Boolean[2] $SEV_17[$i1] (47) [DISC] (1) Integer conSpePumSta.stateGraphRoot.activeSteps (48) [ALGB] (2) Real[2] conSpePumSta.y (49) [ALGB] (1) Real conSpePumSta.con2.t (50) [DISS] (1) protected discrete Real chiNumOn.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (51) [ALGB] (1) Real[1] cooMod.combiTimeTable.y (52) [DISC] (1) Boolean[1] conSpePumSta.off.outPort.reset (53) [DISC] (1) Integer conSpePumSta.booToInt1.y (54) [DISC] (1) protected Boolean conSpePumSta.off.newActive (55) [DISC] (1) Boolean conSpePumSta.con4.outPort.occupied (56) [DISC] (1) Boolean conSpePumSta.con4.inPort.available (57) [ALGB] (1) protected Real conSpePumSta.con1.t_dummy (58) [DISC] (1) Integer conSpePumSta.booToInt.y (59) [DISC] (1) Boolean $SEV_19 (60) [DISC] (1) Boolean conSpePumSta.con3.enableFire (61) [DISC] (1) final Boolean conSpePumSta.con3.localCondition = conSpePumSta.con3.localCondition (62) [DISC] (1) Boolean $SEV_15 (63) [DISC] (1) Boolean $SEV_14 (64) [DISC] (1) Boolean[1] conSpePumSta.twoOn.inPort.occupied (65) [DISC] (1) Boolean $SEV_13 (66) [DISC] (1) protected Boolean conSpePumSta.off.outerStatePort.localActive = conSpePumSta.off.outerStatePort.localActive (67) [DISC] (1) Boolean[1] conSpePumSta.twoOn.outPort.available (68) [DISS] (1) protected Boolean conSpePumSta.twoOn.oldActive (69) [DISC] (1) Boolean $SEV_12 (70) [DISC] (1) Boolean $SEV_11 (71) [DISC] (1) Boolean $SEV_10 (72) [DISC] (1) Integer conSpePumSta.addInt.y (73) [ALGB] (1) protected flow Real conSpePumSta.oneOn.outerStatePort.subgraphStatePort.activeSteps (74) [DISC] (1) protected Boolean conSpePumSta.twoOn.newActive (75) [DISC] (2) Boolean[2] $SEV_16[$i1] (76) [DISC] (1) Integer conSpePumSta.numOnChi (77) [ALGB] (1) flow Real conSpePumSta.stateGraphRoot.subgraphStatePort.activeSteps (78) [DISC] (1) Boolean $SEV_9 (79) [DISC] (1) Boolean $SEV_8 (80) [DISC] (1) Boolean $SEV_7 (81) [DISC] (1) protected Boolean conSpePumSta.oneOn.outerStatePort.localActive = conSpePumSta.oneOn.outerStatePort.localActive (82) [DISC] (1) Boolean $SEV_6 (83) [DISC] (1) Boolean conSpePumSta.con4.enableFire (84) [DISC] (1) Boolean conSpePumSta.con3.inPort.available (85) [DISC] (1) Boolean conSpePumSta.con1.inPort.available (86) [DISC] (1) Boolean $TEV_9 (87) [ALGB] (1) Real chiNumOn.realToInteger.u (88) [DISC] (1) Boolean $SEV_3 (89) [DISC] (1) Boolean $TEV_8 (90) [ALGB] (2) Real[2] conSpePumSta.combiTable1Ds.y (91) [DISC] (1) Boolean $SEV_2 (92) [DISC] (1) Boolean $TEV_7 (93) [DISC] (1) Boolean $TEV_6 (94) [DISC] (1) Boolean $TEV_5 (95) [DISC] (1) Boolean $TEV_4 (96) [DISC] (1) Boolean $TEV_3 (97) [DISC] (1) Boolean $TEV_2 (98) [ALGB] (1) Real conSpePumSta.con3.t (99) [DISC] (1) Boolean $TEV_1 (100) [DISS] (1) protected discrete Real cooMod.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (101) [DISC] (1) Boolean $TEV_0 (102) [DISC] (1) Boolean[1] conSpePumSta.twoOn.inPort.set (103) [DISC] (1) Boolean[1] conSpePumSta.off.outPort.available (104) [DISC] (1) Boolean $TEV_14 (105) [DISC] (1) Boolean $TEV_13 (106) [DISC] (1) Boolean $TEV_12 (107) [DISC] (1) Boolean $TEV_11 (108) [DISC] (1) Boolean $TEV_10 (109) [DISC] (1) final Boolean conSpePumSta.con1.localCondition = conSpePumSta.con1.localCondition (110) [DISC] (1) Boolean[1] conSpePumSta.twoOn.outPort.reset (111) [ALGB] (1) Real cooMod.realToInteger.u (112) [ALGB] (1) protected Real conSpePumSta.con4.t_dummy (113) [DISS] (1) protected discrete Real chiNumOn.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (114) [ALGB] (1) Real conSpePumSta.con1.t (115) [DISC] (1) Boolean conSpePumSta.con2.outPort.occupied (116) [DISC] (1) Boolean conSpePumSta.con2.inPort.available system eqns Equations (124/133) ********************************* (1) [SCAL] (1) conSpePumSta.con2.localCondition = $SEV_24 ($RES_BND_146) (2) [SCAL] (1) conSpePumSta.con3.enableFire = $SEV_10 ($RES_SIM_52) (3) [SCAL] (1) conSpePumSta.con3.outPort.set = $SEV_11 ($RES_SIM_53) (4) [SCAL] (1) conSpePumSta.con3.localCondition = $SEV_23 ($RES_BND_148) (5) [SCAL] (1) conSpePumSta.con3.t = if conSpePumSta.con3.enableFire then conSpePumSta.con3.t_dummy else 0.0 ($RES_SIM_54) (6) [WHEN] (1)when false then (6) [----] conSpePumSta.oneOn.oldActive := conSpePumSta.oneOn.outerStatePort.localActive (6) [----] end when; (7) [SCAL] (1) conSpePumSta.oneOn.newActive = $SEV_19 ($RES_SIM_91) (8) [WHEN] (1)when conSpePumSta.con3.enableFire then (8) [----] time - conSpePumSta.con3.t_dummy := time (8) [----] end when; (9) [SCAL] (1) conSpePumSta.oneOn.outerStatePort.localActive = $TEV_11 ($RES_SIM_92) (10) [SCAL] (1) conSpePumSta.oneOn.outerStatePort.subgraphStatePort.activeSteps = if conSpePumSta.oneOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_94) (11) [SCAL] (1) conSpePumSta.con2.enableFire = $SEV_12 ($RES_SIM_59) (12) [SCAL] (1) conSpePumSta.con1.enableFire = $SEV_20 ($RES_SIM_97) (13) [SCAL] (1) $TEV_0 = $PRE.conSpePumSta.con4.enableFire ($RES_EVT_170) (14) [SCAL] (1) conSpePumSta.con1.outPort.set = $SEV_21 ($RES_SIM_98) (15) [SCAL] (1) $TEV_1 = $PRE.conSpePumSta.con3.enableFire ($RES_EVT_171) (16) [SCAL] (1) conSpePumSta.con1.t = if conSpePumSta.con1.enableFire then conSpePumSta.con1.t_dummy else 0.0 ($RES_SIM_99) (17) [SCAL] (1) $SEV_22 = conSpePumSta.cooMod == 1 ($RES_EVT_210) (18) [SCAL] (1) $TEV_2 = $PRE.conSpePumSta.con2.enableFire ($RES_EVT_172) (19) [SCAL] (1) $SEV_23 = conSpePumSta.cooMod == 3 and conSpePumSta.numOnChi < 2 ($RES_EVT_211) (20) [SCAL] (1) $TEV_3 = $PRE.conSpePumSta.twoOn.oldActive ($RES_EVT_173) (21) [SCAL] (1) $SEV_24 = (conSpePumSta.cooMod == 1 or conSpePumSta.cooMod == 2) or conSpePumSta.cooMod == 3 and conSpePumSta.numOnChi > 1 ($RES_EVT_212) (22) [SCAL] (1) $TEV_4 = $PRE.conSpePumSta.twoOn.outerStatePort.localActive ($RES_EVT_174) (23) [SCAL] (1) $SEV_25 = (conSpePumSta.cooMod == 1 or conSpePumSta.cooMod == 2) or conSpePumSta.cooMod == 3 ($RES_EVT_213) (24) [SCAL] (1) $TEV_5 = $PRE.conSpePumSta.twoOn.newActive ($RES_EVT_175) (25) [SCAL] (1) $TEV_6 = $PRE.conSpePumSta.off.oldActive ($RES_EVT_176) (26) [SCAL] (1) $TEV_7 = $PRE.conSpePumSta.off.outerStatePort.localActive ($RES_EVT_177) (27) [SCAL] (1) $TEV_8 = $PRE.conSpePumSta.off.newActive ($RES_EVT_178) (28) [SCAL] (1) $TEV_9 = $PRE.conSpePumSta.oneOn.oldActive ($RES_EVT_179) (29) [WHEN] (1)when conSpePumSta.con1.enableFire then (29) [----] time - conSpePumSta.con1.t_dummy := time (29) [----] end when; (30) [SCAL] (1) conSpePumSta.off.outerStatePort.subgraphStatePort.activeSteps + conSpePumSta.twoOn.outerStatePort.subgraphStatePort.activeSteps + conSpePumSta.stateGraphRoot.subgraphStatePort.activeSteps + conSpePumSta.oneOn.outerStatePort.subgraphStatePort.activeSteps = 0.0 ($RES_SIM_102) (31) [SCAL] (1) conSpePumSta.con4.localCondition = $SEV_22 ($RES_BND_150) (32) [SCAL] (1) conSpePumSta.numOnChi = if $SEV_2 then integer($FUN_9) else integer($FUN_10) ($RES_SIM_21) (33) [SCAL] (1) chiNumOn.combiTimeTable.y[1] = chiNumOn.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(chiNumOn.combiTimeTable.tableID, 1, time, chiNumOn.combiTimeTable.nextTimeEventScaled, $TEV_13) ($RES_SIM_22) (34) [WHEN] (1)when {$SEV_3, initial()} then (34) [----] chiNumOn.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(chiNumOn.combiTimeTable.tableID, time) (34) [----] end when; (35) [SCAL] (1) chiNumOn.combiTimeTable.y[1] = chiNumOn.realToInteger.u ($RES_SIM_106) (36) [WHEN] (1)when {$SEV_3, initial()} then (36) [----] chiNumOn.combiTimeTable.nextTimeEvent := if chiNumOn.combiTimeTable.nextTimeEventScaled < 1e60 then chiNumOn.combiTimeTable.nextTimeEventScaled else 1e60 (36) [----] end when; (37) [SCAL] (1) conSpePumSta.con2.outPort.set = $SEV_13 ($RES_SIM_60) (38) [SCAL] (1) conSpePumSta.con2.t = if conSpePumSta.con2.enableFire then conSpePumSta.con2.t_dummy else 0.0 ($RES_SIM_61) (39) [SCAL] (1) cooMod.combiTimeTable.y[1] = cooMod.realToInteger.u ($RES_SIM_108) (40) [WHEN] (1)when conSpePumSta.con2.enableFire then (40) [----] time - conSpePumSta.con2.t_dummy := time (40) [----] end when; (41) [SCAL] (1) conSpePumSta.cooMod = if $SEV_6 then integer($FUN_7) else integer($FUN_8) ($RES_SIM_28) (42) [SCAL] (1) conSpePumSta.twoOn.outPort[1].reset = false ($RES_SIM_64) (43) [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_14) ($RES_SIM_29) (44) [SCAL] (1) conSpePumSta.twoOn.inPort[1].set = false ($RES_SIM_65) (45) [SCAL] (1) conSpePumSta.twoOn.outPort[1].available = conSpePumSta.twoOn.outerStatePort.localActive ($RES_SIM_66) (46) [SCAL] (1) conSpePumSta.twoOn.inPort[1].occupied = conSpePumSta.twoOn.outerStatePort.localActive ($RES_SIM_67) (47) [WHEN] (1)when false then (47) [----] conSpePumSta.twoOn.oldActive := conSpePumSta.twoOn.outerStatePort.localActive (47) [----] end when; (48) [SCAL] (1) conSpePumSta.twoOn.newActive = $SEV_14 ($RES_SIM_69) (49) [SCAL] (1) $TEV_10 = $PRE.conSpePumSta.oneOn.outerStatePort.localActive ($RES_EVT_180) (50) [SCAL] (1) $TEV_11 = $PRE.conSpePumSta.oneOn.newActive ($RES_EVT_181) (51) [SCAL] (1) $TEV_12 = $PRE.conSpePumSta.con1.enableFire ($RES_EVT_182) (52) [SCAL] (1) $TEV_13 = $PRE.chiNumOn.combiTimeTable.nextTimeEventScaled ($RES_EVT_183) (53) [SCAL] (1) $TEV_14 = $PRE.cooMod.combiTimeTable.nextTimeEventScaled ($RES_EVT_184) (54) [SCAL] (1) $SEV_2 = chiNumOn.realToInteger.u > 0.0 ($RES_EVT_187) (55) [SCAL] (1) $SEV_3 = time >= $PRE.chiNumOn.combiTimeTable.nextTimeEvent ($RES_EVT_188) (56) [WHEN] (1)when {$SEV_7, initial()} then (56) [----] cooMod.combiTimeTable.nextTimeEvent := if cooMod.combiTimeTable.nextTimeEventScaled < 1e60 then cooMod.combiTimeTable.nextTimeEventScaled else 1e60 (56) [----] end when; (57) [WHEN] (1)when {$SEV_7, initial()} then (57) [----] cooMod.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(cooMod.combiTimeTable.tableID, time) (57) [----] end when; (58) [SCAL] (1) $FUN_1 = Modelica.StateGraph.Temporary.anyTrue(conSpePumSta.oneOn.inPort.set) ($RES_$AUX_163) (59) [SCAL] (1) $FUN_2 = Modelica.StateGraph.Temporary.anyTrue(conSpePumSta.oneOn.outPort.reset) ($RES_$AUX_162) (60) [ARRY] (2) conSpePumSta.combiTable1Ds.y = conSpePumSta.y ($RES_SIM_115) (61) [SCAL] (1) $FUN_3 = Modelica.StateGraph.Temporary.anyTrue(conSpePumSta.off.inPort.set) ($RES_$AUX_161) (62) [SCAL] (1) conSpePumSta.con4.outPort.set = conSpePumSta.oneOn.outPort[2].reset ($RES_SIM_116) (63) [SCAL] (1) conSpePumSta.addInt.y = conSpePumSta.addInt.k1 * conSpePumSta.booToInt.y + conSpePumSta.addInt.k2 * conSpePumSta.booToInt1.y ($RES_SIM_34) (64) [SCAL] (1) $FUN_4 = Modelica.StateGraph.Temporary.anyTrue(conSpePumSta.off.outPort.reset) ($RES_$AUX_160) (65) [SCAL] (1) conSpePumSta.con4.inPort.available = conSpePumSta.oneOn.outPort[2].available ($RES_SIM_117) (66) [SCAL] (1) conSpePumSta.twoOn.outerStatePort.localActive = $TEV_5 ($RES_SIM_70) (67) [SCAL] (1) conSpePumSta.booToInt1.y = if conSpePumSta.twoOn.outerStatePort.localActive then conSpePumSta.booToInt1.integerTrue else conSpePumSta.booToInt1.integerFalse ($RES_SIM_35) (68) [SCAL] (1) conSpePumSta.con3.outPort.set = conSpePumSta.oneOn.inPort[2].set ($RES_SIM_118) (69) [SCAL] (1) conSpePumSta.booToInt.y = if conSpePumSta.oneOn.outerStatePort.localActive then conSpePumSta.booToInt.integerTrue else conSpePumSta.booToInt.integerFalse ($RES_SIM_36) (70) [SCAL] (1) conSpePumSta.con3.outPort.occupied = conSpePumSta.oneOn.inPort[2].occupied ($RES_SIM_119) (71) [SCAL] (1) conSpePumSta.twoOn.outerStatePort.subgraphStatePort.activeSteps = if conSpePumSta.twoOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_72) (72) [FOR-] (2) ($RES_SIM_37) (72) [----] for $i1 in 1:2 loop (72) [----] [SCAL] (1) conSpePumSta.combiTable1Ds.y[$i1] = Modelica.Blocks.Tables.Internal.getTable1DValue(conSpePumSta.combiTable1Ds.tableID, $i1, conSpePumSta.addInt.y) ($RES_SIM_38) (72) [----] end for; (73) [SCAL] (1) conSpePumSta.off.outPort[1].reset = false ($RES_SIM_73) (74) [SCAL] (1) conSpePumSta.off.inPort[1].set = false ($RES_SIM_74) (75) [SCAL] (1) conSpePumSta.off.outPort[1].available = conSpePumSta.off.outerStatePort.localActive ($RES_SIM_75) (76) [SCAL] (1) conSpePumSta.off.inPort[1].occupied = conSpePumSta.off.outerStatePort.localActive ($RES_SIM_76) (77) [WHEN] (1)when false then (77) [----] conSpePumSta.off.oldActive := conSpePumSta.off.outerStatePort.localActive (77) [----] end when; (78) [SCAL] (1) conSpePumSta.off.newActive = $SEV_15 ($RES_SIM_78) (79) [SCAL] (1) conSpePumSta.off.outerStatePort.localActive = $TEV_8 ($RES_SIM_79) (80) [SCAL] (1) $SEV_6 = cooMod.realToInteger.u > 0.0 ($RES_EVT_191) (81) [SCAL] (1) $SEV_7 = time >= $PRE.cooMod.combiTimeTable.nextTimeEvent ($RES_EVT_192) (82) [SCAL] (1) $SEV_8 = (conSpePumSta.con4.localCondition and conSpePumSta.con4.inPort.available) and not conSpePumSta.con4.outPort.occupied ($RES_EVT_193) (83) [SCAL] (1) $SEV_9 = conSpePumSta.con4.enableFire and time >= ((time - conSpePumSta.con4.t_dummy) + conSpePumSta.con4.waitTime) ($RES_EVT_194) (84) [SCAL] (1) $SEV_10 = (conSpePumSta.con3.localCondition and conSpePumSta.con3.inPort.available) and not conSpePumSta.con3.outPort.occupied ($RES_EVT_195) (85) [SCAL] (1) $SEV_11 = conSpePumSta.con3.enableFire and time >= ((time - conSpePumSta.con3.t_dummy) + conSpePumSta.con3.waitTime) ($RES_EVT_196) (86) [SCAL] (1) $SEV_12 = (conSpePumSta.con2.localCondition and conSpePumSta.con2.inPort.available) and not conSpePumSta.con2.outPort.occupied ($RES_EVT_197) (87) [SCAL] (1) $SEV_13 = conSpePumSta.con2.enableFire and time >= ((time - conSpePumSta.con2.t_dummy) + conSpePumSta.con2.waitTime) ($RES_EVT_198) (88) [SCAL] (1) $SEV_14 = $FUN_5 or conSpePumSta.twoOn.outerStatePort.localActive and not $FUN_6 ($RES_EVT_199) (89) [SCAL] (1) $FUN_5 = Modelica.StateGraph.Temporary.anyTrue(conSpePumSta.twoOn.inPort.set) ($RES_$AUX_159) (90) [SCAL] (1) $FUN_6 = Modelica.StateGraph.Temporary.anyTrue(conSpePumSta.twoOn.outPort.reset) ($RES_$AUX_158) (91) [SCAL] (1) $FUN_7 = floor(0.5 + cooMod.realToInteger.u) ($RES_$AUX_157) (92) [SCAL] (1) conSpePumSta.con4.outPort.set = conSpePumSta.off.inPort[1].set ($RES_SIM_120) (93) [SCAL] (1) $FUN_8 = ceil((-0.5) + cooMod.realToInteger.u) ($RES_$AUX_156) (94) [SCAL] (1) conSpePumSta.con4.outPort.occupied = conSpePumSta.off.inPort[1].occupied ($RES_SIM_121) (95) [SCAL] (1) $FUN_9 = floor(0.5 + chiNumOn.realToInteger.u) ($RES_$AUX_155) (96) [SCAL] (1) conSpePumSta.twoOn.outPort[1].reset = conSpePumSta.con3.outPort.set ($RES_SIM_122) (97) [SCAL] (1) $FUN_10 = ceil((-0.5) + chiNumOn.realToInteger.u) ($RES_$AUX_154) (98) [SCAL] (1) conSpePumSta.twoOn.outPort[1].available = conSpePumSta.con3.inPort.available ($RES_SIM_123) (99) [SCAL] (1) conSpePumSta.stateGraphRoot.activeSteps = -integer(conSpePumSta.stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_42) (100) [SCAL] (1) conSpePumSta.con2.outPort.set = conSpePumSta.twoOn.inPort[1].set ($RES_SIM_124) (101) [SCAL] (1) conSpePumSta.con2.outPort.occupied = conSpePumSta.twoOn.inPort[1].occupied ($RES_SIM_125) (102) [SCAL] (1) conSpePumSta.con2.outPort.set = conSpePumSta.oneOn.outPort[1].reset ($RES_SIM_126) (103) [SCAL] (1) conSpePumSta.con4.enableFire = $SEV_8 ($RES_SIM_45) (104) [SCAL] (1) conSpePumSta.con2.inPort.available = conSpePumSta.oneOn.outPort[1].available ($RES_SIM_127) (105) [SCAL] (1) conSpePumSta.off.outerStatePort.subgraphStatePort.activeSteps = if conSpePumSta.off.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_81) (106) [SCAL] (1) conSpePumSta.con4.outPort.set = $SEV_9 ($RES_SIM_46) (107) [SCAL] (1) conSpePumSta.con1.outPort.set = conSpePumSta.oneOn.inPort[1].set ($RES_SIM_128) (108) [FOR-] (2) ($RES_SIM_82) (108) [----] for $i1 in 1:2 loop (108) [----] [SCAL] (1) conSpePumSta.oneOn.outPort[$i1].reset = false ($RES_SIM_83) (108) [----] end for; (109) [SCAL] (1) conSpePumSta.con4.t = if conSpePumSta.con4.enableFire then conSpePumSta.con4.t_dummy else 0.0 ($RES_SIM_47) (110) [SCAL] (1) conSpePumSta.con1.outPort.occupied = conSpePumSta.oneOn.inPort[1].occupied ($RES_SIM_129) (111) [FOR-] (2) ($RES_SIM_84) (111) [----] for $i1 in 1:2 loop (111) [----] [SCAL] (1) conSpePumSta.oneOn.inPort[$i1].set = false ($RES_SIM_85) (111) [----] end for; (112) [WHEN] (1)when conSpePumSta.con4.enableFire then (112) [----] time - conSpePumSta.con4.t_dummy := time (112) [----] end when; (113) [FOR-] (2) ($RES_SIM_86) (113) [----] for $i1 in 1:2 loop (113) [----] [SCAL] (1) conSpePumSta.oneOn.outPort[$i1].available = if $SEV_16[$i1] then conSpePumSta.oneOn.outerStatePort.localActive else $SEV_17[$i1] ($RES_SIM_87) (113) [----] end for; (114) [FOR-] (2) ($RES_SIM_88) (114) [----] for $i1 in 1:2 loop (114) [----] [SCAL] (1) conSpePumSta.oneOn.inPort[$i1].occupied = if $SEV_16[$i1] then conSpePumSta.oneOn.outerStatePort.localActive else $SEV_18[$i1] ($RES_SIM_89) (114) [----] end for; (115) [SCAL] (1) $SEV_15 = $FUN_3 or conSpePumSta.off.outerStatePort.localActive and not $FUN_4 ($RES_EVT_200) (116) [FOR-] (2) ($RES_EVT_201) (116) [----] for $i1 in 1:2 loop (116) [----] [SCAL] (1) $SEV_16[$i1] = $i1 == 1 ($RES_EVT_202) (116) [----] end for; (117) [FOR-] (2) ($RES_EVT_203) (117) [----] for $i1 in 1:2 loop (117) [----] [SCAL] (1) $SEV_17[$i1] = conSpePumSta.oneOn.outPort[$i1 - 1].available and not conSpePumSta.oneOn.outPort[$i1 - 1].reset ($RES_EVT_204) (117) [----] end for; (118) [FOR-] (2) ($RES_EVT_205) (118) [----] for $i1 in 1:2 loop (118) [----] [SCAL] (1) $SEV_18[$i1] = conSpePumSta.oneOn.inPort[$i1 - 1].occupied or conSpePumSta.oneOn.inPort[$i1 - 1].set ($RES_EVT_206) (118) [----] end for; (119) [SCAL] (1) $SEV_19 = $FUN_1 or conSpePumSta.oneOn.outerStatePort.localActive and not $FUN_2 ($RES_EVT_207) (120) [SCAL] (1) $SEV_20 = (conSpePumSta.con1.localCondition and conSpePumSta.con1.inPort.available) and not conSpePumSta.con1.outPort.occupied ($RES_EVT_208) (121) [SCAL] (1) $SEV_21 = conSpePumSta.con1.enableFire and time >= ((time - conSpePumSta.con1.t_dummy) + conSpePumSta.con1.waitTime) ($RES_EVT_209) (122) [SCAL] (1) conSpePumSta.con1.localCondition = $SEV_25 ($RES_BND_141) (123) [SCAL] (1) conSpePumSta.off.outPort[1].reset = conSpePumSta.con1.outPort.set ($RES_SIM_130) (124) [SCAL] (1) conSpePumSta.off.outPort[1].available = conSpePumSta.con1.inPort.available ($RES_SIM_131) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 132 var 2 --> eqn 102 var 3 --> eqn 98 var 4 --> eqn 78 var 5 --> eqn 94 var 6 --> eqn 104 var 7 --> eqn 63 var 8 --> eqn 72 var 9 --> eqn 119 var 10 --> eqn 120 var 11 --> eqn 126 var 12 --> eqn 127 var 13 --> eqn 99 var 14 --> eqn 12 var 15 --> eqn 8 var 16 --> eqn 41 var 17 --> eqn 107 var 18 --> eqn 6 var 19 --> eqn 56 var 20 --> eqn 109 var 21 --> eqn 69 var 22 --> eqn 31 var 23 --> eqn 76 var 24 --> eqn 71 var 25 --> eqn 112 var 26 --> eqn 113 var 27 --> eqn 7 var 28 --> eqn 117 var 29 --> eqn 118 var 30 --> eqn 23 var 31 --> eqn 1 var 32 --> eqn 97 var 33 --> eqn 21 var 34 --> eqn 95 var 35 --> eqn 19 var 36 --> eqn 11 var 37 --> eqn 40 var 38 --> eqn 93 var 39 --> eqn 17 var 40 --> eqn 92 var 41 --> eqn 14 var 42 --> eqn 91 var 43 --> eqn 129 var 44 --> eqn 79 var 45 --> eqn 65 var 46 --> eqn 67 var 47 --> eqn 33 var 48 --> eqn 62 var 49 --> eqn 59 var 50 --> eqn 58 var 51 --> eqn 124 var 52 --> eqn 125 var 53 --> eqn 101 var 54 --> eqn 60 var 55 --> eqn 61 var 56 --> eqn 38 var 57 --> eqn 36 var 58 --> eqn 43 var 59 --> eqn 75 var 60 --> eqn 68 var 61 --> eqn 80 var 62 --> eqn 96 var 63 --> eqn 66 var 64 --> eqn 29 var 65 --> eqn 70 var 66 --> eqn 128 var 67 --> eqn 2 var 68 --> eqn 4 var 69 --> eqn 121 var 70 --> eqn 90 var 71 --> eqn 46 var 72 --> eqn 37 var 73 --> eqn 81 var 74 --> eqn 45 var 75 --> eqn 47 var 76 --> eqn 88 var 77 --> eqn 3 var 78 --> eqn 86 var 79 --> eqn 64 var 80 --> eqn 10 var 81 --> eqn 48 var 82 --> eqn 122 var 83 --> eqn 123 var 84 --> eqn 32 var 85 --> eqn 30 var 86 --> eqn 85 var 87 --> eqn 84 var 88 --> eqn 83 var 89 --> eqn 9 var 90 --> eqn 82 var 91 --> eqn 105 var 92 --> eqn 100 var 93 --> eqn 133 var 94 --> eqn 28 var 95 --> eqn 35 var 96 --> eqn 55 var 97 --> eqn 27 var 98 --> eqn 73 var 99 --> eqn 74 var 100 --> eqn 54 var 101 --> eqn 26 var 102 --> eqn 25 var 103 --> eqn 24 var 104 --> eqn 22 var 105 --> eqn 20 var 106 --> eqn 18 var 107 --> eqn 5 var 108 --> eqn 15 var 109 --> eqn 57 var 110 --> eqn 13 var 111 --> eqn 44 var 112 --> eqn 77 var 113 --> eqn 53 var 114 --> eqn 52 var 115 --> eqn 51 var 116 --> eqn 50 var 117 --> eqn 49 var 118 --> eqn 131 var 119 --> eqn 42 var 120 --> eqn 39 var 121 --> eqn 116 var 122 --> eqn 34 var 123 --> eqn 16 var 124 --> eqn 103 var 125 --> eqn 106 equation to variable ********************** eqn 1 --> var 31 eqn 2 --> var 67 eqn 3 --> var 77 eqn 4 --> var 68 eqn 5 --> var 107 eqn 6 --> var 18 eqn 7 --> var 27 eqn 8 --> var 15 eqn 9 --> var 89 eqn 10 --> var 80 eqn 11 --> var 36 eqn 12 --> var 14 eqn 13 --> var 110 eqn 14 --> var 41 eqn 15 --> var 108 eqn 16 --> var 123 eqn 17 --> var 39 eqn 18 --> var 106 eqn 19 --> var 35 eqn 20 --> var 105 eqn 21 --> var 33 eqn 22 --> var 104 eqn 23 --> var 30 eqn 24 --> var 103 eqn 25 --> var 102 eqn 26 --> var 101 eqn 27 --> var 97 eqn 28 --> var 94 eqn 29 --> var 64 eqn 30 --> var 85 eqn 31 --> var 22 eqn 32 --> var 84 eqn 33 --> var 47 eqn 34 --> var 122 eqn 35 --> var 95 eqn 36 --> var 57 eqn 37 --> var 72 eqn 38 --> var 56 eqn 39 --> var 120 eqn 40 --> var 37 eqn 41 --> var 16 eqn 42 --> var 119 eqn 43 --> var 58 eqn 44 --> var 111 eqn 45 --> var 74 eqn 46 --> var 71 eqn 47 --> var 75 eqn 48 --> var 81 eqn 49 --> var 117 eqn 50 --> var 116 eqn 51 --> var 115 eqn 52 --> var 114 eqn 53 --> var 113 eqn 54 --> var 100 eqn 55 --> var 96 eqn 56 --> var 19 eqn 57 --> var 109 eqn 58 --> var 50 eqn 59 --> var 49 eqn 60 --> var 54 eqn 61 --> var 55 eqn 62 --> var 48 eqn 63 --> var 7 eqn 64 --> var 79 eqn 65 --> var 45 eqn 66 --> var 63 eqn 67 --> var 46 eqn 68 --> var 60 eqn 69 --> var 21 eqn 70 --> var 65 eqn 71 --> var 24 eqn 72 --> var 8 eqn 73 --> var 98 eqn 74 --> var 99 eqn 75 --> var 59 eqn 76 --> var 23 eqn 77 --> var 112 eqn 78 --> var 4 eqn 79 --> var 44 eqn 80 --> var 61 eqn 81 --> var 73 eqn 82 --> var 90 eqn 83 --> var 88 eqn 84 --> var 87 eqn 85 --> var 86 eqn 86 --> var 78 eqn 87 --> var -1 eqn 88 --> var 76 eqn 89 --> var -1 eqn 90 --> var 70 eqn 91 --> var 42 eqn 92 --> var 40 eqn 93 --> var 38 eqn 94 --> var 5 eqn 95 --> var 34 eqn 96 --> var 62 eqn 97 --> var 32 eqn 98 --> var 3 eqn 99 --> var 13 eqn 100 --> var 92 eqn 101 --> var 53 eqn 102 --> var 2 eqn 103 --> var 124 eqn 104 --> var 6 eqn 105 --> var 91 eqn 106 --> var 125 eqn 107 --> var 17 eqn 108 --> var -1 eqn 109 --> var 20 eqn 110 --> var -1 eqn 111 --> var -1 eqn 112 --> var 25 eqn 113 --> var 26 eqn 114 --> var -1 eqn 115 --> var -1 eqn 116 --> var 121 eqn 117 --> var 28 eqn 118 --> var 29 eqn 119 --> var 9 eqn 120 --> var 10 eqn 121 --> var 69 eqn 122 --> var 82 eqn 123 --> var 83 eqn 124 --> var 51 eqn 125 --> var 52 eqn 126 --> var 11 eqn 127 --> var 12 eqn 128 --> var 66 eqn 129 --> var 43 eqn 130 --> var -1 eqn 131 --> var 118 eqn 132 --> var 1 eqn 133 --> var 93