Phil Hughes and Steve Smith both enjoyed some much-needed time in the middle as Australia ended day one of their tour match with Sussex on 354-5.