The Iraqi army inflicted heavy losses on the terrorists during its advances in the Western province of Anbar.