I need an infinitely smooth non-decreasing function $\ f(x)$, that $$f(x)=0\quad\forall x\leq 0,$$ $$f(x)=1\quad\forall x\geq 1,$$ and all its derivatives in $x=0$ and $x=1$ are $0$.
I found that I can't present any such function, what makes me confused. I know many examples of smooth finite hat-function, such as $e^{1/{(x-1)x}}$, but I still can't make it useful to create that step.


Recall that $$f(t) = \left\{ \begin{array}{lr} e^{-1/t} & t >0\\ 0 & t \leq 0\\ \end{array}\right.$$ is smooth. Then $g(t) = \frac{f(t)}{f(t)+f(1-t)}$ is smooth, is equal to $1$ for $t \geq 1$, and equal to $0$ for $t \leq 0$.
This is the standard construction; you can probably find it in most any intro book to smooth manifolds, for instance, in their discussion on bump functions.