FORM OF SECOND AMENDED AND RESTATED AGREEMENT OF LIMITED PARTNERSHIP