The present study focusses on the investigation of thermodynamic optimization of hydromagnetic time dependent boundary layer nanofluid flow by employing entropy generation method (EMG) in semi- permeable oscillatory curved channel. We used Buongiorno model for nanofluid to address the impact of the parameters of Brownian motion and thermophoresis. The consequences of heat production are also taken into consideration in energy the equation. The mathematical form of boundary layer equations is accomplished by following the curvilinear coordinates scheme for the considered flow problem. The analytical convergent solution of the determined nonlinear PDEs is achieved through the process of homotopy analysis (HAM). A detailed analysis is conducted out to analyze the consequences of dissimilar variables concerned, such as non-dimensional radius of curvature, Lewis number, magnetic parameter, relation of wall oscillation frequency to its parameter of velocity, Reynolds number, Prandtl number, heat production and thermophoresis parameters, entropy generation rate, Brownian motion parameter and Brickman number, concentration and temperature difference parameters on temperature, velocity profile, concentration, pressure, drag surface force, Bejan number, entropy generation, rate of mass and heat transport are addressed in detail via tables and graphs. It is noted that, the magnitude of heat transmission rate (local Nusselt number) steadily decays for advanced values of radius of curvature variable and Reynolds number.