Check to see if the sim has the "hates children" attribute. I have found (so far) that any sim with this attribute cannot get pregnant.