Initial-boundary value problems for systems of differential equations are considered, which are mathematical models of the mechanical system "pipeline - pressure sensor". In such a system, to mitigate the effects of vibration accelerations and high temperatures, the sensor is located at a certain distance from the engine and is connected to it via a pipeline. The "pipeline - pressure sensor" system is designed to measure pressure in gas-liquid media, for example, to control the pressure of the working medium in the combustion chambers of engines. On the basis of the proposed models, the joint dynamics of the sensitive element of the pressure sensor and the working medium in the pipeline is studied. To describe the motion of the working medium, linear models of fluid and gas mechanics are used, to describe the dynamics of a sensitive element, linear models of the mechanics of a deformable solid are applied. Analytical and numerical methods for solving initial-boundary value problems under study are presented. The numerical study of the initial-boundary value problem was carried out on the basis of the Galerkin method. In analytical study using the introduction of averaged characteristics, the solution of the original two-dimensional problem is reduced to the study of a one-dimensional model, whose further study made it possible to reduce the solution of the problem to the study of a differential equation with a deviating argument. Also, a numerical experiment is carried out and an example of calculating the deflection of the sensor’s moving element is presented.