The kernel appears to have died. It will restart automatically

In the code you have in the background of the screenshot you do not use any functions from dolfin.

For the post to be relevant for the forum and follow the guidelines, please follow Read before posting: How do I get my question answered?