Hello Wang,
I have heard of a similar issue, except that issue was related to the script also launching the CCS GUI. When that call was removed, the script ran fine (for me). Your script does not appear to be launching the GUI.
Can you successfully run the profiling examples that ship with DSS?
<CCS INSTALL DIR>\ccsv5\ccs_base\scripting\examples\DVTExamples
Thanks
ki