Hopf bifurcation in REM algorithm with communication delay