I am puzzled that specifying NUMTERMS=5 and then only supplying 4 nodes would be expected to work. The example I posted works on my simulator. If I set NUMTERMS=5 and only provide 4 connections it stops working (I amm not surprised by that, although an error message would have been nice). If I then change NUMTERMS to 4 with 4 device terminals being used then it works again. Maybe it is a "quirk" of my simulator but it would seem that NUMTERMS being set to the actual number of terminals you are using would be a good idea.
Keith.