Add support to print model variables

Change-Id: I5adc283d8c9b04bf1330e4973526571119781e1c