-----If you are not able to shrink tempdb execute below query and try again
--Use below query for clearing plan cache in the server.
--Use below query for clearing buffers from bufferpool.
-- Use below query, this will Releases all unused cache entries from all caches.
DBCC FREESYSTEMCACHE ('ALL')