Matthew i have some questions about this, i have built a board and i ran your script on jmri version 4.16 but at the end of 15 minutes the loco stops and there is a warn that pops up about the throttle. It doesn't give you the CV speed table either.
I have a Zepher DCS52 BDL168 and a USB Locobuffer.
I also have a Sprog Pi id like to use on the board.
Thanks in advance!