np_scheduler.py updated, support Preempted resources