Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 111.5 kB / 16.38 MB, free: 5.918 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.001188/0.001188, allocations: 185.5 kB / 17.31 MB, free: 5.551 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.481/1.481, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.722/1.722, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.725e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005097/0.005138, allocations: 3.035 MB / 0.6758 GB, free: 2.879 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.00788, allocations: 1.725 MB / 0.6775 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.008142, allocations: 15.88 kB / 0.6775 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.009363, allocations: 430.7 kB / 0.6779 GB, free: 0.707 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.0005173/0.00992, allocations: 258.7 kB / 0.6782 GB, free: 464 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009172/0.01085, allocations: 438.3 kB / 0.6786 GB, free: 32 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007587/0.01162, allocations: 0.807 MB / 0.6794 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005479/0.01217, allocations: 0.492 MB / 0.6799 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.01251, allocations: 354.8 kB / 0.6802 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.01285, allocations: 330.5 kB / 0.6805 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.967e-05/0.01294, allocations: 60 kB / 0.6806 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.01327, allocations: 175.8 kB / 0.6807 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0006508/0.01393, allocations: 0.9845 MB / 0.6817 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0003724/0.01431, allocations: 0.635 MB / 0.6823 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.01441, allocations: 95.62 kB / 0.6824 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001046/0.01452, allocations: 55.61 kB / 0.6825 GB, free: 12.04 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: 127 (123) * Number of variables: 119 (115) Notification: Performance of Bindings: time 0.002519/0.01705, allocations: 2.788 MB / 0.6852 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001915/0.01725, allocations: 159.7 kB / 0.6853 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.001631/0.01889, allocations: 1.311 MB / 0.6866 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of simplify1: time 0.0001075/0.019, allocations: 103.8 kB / 0.6867 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of Alias: time 0.00273/0.02174, allocations: 2.221 MB / 0.6889 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simplify2: time 6.564e-05/0.02182, allocations: 59.92 kB / 0.6889 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of Events: time 0.0004262/0.02225, allocations: 338.8 kB / 0.6893 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0005156/0.02278, allocations: 0.5185 MB / 0.6898 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0005519/0.02334, allocations: 0.515 MB / 0.6903 GB, free: 3.582 MB / 0.5606 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (90/97) ******************************* (1) [DISC] (1) protected Boolean transition4.outPort.occupied (2) [DISC] (1) protected Boolean transition4.inPort.available (3) [DISC] (1) protected Boolean[1] off.outPort.reset (4) [ALGB] (1) protected Real transition3.t_dummy (5) [ALGB] (1) protected flow Real stateGraphRoot.subgraphStatePort.activeSteps (6) [DISC] (1) Boolean[1] pumOn.inPort.occupied (7) [DISC] (1) Boolean[1] pumOn.outPort.reset (8) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (9) [DISC] (2) protected Boolean[2] off.inPort.occupied (10) [DISC] (1) final Boolean transition2.localCondition = transition2.localCondition (11) [DISC] (1) protected Boolean transition3.outPort.occupied (12) [DISC] (2) Boolean[2] $SEV_14[$i1] (13) [ALGB] (1) protected Real[1] avaSig.combiTimeTable.y (14) [DISC] (2) protected Boolean[2] off.inPort.set (15) [DISC] (1) Boolean $FUN_6 (16) [DISC] (1) protected Boolean staBy.outerStatePort.localActive = staBy.outerStatePort.localActive (17) [DISC] (1) Boolean $FUN_5 (18) [ALGB] (1) protected Real transition3.t (19) [DISC] (1) Boolean $FUN_4 (20) [DISC] (1) Boolean[1] pumOn.outPort.available (21) [DISC] (1) Boolean $FUN_3 (22) [DISC] (1) Boolean $FUN_2 (23) [DISC] (1) Boolean $FUN_1 (24) [ALGB] (1) protected flow Real pumOn.outerStatePort.subgraphStatePort.activeSteps (25) [DISS] (1) protected discrete Real runSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (26) [DISC] (1) protected Boolean pumOn.outerStatePort.localActive = pumOn.outerStatePort.localActive (27) [DISC] (1) Boolean transition2.outPort.occupied (28) [ALGB] (1) protected flow Real off.outerStatePort.subgraphStatePort.activeSteps (29) [DISC] (1) Boolean[1] pumOn.inPort.set (30) [DISC] (1) protected Integer stateGraphRoot.activeSteps (31) [DISC] (1) Boolean transition1.outPort.set (32) [DISC] (1) Boolean[1] staBy.inPort.occupied (33) [DISC] (1) Boolean transition2.outPort.set (34) [DISC] (1) Boolean transition2.inPort.available (35) [DISC] (1) protected Boolean transition3.outPort.set (36) [DISC] (1) Boolean $SEV_17 (37) [DISC] (1) Boolean $SEV_16 (38) [DISC] (1) protected Boolean transition4.outPort.set (39) [DISC] (2) Boolean[2] staBy.outPort.reset (40) [DISC] (1) Boolean $SEV_15 (41) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (42) [DISC] (1) Boolean $SEV_13 (43) [ALGB] (1) protected Real avaSig.realToBoolean.u (44) [DISC] (1) Boolean $SEV_12 (45) [DISC] (1) Boolean $SEV_11 (46) [DISC] (2) Boolean[2] $SEV_5[$i1] (47) [DISC] (1) final Boolean transition1.localCondition = transition1.localCondition (48) [ALGB] (1) protected Real runSig.realToBoolean.u (49) [ALGB] (1) protected Real[1] runSig.combiTimeTable.y (50) [DISC] (1) protected Boolean off.outerStatePort.localActive = off.outerStatePort.localActive (51) [DISS] (1) protected Boolean pumOn.oldActive (52) [DISS] (1) protected discrete Real runSig.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (53) [DISC] (1) Boolean[1] staBy.inPort.set (54) [DISS] (1) protected Boolean off.oldActive (55) [DISC] (1) Boolean transition1.inPort.available (56) [DISC] (1) Boolean transition1.outPort.occupied (57) [DISC] (1) Boolean $SEV_9 (58) [DISC] (1) Boolean $SEV_8 (59) [DISC] (1) protected Boolean transition3.enableFire (60) [DISC] (1) Boolean $SEV_6 (61) [DISC] (1) protected Boolean pumOn.newActive (62) [DISC] (1) enumeration Buildings.Fluid.CHPs.BaseClasses.Types.Mode(Off, StandBy, PumpOn, WarmUp, Normal, CoolDown) actMod (63) [DISC] (1) Boolean $TEV_9 (64) [DISC] (1) Boolean $SEV_3 (65) [DISC] (1) Boolean $TEV_8 (66) [DISC] (1) protected Boolean off.newActive (67) [DISC] (1) protected Boolean staBy.newActive (68) [DISC] (1) protected Boolean transition3.inPort.available (69) [DISC] (1) Boolean $SEV_2 (70) [DISC] (1) Boolean $TEV_7 (71) [DISC] (2) Boolean[2] staBy.outPort.available (72) [DISC] (1) Boolean $SEV_1 (73) [DISC] (1) Boolean $TEV_6 (74) [DISC] (1) Boolean $SEV_0 (75) [DISC] (1) Boolean $TEV_5 (76) [DISC] (1) Boolean $TEV_4 (77) [ALGB] (1) protected flow Real staBy.outerStatePort.subgraphStatePort.activeSteps (78) [DISC] (1) Boolean $TEV_3 (79) [DISC] (1) Boolean $TEV_2 (80) [DISC] (1) Boolean $TEV_1 (81) [DISC] (1) Boolean $TEV_0 (82) [DISS] (1) protected Boolean staBy.oldActive (83) [DISC] (1) Boolean $TEV_14 (84) [DISC] (1) Boolean $TEV_13 (85) [DISC] (1) Boolean $TEV_12 (86) [DISC] (2) Boolean[2] $SEV_4[$i1] (87) [DISC] (1) Boolean $TEV_11 (88) [DISC] (1) Boolean $TEV_10 (89) [DISC] (1) protected final Boolean transition3.localCondition = transition3.localCondition (90) [DISC] (1) protected Boolean[1] off.outPort.available system eqns Equations (98/105) ******************************** (1) [SCAL] (1) off.outerStatePort.subgraphStatePort.activeSteps = if off.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_50) (2) [-IF-] (1)if off.outerStatePort.localActive then (2) [----] [SCAL] (1) actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off ($RES_SIM_17) (2) [----] elseif staBy.outerStatePort.localActive then (2) [----] [SCAL] (1) actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_SIM_18) (2) [----] else (2) [----] [SCAL] (1) actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.PumpOn ($RES_SIM_19) (2) [----] end if; (3) [SCAL] (1) transition2.localCondition = $SEV_8 ($RES_SIM_52) (4) [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_13) ($RES_SIM_53) (5) [WHEN] (1)when {$SEV_9, initial()} then (5) [----] runSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(runSig.combiTimeTable.tableID, time) (5) [----] end when; (6) [WHEN] (1)when {$SEV_9, initial()} then (6) [----] runSig.combiTimeTable.nextTimeEvent := if runSig.combiTimeTable.nextTimeEventScaled < 1e60 then runSig.combiTimeTable.nextTimeEventScaled else 1e60 (6) [----] end when; (7) [SCAL] (1) transition1.outPort.set = $SEV_17 ($RES_SIM_93) (8) [SCAL] (1) transition1.localCondition = $SEV_11 ($RES_SIM_59) (9) [SCAL] (1) $SEV_0 = mWat_flow.k > minWatFlo.k ($RES_EVT_170) (10) [SCAL] (1) $SEV_1 = (not transition1.localCondition and transition4.inPort.available) and not transition4.outPort.occupied ($RES_EVT_171) (11) [SCAL] (1) pumOn.outerStatePort.subgraphStatePort.activeSteps + off.outerStatePort.subgraphStatePort.activeSteps + stateGraphRoot.subgraphStatePort.activeSteps + staBy.outerStatePort.subgraphStatePort.activeSteps = 0.0 ($RES_SIM_99) (12) [SCAL] (1) $SEV_2 = (transition3.localCondition and transition3.inPort.available) and not transition3.outPort.occupied ($RES_EVT_172) (13) [SCAL] (1) $SEV_3 = transition3.enableFire and time >= ((time - transition3.t_dummy) + transition3.waitTime) ($RES_EVT_173) (14) [FOR-] (2) ($RES_EVT_174) (14) [----] for $i1 in 1:2 loop (14) [----] [SCAL] (1) $SEV_4[$i1] = $i1 == 1 ($RES_EVT_175) (14) [----] end for; (15) [FOR-] (2) ($RES_EVT_176) (15) [----] for $i1 in 1:2 loop (15) [----] [SCAL] (1) $SEV_5[$i1] = off.inPort[$i1 - 1].occupied or off.inPort[$i1 - 1].set ($RES_EVT_177) (15) [----] end for; (16) [SCAL] (1) $SEV_6 = $FUN_5 or off.outerStatePort.localActive and not $FUN_6 ($RES_EVT_178) (17) [SCAL] (1) staBy.outPort[2].reset = transition4.outPort.set ($RES_SIM_100) (18) [SCAL] (1) staBy.outPort[2].available = transition4.inPort.available ($RES_SIM_101) (19) [SCAL] (1) transition3.localCondition = $SEV_0 ($RES_SIM_20) (20) [SCAL] (1) transition1.outPort.set = staBy.inPort[1].set ($RES_SIM_102) (21) [SCAL] (1) transition1.outPort.occupied = staBy.inPort[1].occupied ($RES_SIM_103) (22) [SCAL] (1) staBy.outPort[1].reset = transition2.outPort.set ($RES_SIM_104) (23) [SCAL] (1) staBy.outPort[1].available = transition2.inPort.available ($RES_SIM_105) (24) [SCAL] (1) transition4.outPort.set = $SEV_1 ($RES_SIM_24) (25) [SCAL] (1) transition2.outPort.set = pumOn.inPort[1].set ($RES_SIM_106) (26) [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_14) ($RES_SIM_60) (27) [SCAL] (1) transition2.outPort.occupied = pumOn.inPort[1].occupied ($RES_SIM_107) (28) [WHEN] (1)when {$SEV_12, initial()} then (28) [----] avaSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(avaSig.combiTimeTable.tableID, time) (28) [----] end when; (29) [SCAL] (1) pumOn.outPort[1].reset = transition3.outPort.set ($RES_SIM_108) (30) [WHEN] (1)when {$SEV_12, initial()} then (30) [----] avaSig.combiTimeTable.nextTimeEvent := if avaSig.combiTimeTable.nextTimeEventScaled < 1e60 then avaSig.combiTimeTable.nextTimeEventScaled else 1e60 (30) [----] end when; (31) [SCAL] (1) pumOn.outPort[1].available = transition3.inPort.available ($RES_SIM_109) (32) [SCAL] (1) pumOn.outPort[1].reset = false ($RES_SIM_64) (33) [SCAL] (1) pumOn.inPort[1].set = false ($RES_SIM_65) (34) [SCAL] (1) pumOn.outPort[1].available = pumOn.outerStatePort.localActive ($RES_SIM_66) (35) [SCAL] (1) pumOn.inPort[1].occupied = pumOn.outerStatePort.localActive ($RES_SIM_67) (36) [WHEN] (1)when false then (36) [----] pumOn.oldActive := pumOn.outerStatePort.localActive (36) [----] end when; (37) [SCAL] (1) pumOn.newActive = $SEV_13 ($RES_SIM_69) (38) [SCAL] (1) $SEV_8 = runSig.realToBoolean.u >= runSig.realToBoolean.threshold ($RES_EVT_180) (39) [SCAL] (1) $SEV_9 = time >= $PRE.runSig.combiTimeTable.nextTimeEvent ($RES_EVT_181) (40) [SCAL] (1) $SEV_11 = avaSig.realToBoolean.u >= avaSig.realToBoolean.threshold ($RES_EVT_183) (41) [SCAL] (1) $SEV_12 = time >= $PRE.avaSig.combiTimeTable.nextTimeEvent ($RES_EVT_184) (42) [SCAL] (1) $SEV_13 = $FUN_3 or pumOn.outerStatePort.localActive and not $FUN_4 ($RES_EVT_185) (43) [FOR-] (2) ($RES_EVT_186) (43) [----] for $i1 in 1:2 loop (43) [----] [SCAL] (1) $SEV_14[$i1] = staBy.outPort[$i1 - 1].available and not staBy.outPort[$i1 - 1].reset ($RES_EVT_187) (43) [----] end for; (44) [SCAL] (1) $SEV_15 = $FUN_1 or staBy.outerStatePort.localActive and not $FUN_2 ($RES_EVT_188) (45) [SCAL] (1) $SEV_16 = (transition2.localCondition and transition2.inPort.available) and not transition2.outPort.occupied ($RES_EVT_189) (46) [SCAL] (1) transition3.enableFire = $SEV_2 ($RES_SIM_31) (47) [SCAL] (1) transition3.outPort.set = $SEV_3 ($RES_SIM_32) (48) [SCAL] (1) transition3.t = if transition3.enableFire then transition3.t_dummy else 0.0 ($RES_SIM_33) (49) [SCAL] (1) transition3.outPort.set = off.inPort[2].set ($RES_SIM_117) (50) [SCAL] (1) pumOn.outerStatePort.localActive = $TEV_7 ($RES_SIM_70) (51) [WHEN] (1)when transition3.enableFire then (51) [----] time - transition3.t_dummy := time (51) [----] end when; (52) [SCAL] (1) transition3.outPort.occupied = off.inPort[2].occupied ($RES_SIM_118) (53) [SCAL] (1) transition4.outPort.set = off.inPort[1].set ($RES_SIM_119) (54) [SCAL] (1) pumOn.outerStatePort.subgraphStatePort.activeSteps = if pumOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_72) (55) [FOR-] (2) ($RES_SIM_73) (55) [----] for $i1 in 1:2 loop (55) [----] [SCAL] (1) staBy.outPort[$i1].reset = false ($RES_SIM_74) (55) [----] end for; (56) [SCAL] (1) stateGraphRoot.activeSteps = -integer(stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_39) (57) [SCAL] (1) staBy.inPort[1].set = false ($RES_SIM_75) (58) [FOR-] (2) ($RES_SIM_76) (58) [----] for $i1 in 1:2 loop (58) [----] [SCAL] (1) staBy.outPort[$i1].available = if $SEV_4[$i1] then staBy.outerStatePort.localActive else $SEV_14[$i1] ($RES_SIM_77) (58) [----] end for; (59) [SCAL] (1) staBy.inPort[1].occupied = staBy.outerStatePort.localActive ($RES_SIM_78) (60) [WHEN] (1)when false then (60) [----] staBy.oldActive := staBy.outerStatePort.localActive (60) [----] end when; (61) [SCAL] (1) $SEV_17 = (transition1.localCondition and transition1.inPort.available) and not transition1.outPort.occupied ($RES_EVT_190) (62) [SCAL] (1) $TEV_0 = $PRE.transition4.outPort.set ($RES_EVT_155) (63) [SCAL] (1) $TEV_1 = $PRE.transition3.enableFire ($RES_EVT_156) (64) [SCAL] (1) $TEV_2 = $PRE.off.oldActive ($RES_EVT_157) (65) [SCAL] (1) $TEV_3 = $PRE.off.outerStatePort.localActive ($RES_EVT_158) (66) [SCAL] (1) $TEV_4 = $PRE.off.newActive ($RES_EVT_159) (67) [SCAL] (1) transition4.outPort.occupied = off.inPort[1].occupied ($RES_SIM_120) (68) [SCAL] (1) transition1.outPort.set = off.outPort[1].reset ($RES_SIM_121) (69) [SCAL] (1) off.outPort[1].reset = false ($RES_SIM_40) (70) [SCAL] (1) transition1.inPort.available = off.outPort[1].available ($RES_SIM_122) (71) [FOR-] (2) ($RES_SIM_41) (71) [----] for $i1 in 1:2 loop (71) [----] [SCAL] (1) off.inPort[$i1].set = false ($RES_SIM_42) (71) [----] end for; (72) [SCAL] (1) $FUN_1 = Modelica.StateGraph.Temporary.anyTrue(staBy.inPort.set) ($RES_$AUX_153) (73) [SCAL] (1) $FUN_2 = Modelica.StateGraph.Temporary.anyTrue(staBy.outPort.reset) ($RES_$AUX_152) (74) [SCAL] (1) off.outPort[1].available = off.outerStatePort.localActive ($RES_SIM_43) (75) [SCAL] (1) $FUN_3 = Modelica.StateGraph.Temporary.anyTrue(pumOn.inPort.set) ($RES_$AUX_151) (76) [FOR-] (2) ($RES_SIM_44) (76) [----] for $i1 in 1:2 loop (76) [----] [SCAL] (1) off.inPort[$i1].occupied = if $SEV_4[$i1] then off.outerStatePort.localActive else $SEV_5[$i1] ($RES_SIM_45) (76) [----] end for; (77) [SCAL] (1) $FUN_4 = Modelica.StateGraph.Temporary.anyTrue(pumOn.outPort.reset) ($RES_$AUX_150) (78) [SCAL] (1) staBy.newActive = $SEV_15 ($RES_SIM_80) (79) [SCAL] (1) runSig.combiTimeTable.y[1] = runSig.realToBoolean.u ($RES_SIM_127) (80) [SCAL] (1) staBy.outerStatePort.localActive = $TEV_10 ($RES_SIM_81) (81) [WHEN] (1)when false then (81) [----] off.oldActive := off.outerStatePort.localActive (81) [----] end when; (82) [SCAL] (1) off.newActive = $SEV_6 ($RES_SIM_47) (83) [SCAL] (1) avaSig.combiTimeTable.y[1] = avaSig.realToBoolean.u ($RES_SIM_129) (84) [SCAL] (1) staBy.outerStatePort.subgraphStatePort.activeSteps = if staBy.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_83) (85) [SCAL] (1) off.outerStatePort.localActive = $TEV_4 ($RES_SIM_48) (86) [SCAL] (1) transition2.outPort.set = $SEV_16 ($RES_SIM_86) (87) [SCAL] (1) $TEV_5 = $PRE.pumOn.oldActive ($RES_EVT_160) (88) [SCAL] (1) $TEV_6 = $PRE.pumOn.outerStatePort.localActive ($RES_EVT_161) (89) [SCAL] (1) $TEV_7 = $PRE.pumOn.newActive ($RES_EVT_162) (90) [SCAL] (1) $TEV_8 = $PRE.staBy.oldActive ($RES_EVT_163) (91) [SCAL] (1) $TEV_9 = $PRE.staBy.outerStatePort.localActive ($RES_EVT_164) (92) [SCAL] (1) $TEV_10 = $PRE.staBy.newActive ($RES_EVT_165) (93) [SCAL] (1) $TEV_11 = $PRE.transition2.outPort.set ($RES_EVT_166) (94) [SCAL] (1) $TEV_12 = $PRE.transition1.outPort.set ($RES_EVT_167) (95) [SCAL] (1) $TEV_13 = $PRE.runSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_168) (96) [SCAL] (1) $TEV_14 = $PRE.avaSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_169) (97) [SCAL] (1) $FUN_5 = Modelica.StateGraph.Temporary.anyTrue(off.inPort.set) ($RES_$AUX_149) (98) [SCAL] (1) $FUN_6 = Modelica.StateGraph.Temporary.anyTrue(off.outPort.reset) ($RES_$AUX_148) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 72 var 2 --> eqn 20 var 3 --> eqn 74 var 4 --> eqn 54 var 5 --> eqn 11 var 6 --> eqn 37 var 7 --> eqn 34 var 8 --> eqn 30 var 9 --> eqn 82 var 10 --> eqn 83 var 11 --> eqn 3 var 12 --> eqn 55 var 13 --> eqn 45 var 14 --> eqn 46 var 15 --> eqn 28 var 16 --> eqn 56 var 17 --> eqn 52 var 18 --> eqn 105 var 19 --> eqn 87 var 20 --> eqn 104 var 21 --> eqn 51 var 22 --> eqn 84 var 23 --> eqn 36 var 24 --> eqn 81 var 25 --> eqn 79 var 26 --> eqn 78 var 27 --> eqn 57 var 28 --> eqn 6 var 29 --> eqn 53 var 30 --> eqn 29 var 31 --> eqn 1 var 32 --> eqn 35 var 33 --> eqn 60 var 34 --> eqn 73 var 35 --> eqn 64 var 36 --> eqn 27 var 37 --> eqn 25 var 38 --> eqn 31 var 39 --> eqn 7 var 40 --> eqn 48 var 41 --> eqn 26 var 42 --> eqn 24 var 43 --> eqn 19 var 44 --> eqn 47 var 45 --> eqn 32 var 46 --> eqn 44 var 47 --> eqn 90 var 48 --> eqn 43 var 49 --> eqn 42 var 50 --> eqn 16 var 51 --> eqn 17 var 52 --> eqn 8 var 53 --> eqn 86 var 54 --> eqn 4 var 55 --> eqn 92 var 56 --> eqn 38 var 57 --> eqn 5 var 58 --> eqn 22 var 59 --> eqn 88 var 60 --> eqn 75 var 61 --> eqn 23 var 62 --> eqn 41 var 63 --> eqn 40 var 64 --> eqn 49 var 65 --> eqn 18 var 66 --> eqn 39 var 67 --> eqn 2 var 68 --> eqn 98 var 69 --> eqn 13 var 70 --> eqn 97 var 71 --> eqn 89 var 72 --> eqn 85 var 73 --> eqn 33 var 74 --> eqn 12 var 75 --> eqn 96 var 76 --> eqn 62 var 77 --> eqn 63 var 78 --> eqn 10 var 79 --> eqn 95 var 80 --> eqn 9 var 81 --> eqn 94 var 82 --> eqn 71 var 83 --> eqn 91 var 84 --> eqn 70 var 85 --> eqn 69 var 86 --> eqn 68 var 87 --> eqn 67 var 88 --> eqn 65 var 89 --> eqn 103 var 90 --> eqn 102 var 91 --> eqn 101 var 92 --> eqn 14 var 93 --> eqn 15 var 94 --> eqn 100 var 95 --> eqn 99 var 96 --> eqn 21 var 97 --> eqn 80 equation to variable ********************** eqn 1 --> var 31 eqn 2 --> var 67 eqn 3 --> var 11 eqn 4 --> var 54 eqn 5 --> var 57 eqn 6 --> var 28 eqn 7 --> var 39 eqn 8 --> var 52 eqn 9 --> var 80 eqn 10 --> var 78 eqn 11 --> var 5 eqn 12 --> var 74 eqn 13 --> var 69 eqn 14 --> var 92 eqn 15 --> var 93 eqn 16 --> var 50 eqn 17 --> var 51 eqn 18 --> var 65 eqn 19 --> var 43 eqn 20 --> var 2 eqn 21 --> var 96 eqn 22 --> var 58 eqn 23 --> var 61 eqn 24 --> var 42 eqn 25 --> var 37 eqn 26 --> var 41 eqn 27 --> var 36 eqn 28 --> var 15 eqn 29 --> var 30 eqn 30 --> var 8 eqn 31 --> var 38 eqn 32 --> var 45 eqn 33 --> var 73 eqn 34 --> var 7 eqn 35 --> var 32 eqn 36 --> var 23 eqn 37 --> var 6 eqn 38 --> var 56 eqn 39 --> var 66 eqn 40 --> var 63 eqn 41 --> var 62 eqn 42 --> var 49 eqn 43 --> var 48 eqn 44 --> var 46 eqn 45 --> var 13 eqn 46 --> var 14 eqn 47 --> var 44 eqn 48 --> var 40 eqn 49 --> var 64 eqn 50 --> var -1 eqn 51 --> var 21 eqn 52 --> var 17 eqn 53 --> var 29 eqn 54 --> var 4 eqn 55 --> var 12 eqn 56 --> var 16 eqn 57 --> var 27 eqn 58 --> var -1 eqn 59 --> var -1 eqn 60 --> var 33 eqn 61 --> var -1 eqn 62 --> var 76 eqn 63 --> var 77 eqn 64 --> var 35 eqn 65 --> var 88 eqn 66 --> var -1 eqn 67 --> var 87 eqn 68 --> var 86 eqn 69 --> var 85 eqn 70 --> var 84 eqn 71 --> var 82 eqn 72 --> var 1 eqn 73 --> var 34 eqn 74 --> var 3 eqn 75 --> var 60 eqn 76 --> var -1 eqn 77 --> var -1 eqn 78 --> var 26 eqn 79 --> var 25 eqn 80 --> var 97 eqn 81 --> var 24 eqn 82 --> var 9 eqn 83 --> var 10 eqn 84 --> var 22 eqn 85 --> var 72 eqn 86 --> var 53 eqn 87 --> var 19 eqn 88 --> var 59 eqn 89 --> var 71 eqn 90 --> var 47 eqn 91 --> var 83 eqn 92 --> var 55 eqn 93 --> var -1 eqn 94 --> var 81 eqn 95 --> var 79 eqn 96 --> var 75 eqn 97 --> var 70 eqn 98 --> var 68 eqn 99 --> var 95 eqn 100 --> var 94 eqn 101 --> var 91 eqn 102 --> var 90 eqn 103 --> var 89 eqn 104 --> var 20 eqn 105 --> var 18