Spain's Marcel Granollers progressed to the second round of the Valencia Open after Janko Tipsarevic was forced to pull out after just three games.