Amalia triggers, revealing the top card of your library and then putting a +1/+1 counter on Amalia, putting the card back on top of your library, and destroying all other creatures if Amalia's power is 20.
Animation Module triggers, causing you to pay ({1} magic symbol) to create a 1/1 Servo artifact creature token.
When the Servo enters the battlefield,
Healer of the Pride triggers, causing you to gain 2 life.
Amalia triggers. Holding priority, activate
Phyrexian Altar by sacrificing the Servo, adding one mana of any color.
Resolve the Amalia trigger, revealing the top card of your library and then putting a +1/+1 counter on Amalia, putting the card back on top of your library, and destroying all other creatures if Amalia's power is 20.