Effect of Dissipation on Density Profile of One Dimensional Gas