Prints the partition no. with message