Accident analysis of fusion facilities is important part of safety assessment. Validated computer codes are required to perform such analysis. At present ASTEC code is being actively developed by IRSN to include features required for safety analysis of fusion facilities. This paper presents detailed analysis of P1 test performed at ICE test facility using CPA module of ASTEC code. Results of performed analysis confirmed that ASTEC could be successfully applied for analysis of loss of coolant accidents in fusion facilities like ITER or W7-X. Modelling of the pressure suppression system included in ASTEC is adequate as well. Peculiar gas compression effect was observed in the drain tank. This compression effect and gas temperature behaviour could be further investigated to resolve remaining issues.