Aimsmum, we had a bad fire a couple of years ago (had to move out for 3 months)and dh had to carry both children out through thick black smoke. He couldn't even see his hand in front of his face and it all happened in minutes, very scary! You might be glad to know that although dh had many sleepless nights because he couldn't forget the sight of dd's terror-stricken little face, dd herself recovered much more quickly. There weren't any problems when we moved back in, even though she'd seen the state of the place with everything black and half the floor missing. kids are amazing really!
Also don't know if it helps but even after we'd washed everything from ceiling to floors and re-painted large areas the place still reeked. Then we had the carpets professionally cleaned and it was like magic, all lovely and fresh again! Just thought it might be worth bearing in mind if you can't get rid of the smell.
So glad you and your dd are ok.