1 appendix c ... a n d t h e i r o u t p u t s -------------------- program 0 output -------------------- (empty file) 1 ... a n d t h e i r o u t p u t s page c-2 -------------------- program 1 output -------------------- clock time = 0.000 ********************************************************************** * * * t r a c i n g c o m m e n c e s * * * ********************************************************************** time/ current and its action(s) 0.000 demos schedules boat 1 now schedules boat 2 at 1.000 schedules boat 3 at 15.000 holds for 36.000, until 36.000 boat 1 seizes 1 of jetties seizes 2 of tugs holds for 2.000, until 2.000 1.000 boat 2 seizes 1 of jetties awaits 2 of tugs 2.000 boat 1 releases 2 to tugs holds for 14.000, until 16.000 boat 2 seizes 2 of tugs holds for 2.000, until 4.000 4.000 releases 2 to tugs holds for 14.000, until 18.000 15.000 boat 3 awaits 1 of jetties 16.000 boat 1 seizes 1 of tugs holds for 2.000, until 18.000 18.000 boat 2 seizes 1 of tugs holds for 2.000, until 20.000 boat 1 releases 1 to tugs releases 1 to jetties ***terminates boat 3 seizes 1 of jetties seizes 2 of tugs holds for 2.000, until 20.000 20.000 boat 2 releases 1 to tugs releases 1 to jetties ***terminates boat 3 releases 2 to tugs holds for 14.000, until 34.000 34.000 seizes 1 of tugs holds for 2.000, until 36.000 1 ... a n d t h e i r o u t p u t s page c-3 clock time = 36.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax tugs 0.000 5 3 0 2 16.667 0.167 1 jetties 0.000 2 2 0 1 76.389 1.000 1 1 ... a n d t h e i r o u t p u t s page c-4 -------------------- program 2 output -------------------- clock time = 0.000 ********************************************************************** * * * t r a c i n g c o m m e n c e s * * * ********************************************************************** time/ current and its action(s) 0.000 demos schedules boat 1 now holds for 50.000, until 50.000 boat 1 schedules boat 2 at 26.574 seizes 1 of jetties seizes 2 of tugs holds for 2.000, until 2.000 2.000 releases 2 to tugs holds for 16.385, until 18.385 18.385 seizes 1 of tugs holds for 2.000, until 20.385 20.385 releases 1 to tugs releases 1 to jetties ***terminates 26.574 boat 2 schedules boat 3 at 33.116 seizes 1 of jetties seizes 2 of tugs holds for 2.000, until 28.574 28.574 releases 2 to tugs holds for 14.724, until 43.298 33.116 boat 3 schedules boat 4 at 41.836 seizes 1 of jetties seizes 2 of tugs holds for 2.000, until 35.116 35.116 releases 2 to tugs holds for 16.287, until 51.403 41.836 boat 4 schedules boat 5 at 56.849 awaits 1 of jetties 43.298 boat 2 seizes 1 of tugs holds for 2.000, until 45.298 45.298 releases 1 to tugs releases 1 to jetties ***terminates boat 4 seizes 1 of jetties seizes 2 of tugs holds for 2.000, until 47.298 47.298 releases 2 to tugs holds for 14.441, until 61.739 clock time = 50.000 ********************************************************************** * * * t r a c i n g s w i t c h e d o f f * * * ********************************************************************** 1 ... a n d t h e i r o u t p u t s page c-5 clock time = 672.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed next boat 0.000 64 negexp 0.100 33427485 discharge 0.000 58 normal 14.000 3.000 22276755 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax tugs 0.000 114 3 0 3 17.063 2.854e-02 1 jetties 0.000 56 2 0 0 78.566 5.498 6 1 ... a n d t h e i r o u t p u t s page c-6 -------------------- program 3 output -------------------- clock time = 0.000 ********************************************************************** * * * t r a c i n g c o m m e n c e s * * * ********************************************************************** time/ current and its action(s) 0.000 demos schedules boat 1 now holds for 50.000, until 50.000 boat 1 schedules boat 2 at 26.574 seizes 2 of tugs seizes 1 of jetties holds for 2.000, until 2.000 2.000 releases 2 to tugs holds for 16.385, until 18.385 18.385 seizes 1 of tugs holds for 2.000, until 20.385 20.385 releases 1 to tugs releases 1 to jetties ***terminates 26.574 boat 2 schedules boat 3 at 33.116 seizes 2 of tugs seizes 1 of jetties holds for 2.000, until 28.574 28.574 releases 2 to tugs holds for 14.724, until 43.298 33.116 boat 3 schedules boat 4 at 41.836 seizes 2 of tugs seizes 1 of jetties holds for 2.000, until 35.116 35.116 releases 2 to tugs holds for 16.287, until 51.403 41.836 boat 4 schedules boat 5 at 56.849 seizes 2 of tugs awaits 1 of jetties 43.298 boat 2 seizes 1 of tugs holds for 2.000, until 45.298 45.298 releases 1 to tugs releases 1 to jetties ***terminates boat 4 seizes 1 of jetties holds for 2.000, until 47.298 47.298 releases 2 to tugs holds for 14.441, until 61.739 clock time = 50.000 ********************************************************************** * * * t r a c i n g s w i t c h e d o f f * * * ********************************************************************** 1 ... a n d t h e i r o u t p u t s page c-7 clock time = 672.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed next boat 0.000 64 negexp 0.100 33427485 discharge 0.000 10 normal 14.000 3.000 22276755 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax tugs 0.000 18 3 0 1 60.654 0.111 55 jetties 0.000 8 2 0 0 96.787 0.862 1 1 ... a n d t h e i r o u t p u t s page c-8 -------------------- program 4 output -------------------- clock time = 0.000 ********************************************************************** * * * t r a c i n g c o m m e n c e s * * * ********************************************************************** time/ current and its action(s) 0.000 demos schedules r 1 now schedules w 1 now schedules r 2 now schedules r 3 at 2.000 schedules w 2 at 1.000 holds for 25.000, until 25.000 r 1 seizes 1 of file holds for 2.000, until 2.000 w 1 holds for 5.000, until 5.000 r 2 seizes 1 of file holds for 2.000, until 2.000 1.000 w 2 holds for 5.000, until 6.000 2.000 r 3 seizes 1 of file holds for 2.000, until 4.000 r 1 releases 1 to file holds for 5.000, until 7.000 r 2 releases 1 to file holds for 5.000, until 7.000 4.000 r 3 releases 1 to file holds for 5.000, until 9.000 5.000 w 1 seizes 3 of file holds for 3.000, until 8.000 6.000 w 2 awaits 3 of file 7.000 r 1 awaits 1 of file r 2 awaits 1 of file 8.000 w 1 releases 3 to file holds for 5.000, until 13.000 w 2 seizes 3 of file holds for 3.000, until 11.000 9.000 r 3 awaits 1 of file 11.000 w 2 releases 3 to file holds for 5.000, until 16.000 r 1 seizes 1 of file holds for 2.000, until 13.000 r 2 seizes 1 of file holds for 2.000, until 13.000 r 3 seizes 1 of file holds for 2.000, until 13.000 13.000 w 1 awaits 3 of file r 1 releases 1 to file holds for 5.000, until 18.000 r 2 releases 1 to file holds for 5.000, until 18.000 r 3 releases 1 to file 1 ... a n d t h e i r o u t p u t s page c-9 holds for 5.000, until 18.000 w 1 seizes 3 of file holds for 3.000, until 16.000 16.000 w 2 awaits 3 of file w 1 releases 3 to file holds for 5.000, until 21.000 w 2 seizes 3 of file holds for 3.000, until 19.000 18.000 r 1 awaits 1 of file r 2 awaits 1 of file r 3 awaits 1 of file 19.000 w 2 releases 3 to file holds for 5.000, until 24.000 r 1 seizes 1 of file holds for 2.000, until 21.000 r 2 seizes 1 of file holds for 2.000, until 21.000 r 3 seizes 1 of file holds for 2.000, until 21.000 21.000 w 1 awaits 3 of file r 1 releases 1 to file holds for 5.000, until 26.000 r 2 releases 1 to file holds for 5.000, until 26.000 r 3 releases 1 to file holds for 5.000, until 26.000 w 1 seizes 3 of file holds for 3.000, until 24.000 24.000 w 2 awaits 3 of file w 1 releases 3 to file holds for 5.000, until 29.000 w 2 seizes 3 of file holds for 3.000, until 27.000 clock time = 25.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** c o u n t s *********** title / (re)set/ obs reads 0.000 9 writes 0.000 5 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax 1 ... a n d t h e i r o u t p u t s page c-10 file 0.000 14 3 0 0 88.000 1.000 3 1 ... a n d t h e i r o u t p u t s page c-11 -------------------- program 5 output -------------------- clock time = 0.000 ********************************************************************** * * * t r a c i n g c o m m e n c e s * * * ********************************************************************** time/ current and its action(s) 0.000 demos schedules r 1 now schedules w 1 now schedules r 2 now schedules r 3 at 2.000 schedules w 2 at 1.000 holds for 25.000, until 25.000 r 1 seizes 1 of file holds for 2.000, until 2.000 w 1 holds for 5.000, until 5.000 r 2 seizes 1 of file holds for 2.000, until 2.000 1.000 w 2 holds for 5.000, until 6.000 2.000 r 3 seizes 1 of file holds for 2.000, until 4.000 r 1 releases 1 to file holds for 5.000, until 7.000 r 2 releases 1 to file holds for 5.000, until 7.000 4.000 r 3 releases 1 to file holds for 5.000, until 9.000 5.000 w 1 seizes 3 of file holds for 3.000, until 8.000 6.000 w 2 awaits 3 of file 7.000 r 1 awaits 1 of file r 2 awaits 1 of file 8.000 w 1 releases 3 to file holds for 5.000, until 13.000 r 1 seizes 1 of file holds for 2.000, until 10.000 r 2 seizes 1 of file holds for 2.000, until 10.000 9.000 r 3 seizes 1 of file holds for 2.000, until 11.000 10.000 r 1 releases 1 to file holds for 5.000, until 15.000 r 2 releases 1 to file holds for 5.000, until 15.000 11.000 r 3 releases 1 to file holds for 5.000, until 16.000 w 2 seizes 3 of file holds for 3.000, until 14.000 13.000 w 1 awaits 3 of file 14.000 w 2 releases 3 to file 1 ... a n d t h e i r o u t p u t s page c-12 holds for 5.000, until 19.000 w 1 seizes 3 of file holds for 3.000, until 17.000 15.000 r 1 awaits 1 of file r 2 awaits 1 of file 16.000 r 3 awaits 1 of file 17.000 w 1 releases 3 to file holds for 5.000, until 22.000 r 1 seizes 1 of file holds for 2.000, until 19.000 r 2 seizes 1 of file holds for 2.000, until 19.000 r 3 seizes 1 of file holds for 2.000, until 19.000 19.000 w 2 awaits 3 of file r 1 releases 1 to file holds for 5.000, until 24.000 r 2 releases 1 to file holds for 5.000, until 24.000 r 3 releases 1 to file holds for 5.000, until 24.000 w 2 seizes 3 of file holds for 3.000, until 22.000 22.000 w 1 awaits 3 of file w 2 releases 3 to file holds for 5.000, until 27.000 w 1 seizes 3 of file holds for 3.000, until 25.000 24.000 r 1 awaits 1 of file r 2 awaits 1 of file r 3 awaits 1 of file clock time = 25.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** c o u n t s *********** title / (re)set/ obs reads 0.000 9 writes 0.000 4 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax file 0.000 13 3 0 0 84.000 0.929 3 1 ... a n d t h e i r o u t p u t s page c-13 -------------------- program 6 output -------------------- clock time = 1315.296 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed mainland 420.000 133 negexp 0.150 33427485 island 420.000 146 negexp 0.150 22276755 crossing 420.000 78 normal 8.000 0.500 46847980 c o u n t s *********** title / (re)set/ obs trips 420.000 39 empty trips 420.000 2 t a l l i e s ************* title / (re)set/ obs/ average/est.st.dv/ minimum/ maximum av. load 420.000 78 3.487 1.634 0.000 6.000 b i n s ******* title / (re)set/ obs/init/ max/ now/ av. free/ av. wait/qmax mainland 420.000 132 3 6 2 1.678 0.000 1 island 420.000 145 1 7 7 1.705 0.000 1 shutdown 420.000 1 0 1 0 0.000 895.296 1 1 ... a n d t h e i r o u t p u t s page c-14 -------------------- program 7 output -------------------- clock time = 60.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed arr 0.000 300 negexp 5.000 33427485 terminals 0.000 300 randint 1 6 22276755 key in 0.000 260 uniform 0.300 0.500 46847980 process 0.000 257 uniform 5.000e-02 0.100 43859043 read 0.000 257 uniform 0.600 0.800 64042082 h i s t o g r a m s ******************* s u m m a r y title / (re)set/ obs/ average/est.st.dv/ minimum/ maximum thru times 0.000 254 4.392 3.347 1.080 17.292 cell/lower lim/ n/ freq/ cum % i------------------------------ 0 -infinity 0 0.00 0.00 i 1 1.000 73 0.29 28.74 i****************************** 2 2.000 44 0.17 46.06 i****************** 3 3.000 29 0.11 57.48 i************ 4 4.000 25 0.10 67.32 i********** 5 5.000 21 0.08 75.59 i********* 6 6.000 15 0.06 81.50 i****** 7 7.000 11 0.04 85.83 i***** 8 8.000 7 0.03 88.58 i*** 9 9.000 11 0.04 92.91 i***** 10 10.000 3 0.01 94.09 i* 11 11.000 15 0.06 100.00 i****** i------------------------------ 1 ... a n d t h e i r o u t p u t s page c-15 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax terminal 1 0.000 40 1 0 0 83.549 4.323 15 terminal 2 0.000 45 1 0 0 96.128 6.677 18 terminal 3 0.000 45 1 0 0 94.530 1.851 4 terminal 4 0.000 42 1 0 0 89.087 2.133 6 terminal 5 0.000 38 1 0 0 78.368 0.652 3 terminal 6 0.000 44 1 0 0 89.604 3.323 7 b i n s ******* title / (re)set/ obs/init/ max/ now/ av. free/ av. wait/qmax buffers 0.000 257 3 3 3 2.457 0.000 1 w a i t q u e u e s ********************* title / (re)set/ obs/ qmax/ qnow/ q average/zeros/ av. wait request 1 0.000 41 1 0 0.000 41 0.000 request 1 * 0.000 41 1 0 1.017e-02 0 1.488e-02 request 2 0.000 46 1 0 0.000 46 0.000 request 2 * 0.000 46 1 0 1.672e-02 0 2.181e-02 request 3 0.000 45 1 0 0.000 45 0.000 request 3 * 0.000 45 1 0 1.711e-02 0 2.281e-02 request 4 0.000 43 1 0 0.000 43 0.000 request 4 * 0.000 43 1 0 1.276e-02 0 1.780e-02 request 5 0.000 38 1 0 0.000 38 0.000 request 5 * 0.000 38 1 0 1.226e-02 0 1.936e-02 request 6 0.000 44 1 0 0.000 44 0.000 request 6 * 0.000 44 1 0 1.368e-02 0 1.866e-02 1 ... a n d t h e i r o u t p u t s page c-16 -------------------- program 8 output -------------------- clock time = 0.000 ********************************************************************** * * * t r a c i n g c o m m e n c e s * * * ********************************************************************** time/ current and its action(s) 0.000 demos schedules tide 1 at 1.000 schedules boat 1 now holds for 50.000, until 50.000 boat 1 schedules boat 2 at 26.574 seizes 1 of jetties seizes 2 of tugs holds for 2.000, until 2.000 1.000 tide 1 holds for 4.000, until 5.000 2.000 boat 1 releases 2 to tugs signals dockq holds for 16.385, until 18.385 5.000 tide 1 signals dockq holds for 9.000, until 14.000 14.000 holds for 4.000, until 18.000 18.000 signals dockq holds for 9.000, until 27.000 18.385 boat 1 seizes 1 of tugs holds for 2.000, until 20.385 20.385 releases 1 to tugs releases 1 to jetties signals dockq ***terminates 26.574 boat 2 schedules boat 3 at 33.116 seizes 1 of jetties seizes 2 of tugs holds for 2.000, until 28.574 27.000 tide 1 holds for 4.000, until 31.000 28.574 boat 2 releases 2 to tugs signals dockq holds for 14.724, until 43.298 31.000 tide 1 signals dockq holds for 9.000, until 40.000 33.116 boat 3 schedules boat 4 at 41.836 seizes 1 of jetties seizes 2 of tugs holds for 2.000, until 35.116 35.116 releases 2 to tugs signals dockq holds for 16.287, until 51.403 40.000 tide 1 holds for 4.000, until 44.000 41.836 boat 4 schedules boat 5 at 56.849 awaits 1 of jetties 43.298 boat 2 seizes 1 of tugs 1 ... a n d t h e i r o u t p u t s page c-17 holds for 2.000, until 45.298 44.000 tide 1 signals dockq holds for 9.000, until 53.000 45.298 boat 2 releases 1 to tugs releases 1 to jetties signals dockq ***terminates boat 4 seizes 1 of jetties seizes 2 of tugs holds for 2.000, until 47.298 47.298 releases 2 to tugs signals dockq holds for 14.441, until 61.739 clock time = 50.000 ********************************************************************** * * * t r a c i n g s w i t c h e d o f f * * * ********************************************************************** clock time = 672.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed next boat 0.000 64 negexp 0.100 33427485 discharge 0.000 58 normal 14.000 3.000 22276755 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax tugs 0.000 114 3 0 3 17.063 0.000 1 jetties 0.000 56 2 0 0 81.396 6.343 7 c o n d i t i o n q u e u e s ******************************* title / (re)set/ obs/ qmax/ qnow/ q average/zeros/ av. wait dockq 0.000 58 2 0 7.683e-02 36 0.890 1 ... a n d t h e i r o u t p u t s page c-18 -------------------- program 9 output -------------------- clock time = 0.000 ********************************************************************** * * * t r a c i n g c o m m e n c e s * * * ********************************************************************** time/ current and its action(s) 0.000 demos schedules p 1 now schedules p 2 now schedules p 3 now schedules p 4 now schedules p 5 now holds for 180.000, until 180.000 p 1 holds for 20.000, until 20.000 p 2 holds for 25.000, until 25.000 p 3 holds for 24.000, until 24.000 p 4 holds for 22.000, until 22.000 p 5 holds for 26.000, until 26.000 20.000 p 1 seizes 1 of fork 1 seizes 1 of fork 2 holds for 17.000, until 37.000 22.000 p 4 seizes 1 of fork 4 seizes 1 of fork 5 holds for 12.000, until 34.000 24.000 p 3 w'until in await eat 25.000 p 2 w'until in await eat 26.000 p 5 w'until in await eat 34.000 p 4 releases 1 to fork 4 releases 1 to fork 5 signals await eat holds for 23.000, until 57.000 p 3 leaves await eat seizes 1 of fork 3 seizes 1 of fork 4 holds for 18.000, until 52.000 37.000 p 1 releases 1 to fork 1 releases 1 to fork 2 signals await eat holds for 27.000, until 64.000 p 5 leaves await eat seizes 1 of fork 5 seizes 1 of fork 1 holds for 12.000, until 49.000 49.000 releases 1 to fork 5 releases 1 to fork 1 signals await eat holds for 23.000, until 72.000 52.000 p 3 releases 1 to fork 3 releases 1 to fork 4 signals await eat 1 ... a n d t h e i r o u t p u t s page c-19 holds for 25.000, until 77.000 p 2 leaves await eat seizes 1 of fork 2 seizes 1 of fork 3 holds for 15.000, until 67.000 57.000 p 4 seizes 1 of fork 4 seizes 1 of fork 5 holds for 16.000, until 73.000 64.000 p 1 w'until in await eat 67.000 p 2 releases 1 to fork 2 releases 1 to fork 3 signals await eat holds for 30.000, until 97.000 p 1 leaves await eat seizes 1 of fork 1 seizes 1 of fork 2 holds for 18.000, until 85.000 72.000 p 5 w'until in await eat 73.000 p 4 releases 1 to fork 4 releases 1 to fork 5 signals await eat holds for 25.000, until 98.000 77.000 p 3 seizes 1 of fork 3 seizes 1 of fork 4 holds for 17.000, until 94.000 85.000 p 1 releases 1 to fork 1 releases 1 to fork 2 signals await eat holds for 30.000, until 115.000 p 5 leaves await eat seizes 1 of fork 5 seizes 1 of fork 1 holds for 15.000, until 100.000 94.000 p 3 releases 1 to fork 3 releases 1 to fork 4 signals await eat holds for 23.000, until 117.000 97.000 p 2 seizes 1 of fork 2 seizes 1 of fork 3 holds for 19.000, until 116.000 98.000 p 4 w'until in await eat 100.000 p 5 releases 1 to fork 5 releases 1 to fork 1 signals await eat holds for 25.000, until 125.000 p 4 leaves await eat seizes 1 of fork 4 seizes 1 of fork 5 holds for 13.000, until 113.000 113.000 releases 1 to fork 4 releases 1 to fork 5 signals await eat holds for 22.000, until 135.000 115.000 p 1 w'until in await eat 116.000 p 2 releases 1 to fork 2 1 ... a n d t h e i r o u t p u t s page c-20 releases 1 to fork 3 signals await eat holds for 21.000, until 137.000 p 1 leaves await eat seizes 1 of fork 1 seizes 1 of fork 2 holds for 11.000, until 127.000 117.000 p 3 seizes 1 of fork 3 seizes 1 of fork 4 holds for 13.000, until 130.000 125.000 p 5 w'until in await eat 127.000 p 1 releases 1 to fork 1 releases 1 to fork 2 signals await eat holds for 25.000, until 152.000 p 5 leaves await eat seizes 1 of fork 5 seizes 1 of fork 1 holds for 18.000, until 145.000 130.000 p 3 releases 1 to fork 3 releases 1 to fork 4 signals await eat holds for 25.000, until 155.000 135.000 p 4 w'until in await eat 137.000 p 2 seizes 1 of fork 2 seizes 1 of fork 3 holds for 18.000, until 155.000 145.000 p 5 releases 1 to fork 5 releases 1 to fork 1 signals await eat holds for 23.000, until 168.000 p 4 leaves await eat seizes 1 of fork 4 seizes 1 of fork 5 holds for 14.000, until 159.000 152.000 p 1 w'until in await eat 155.000 p 3 w'until in await eat p 2 releases 1 to fork 2 releases 1 to fork 3 signals await eat holds for 22.000, until 177.000 p 1 leaves await eat seizes 1 of fork 1 seizes 1 of fork 2 holds for 10.000, until 165.000 159.000 p 4 releases 1 to fork 4 releases 1 to fork 5 signals await eat holds for 21.000, until 180.000 p 3 leaves await eat seizes 1 of fork 3 seizes 1 of fork 4 holds for 20.000, until 179.000 165.000 p 1 releases 1 to fork 1 releases 1 to fork 2 1 ... a n d t h e i r o u t p u t s page c-21 signals await eat holds for 22.000, until 187.000 168.000 p 5 seizes 1 of fork 5 seizes 1 of fork 1 holds for 16.000, until 184.000 177.000 p 2 w'until in await eat 179.000 p 3 releases 1 to fork 3 releases 1 to fork 4 signals await eat holds for 24.000, until 203.000 p 2 leaves await eat seizes 1 of fork 2 seizes 1 of fork 3 holds for 19.000, until 198.000 clock time = 180.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed think 0.000 23 randint 20 30 33427485 eat 0.000 20 randint 10 20 22276755 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax fork 1 0.000 7 1 0 0 62.778 0.000 1 fork 2 0.000 7 1 0 0 60.556 0.000 1 fork 3 0.000 7 1 0 0 67.222 0.000 1 fork 4 0.000 8 1 0 1 68.333 0.000 1 fork 5 0.000 7 1 0 0 62.222 0.000 1 c o n d i t i o n q u e u e s ******************************* title / (re)set/ obs/ qmax/ qnow/ q average/zeros/ av. wait await eat * 0.000 20 3 0 0.489 8 4.400 1 ... a n d t h e i r o u t p u t s page c-22 -------------------- program 10 output -------------------- clock time = 0.000 ********************************************************************** * * * t r a c i n g c o m m e n c e s * * * ********************************************************************** time/ current and its action(s) 0.000 demos schedules l 1 now holds for 120.000, until 120.000 l 1 schedules l 2 at 7.358 seizes 1 of hopper holds for 15.000, until 15.000 7.358 l 2 schedules l 3 at 88.690 interrupts l 1, with n = 1 cancels l 1 awaits 1 of hopper l 1 releases 1 to hopper awaits 1 of hopper l 2 seizes 1 of hopper holds for 5.000, until 12.358 12.358 releases 1 to hopper ***terminates l 1 seizes 1 of hopper holds for 7.642, until 20.000 20.000 releases 1 to hopper ***terminates 88.690 l 3 schedules l 4 at 101.975 seizes 1 of hopper holds for 15.000, until 103.690 101.975 l 4 schedules l 5 at 107.870 awaits 1 of hopper 103.690 l 3 releases 1 to hopper ***terminates l 4 seizes 1 of hopper holds for 5.000, until 108.690 107.870 l 5 schedules l 6 at 117.565 interrupts l 4, with n = 1 cancels l 4 awaits 1 of hopper l 4 releases 1 to hopper awaits 1 of hopper l 5 seizes 1 of hopper holds for 10.000, until 117.870 117.565 l 6 schedules l 7 at 120.236 awaits 1 of hopper 117.870 l 5 releases 1 to hopper ***terminates l 4 seizes 1 of hopper holds for 0.820, until 118.690 118.690 releases 1 to hopper 1 ... a n d t h e i r o u t p u t s page c-23 ***terminates l 6 seizes 1 of hopper holds for 10.000, until 128.690 clock time = 120.000 ********************************************************************** * * * t r a c i n g s w i t c h e d o f f * * * ********************************************************************** clock time = 480.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed priority 0.000 44 randint 1 4 33427485 lorry load 0.000 44 randint 1 3 22276755 next lorry 0.000 44 negexp 8.333e-02 46847980 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax hopper 0.000 51 1 0 0 82.252 17.978 8 1 ... a n d t h e i r o u t p u t s page c-24 -------------------- program 11 output -------------------- clock time = 0.000 ********************************************************************** * * * t r a c i n g c o m m e n c e s * * * ********************************************************************** time/ current and its action(s) 0.000 demos schedules s digger 1 now schedules l digger 1 now schedules l digger 2 now schedules l 1 now schedules s 1 now holds for 0.500, until 0.500 s digger 1 w'until in sq l digger 1 waits in l truck q l digger 2 waits in l truck q l 1 schedules l 2 at 0.121 signals sq waits in l truck q s 1 schedules s 2 at 0.035 signals sq waits in s truck q s digger 1 leaves sq coopts s 1 from s truck q holds for 0.083, until 0.083 l digger 1 coopts l 1 from l truck q holds for 0.083, until 0.083 3.453e-02 s 2 schedules s 3 at 0.194 signals sq waits in s truck q 8.333e-02 s digger 1 schedules s 1 now coopts s 2 from s truck q holds for 0.083, until 0.167 l digger 1 schedules l 1 now waits in l truck q s 1 ***terminates l 1 ***terminates 0.121 l 2 schedules l 3 at 0.151 signals sq waits in l truck q l digger 2 coopts l 2 from l truck q holds for 0.083, until 0.204 0.151 l 3 schedules l 4 at 0.190 signals sq waits in l truck q l digger 1 coopts l 3 from l truck q holds for 0.083, until 0.234 0.167 s digger 1 schedules s 2 now w'until in sq s 2 ***terminates 1 ... a n d t h e i r o u t p u t s page c-25 0.190 l 4 schedules l 5 at 0.258 signals sq waits in l truck q s digger 1 leaves sq coopts l 4 from l truck q holds for 0.333, until 0.523 0.194 s 3 schedules s 4 at 0.224 interrupts s digger 1, with n = 1 cancels s digger 1 waits in s truck q s digger 1 schedules l 4 now coopts s 3 from s truck q holds for 0.083, until 0.277 l 4 signals sq waits in l truck q 0.204 l digger 2 schedules l 2 now coopts l 4 from l truck q holds for 0.082, until 0.287 l 2 ***terminates 0.224 s 4 schedules s 5 at 0.376 signals sq waits in s truck q 0.234 l digger 1 schedules l 3 now waits in l truck q l 3 ***terminates 0.258 l 5 schedules l 6 at 0.281 signals sq waits in l truck q l digger 1 coopts l 5 from l truck q holds for 0.083, until 0.342 0.277 s digger 1 schedules s 3 now coopts s 4 from s truck q holds for 0.083, until 0.361 s 3 ***terminates 0.281 l 6 schedules l 7 at 0.334 signals sq waits in l truck q 0.287 l digger 2 schedules l 4 now coopts l 6 from l truck q holds for 0.083, until 0.370 l 4 ***terminates 0.334 l 7 schedules l 8 at 0.354 signals sq waits in l truck q 0.342 l digger 1 schedules l 5 now coopts l 7 from l truck q holds for 0.083, until 0.425 l 5 ***terminates 0.354 l 8 schedules l 9 at 0.400 signals sq waits in l truck q 0.361 s digger 1 schedules s 4 now coopts l 8 from l truck q holds for 0.333, until 0.694 s 4 ***terminates 1 ... a n d t h e i r o u t p u t s page c-26 0.370 l digger 2 schedules l 6 now interrupts s digger 1, with n = 2 cancels s digger 1 waits in l truck q l 6 ***terminates s digger 1 schedules l 8 now w'until in sq l 8 signals sq waits in l truck q l digger 2 coopts l 8 from l truck q holds for 0.081, until 0.451 0.376 s 5 schedules s 6 at 0.452 signals sq waits in s truck q s digger 1 leaves sq coopts s 5 from s truck q holds for 0.083, until 0.459 0.400 l 9 schedules l10 at 0.429 signals sq waits in l truck q 0.425 l digger 1 schedules l 7 now coopts l 9 from l truck q holds for 0.083, until 0.508 l 7 ***terminates 0.429 l10 schedules l11 at 0.432 signals sq waits in l truck q 0.432 l11 schedules l12 at 0.464 signals sq waits in l truck q 0.451 l digger 2 schedules l 8 now coopts l10 from l truck q holds for 0.083, until 0.534 l 8 ***terminates 0.452 s 6 schedules s 7 at 0.506 signals sq waits in s truck q 0.459 s digger 1 schedules s 5 now coopts s 6 from s truck q holds for 0.083, until 0.542 s 5 ***terminates 0.464 l12 schedules l13 at 0.466 signals sq waits in l truck q 0.466 l13 schedules l14 at 0.524 signals sq waits in l truck q clock time = 0.500 ********************************************************************** * * * t r a c i n g s w i t c h e d o f f * * * ********************************************************************** 1 ... a n d t h e i r o u t p u t s page c-27 clock time = 10.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed next large 0.000 215 negexp 22.000 33427485 next small 0.000 100 negexp 10.000 22276755 w a i t q u e u e s ********************* title / (re)set/ obs/ qmax/ qnow/ q average/zeros/ av. wait s truck q 0.000 97 1 0 0.000 97 0.000 s truck q * 0.000 97 4 3 0.796 25 8.082e-02 l truck q 0.000 224 2 0 0.319 185 1.422e-02 l truck q * 0.000 224 13 8 3.296 48 0.136 c o n d i t i o n q u e u e s ******************************* title / (re)set/ obs/ qmax/ qnow/ q average/zeros/ av. wait sq 0.000 114 1 0 5.038e-02 99 4.419e-03 1 ... a n d t h e i r o u t p u t s page c-28 -------------------- program 12 output -------------------- clock time = 1000.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed arrivals 0.000 128 negexp 0.125 33427485 size 0.000 128 randint 3 5 22276755 w a i t q u e u e s ********************* title / (re)set/ obs/ qmax/ qnow/ q average/zeros/ av. wait shore tanks 0.000 128 5 0 0.181 99 1.417 shore tanks * 0.000 128 5 2 1.849 30 14.230 1 ... a n d t h e i r o u t p u t s page c-29 -------------------- program 13 output -------------------- clock time = 480.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed next lorry 0.000 41 negexp 0.100 33427485 fill hopper 0.000 74 normal 5.000 1.000 22276755 van return 0.000 24 negexp 0.100 46847980 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax weighbridge 0.000 121 1 0 1 65.417 1.168 4 crane 0.000 24 1 0 0 81.393 8.943 2 bays 0.000 33 6 0 0 88.570 12.900 4 van spaces 0.000 24 4 0 3 40.525 0.000 1 b i n s ******* title / (re)set/ obs/init/ max/ now/ av. free/ av. wait/qmax full hoppers 0.000 73 3 3 0 0.516 5.477 5 empty hopper 0.000 71 5 8 2 2.571 0.219 1 w a i t q u e u e s ********************* title / (re)set/ obs/ qmax/ qnow/ q average/zeros/ av. wait await contai 0.000 38 4 0 0.315 27 3.977 await contai* 0.000 38 3 1 0.578 12 6.743 1 ... a n d t h e i r o u t p u t s page c-30 -------------------- program 14 output -------------------- clock time = 100.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed cpu burst 0.000 88 negexp 1.000 33427485 next job 0.000 88 negexp 0.875 22276755 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax cpu 0.000 88 1 0 1 90.108 3.672 10 1 ... a n d t h e i r o u t p u t s page c-31 -------------------- program 15 output -------------------- clock time = 100.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed cpu burst 0.000 88 negexp 1.000 33427485 next job 0.000 88 negexp 0.875 22276755 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax cpu 0.000 2300 1 0 1 90.108 8.390e-02 4 multilevel 0.000 88 4 0 4 70.769 1.579 6 1 ... a n d t h e i r o u t p u t s page c-32 -------------------- program 16 output -------------------- clock time = 114.768 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed cpu burst 0.000 88 negexp 1.000 33427485 next job 0.000 12 negexp 8.750e-02 22276755 transfer 0.000 88 uniform 5.000e-03 8.500e-02 46847980 io's 0.000 19 randint 25 75 43859043 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax disk drive 0.000 88 2 0 2 1.665 0.000 1 cpu 0.000 88 1 0 1 78.513 2.669 3 multi 0.000 19 4 0 4 71.624 7.602 5 1 ... a n d t h e i r o u t p u t s page c-33 -------------------- program 17 output -------------------- clock time = 3.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed next request 0.000 249 negexp 10.000 33427485 h-movement 0.000 231 uniform 5.000e-03 8.500e-02 22276755 rotate time 0.000 224 uniform 0.000 1.800e-02 46847980 r e s o u r c e s ***************** title / (re)set/ obs/ lim/ min/ now/ % usage/ av. wait/qmax disk 1 0.000 28 1 0 0 71.704 4.998e-02 3 disk 2 0.000 30 1 0 0 74.262 5.787e-02 5 disk 3 0.000 28 1 0 0 70.885 0.104 5 disk 4 0.000 16 1 0 1 48.032 4.707e-03 1 disk 5 0.000 29 1 0 0 72.555 0.101 5 disk 6 0.000 37 1 0 0 94.048 0.184 6 disk 7 0.000 31 1 0 0 66.761 3.130e-02 2 disk 8 0.000 25 1 0 0 59.294 4.319e-02 3 channel unit 0.000 455 1 0 1 72.938 1.030e-02 7 1 ... a n d t h e i r o u t p u t s page c-34 -------------------- program 18 output -------------------- clock time = 0.000 ********************************************************************** * * * t r a c i n g c o m m e n c e s * * * ********************************************************************** time/ current and its action(s) 0.000 demos schedules p 1 now schedules c 1 at 6.000 holds for 25.000, until 25.000 p 1 holds for 3.000, until 3.000 3.000 gives 1 to b holds for 3.000, until 6.000 6.000 c 1 seizes 2 of b holds for 2.000, until 8.000 p 1 gives 1 to b holds for 3.000, until 9.000 8.000 c 1 seizes 2 of b holds for 2.000, until 10.000 9.000 p 1 gives 1 to b holds for 3.000, until 12.000 10.000 c 1 awaits 2 of b 12.000 p 1 gives 1 to b holds for 3.000, until 15.000 c 1 seizes 2 of b holds for 2.000, until 14.000 14.000 awaits 2 of b 15.000 p 1 gives 1 to b holds for 3.000, until 18.000 18.000 gives 1 to b holds for 3.000, until 21.000 c 1 seizes 2 of b holds for 2.000, until 20.000 20.000 awaits 2 of b 21.000 p 1 gives 1 to b holds for 3.000, until 24.000 24.000 gives 1 to b holds for 3.000, until 27.000 c 1 seizes 2 of b holds for 2.000, until 26.000 1 ... a n d t h e i r o u t p u t s page c-35 clock time = 25.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** b i n s ******* title / (re)set/ obs/init/ max/ now/ av. free/ av. wait/qmax b 0.000 8 2 3 0 1.120 2.000 1 1 ... a n d t h e i r o u t p u t s page c-36 -------------------- program 19 output -------------------- clock time = 0.000 ********************************************************************** * * * t r a c i n g c o m m e n c e s * * * ********************************************************************** time/ current and its action(s) 0.000 demos schedules p 1 now schedules p 2 at 5.000 schedules c 1 now schedules c 2 at 1.000 schedules c 3 at 2.000 schedules c 4 at 3.000 holds for 35.000, until 35.000 p 1 waits in waiting c 1 waits in waiting p 1 coopts c 1 from waiting holds for 2.000, until 2.000 1.000 c 2 waits in waiting 2.000 c 3 waits in waiting p 1 schedules c 1 at 4.000 coopts c 2 from waiting holds for 2.000, until 4.000 3.000 c 4 waits in waiting 4.000 c 1 waits in waiting p 1 schedules c 2 at 8.000 coopts c 3 from waiting holds for 2.000, until 6.000 5.000 p 2 coopts c 4 from waiting holds for 2.000, until 7.000 6.000 p 1 schedules c 3 at 12.000 coopts c 1 from waiting holds for 2.000, until 8.000 7.000 p 2 schedules c 4 at 14.000 waits in waiting 8.000 c 2 waits in waiting p 1 schedules c 1 at 16.000 waits in waiting p 2 coopts c 2 from waiting holds for 2.000, until 10.000 10.000 schedules c 2 at 20.000 waits in waiting 12.000 c 3 waits in waiting p 1 coopts c 3 from waiting holds for 2.000, until 14.000 14.000 c 4 waits in waiting p 1 schedules c 3 at 28.000 waits in waiting p 2 coopts c 4 from waiting holds for 2.000, until 16.000 1 ... a n d t h e i r o u t p u t s page c-37 16.000 c 1 waits in waiting p 2 schedules c 4 at 32.000 waits in waiting p 1 coopts c 1 from waiting holds for 2.000, until 18.000 18.000 schedules c 1 at 36.000 waits in waiting 20.000 c 2 waits in waiting p 2 coopts c 2 from waiting holds for 2.000, until 22.000 22.000 schedules c 2 at 44.000 waits in waiting 28.000 c 3 waits in waiting p 1 coopts c 3 from waiting holds for 2.000, until 30.000 30.000 schedules c 3 at 60.000 waits in waiting 32.000 c 4 waits in waiting p 2 coopts c 4 from waiting holds for 2.000, until 34.000 34.000 schedules c 4 at 68.000 waits in waiting clock time = 35.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** w a i t q u e u e s ********************* title / (re)set/ obs/ qmax/ qnow/ q average/zeros/ av. wait waiting 0.000 12 2 2 1.171 5 2.917 waiting * 0.000 12 3 0 0.200 8 0.583 1 ... a n d t h e i r o u t p u t s page c-38 -------------------- program 20 output -------------------- clock time = 100.000 ********************************************************************** * * * r e p o r t * * * ********************************************************************** d i s t r i b u t i o n s ************************* title / (re)set/ obs/type / a/ b/ seed cpu burst 0.000 88 negexp 1.000 33427485 next job 0.000 88 negexp 0.875 22276755 t a l l i e s ************* title / (re)set/ obs/ average/est.st.dv/ minimum/ maximum thru times 0.000 88 4.696 3.484 9.208e-02 11.267 w a i t q u e u e s ********************* title / (re)set/ obs/ qmax/ qnow/ q average/zeros/ av. wait cpu q 0.000 88 1 1 9.892e-02 76 0.111 cpu q * 0.000 88 10 0 3.231 13 3.672