The amount of fission product release during a core heatup accident in a medium-sized high-temperature gas reactor depends on the size of the inadvertent opening in the primary circuit; this dependence is assessed. The opening triggers a depressurization event that is assumed to be coupled with the failure of the forced circulation in both decay-heat removal systems. The scenario investigated is a beyond-design-base accident. The DSNP modular simulation code is used. A two-dimensional model is developed to simulate the HTR-500 design. The study shows that the depressurization process does not contribute significantly to the sweeping out (from the primary circuit) of fission products released from the fuel during the core heatup. There is also no significant variation in the results when the opening size is >33 cm2, and only a slight sensitivity is found when the rupture size is between 3.3 and 33 cm2. The fission product release decreases considerably in the range from 1 to 3.3 cm2. The smallsized rupture is of major significance, as the failure of the relief valves to reclose increases the frequency of the event. In addition, the highest core temperature in the most severe depressurization accident scenario is evaluated, and its calculated value is lower than the graphite sublimation temperature. Although the simulation closely follows the German HTR-500 design, the conclusions may be applied to the general concept of the medium-sized high-temperature gas reactor.