The issue was linked with the orderID calculated derived on the current date. You need to do 2 things.
1. Reduce the constant variable orderMult = 1000000 down to 100000 in Twsdde.xls.
2. The TWS.xml file has to be modified. This will eliminate duplicate orderID occurrence. Please look...