Modeling of high-pressure rare gas plasmas excited by an energetic flash X-ray source