Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004372, allocations: 8 kB / 314.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3461, allocations: 54.86 MB / 369.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002795/0.3489, allocations: 1.466 MB / 370.8 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005385/0.3544, allocations: 2.489 MB / 373.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.3546, allocations: 0 / 373.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.3549, allocations: 39.81 kB / 373.3 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.3553, allocations: 67.75 kB / 373.4 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.3578, allocations: 0.6311 MB / 374 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.3582, allocations: 159.7 kB / 374.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.3583, allocations: 28.39 kB / 374.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.3585, allocations: 87.61 kB / 374.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.3587, allocations: 87.61 kB / 374.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.3588, allocations: 4 kB / 374.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.3617, allocations: 1.197 MB / 375.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.3619, allocations: 67.73 kB / 375.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.362, allocations: 65.58 kB / 375.7 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.3638, allocations: 0.5272 MB / 376.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3639, allocations: 3.938 kB / 376.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.3639, allocations: 4 kB / 376.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3639, allocations: 0 / 376.2 MB, free: 3.781 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00134/0.3652, allocations: 0.6239 MB / 376.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.3653, allocations: 8.031 kB / 376.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.3654, allocations: 86.44 kB / 376.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.655e-05/0.3655, allocations: 27.62 kB / 376.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.3659, allocations: 234.6 kB / 377.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.366, allocations: 16.56 kB / 377.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-05/0.366, allocations: 35.94 kB / 377.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.3672, allocations: 471.3 kB / 377.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.3673, allocations: 0 / 377.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.3673, allocations: 15.94 kB / 377.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.812e-05/0.3674, allocations: 44.95 kB / 377.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.3689, allocations: 0.5659 MB / 378.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.372, allocations: 1.342 MB / 379.7 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009066/0.3729, allocations: 270.5 kB / 379.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.984e-05/0.373, allocations: 8 kB / 379.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3731, allocations: 34.56 kB / 380 MB, free: 15.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 3.146e-06/0.3731, allocations: 0 / 380 MB, free: 15.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.001266/0.3744, allocations: 345.2 kB / 380.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.3744, allocations: 59.36 kB / 380.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3747, allocations: 144.8 kB / 380.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.3747, allocations: 29.7 kB / 380.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.3749, allocations: 262.1 kB / 380.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.375, allocations: 90.81 kB / 380.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.375, allocations: 8 kB / 380.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3752, allocations: 326.8 kB / 381.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.3756, allocations: 83.92 kB / 381.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.376, allocations: 182.2 kB / 381.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.3764, allocations: 115.9 kB / 381.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.3765, allocations: 4 kB / 381.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001052/0.3775, allocations: 329 kB / 381.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3776, allocations: 4.344 kB / 381.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3776, allocations: 8 kB / 381.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.3776, allocations: 4 kB / 381.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000944/0.3786, allocations: 119.8 kB / 382 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.3804, allocations: 2.364 MB / 384.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.3807, allocations: 40.02 kB / 384.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.3808, allocations: 16 kB / 384.5 MB, free: 11.11 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003014/0.3811, allocations: 182.7 kB / 384.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.3812, allocations: 23.7 kB / 384.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.3827, allocations: 374.3 kB / 385 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3827, allocations: 4 kB / 385 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3827, allocations: 0 / 385 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3828, allocations: 4 kB / 385 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/0.3834, allocations: 337.6 kB / 385.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3834, allocations: 0 / 385.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/0.3843, allocations: 107.8 kB / 385.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.3843, allocations: 7.953 kB / 385.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.3843, allocations: 11.98 kB / 385.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.3858, allocations: 2.36 MB / 387.8 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3859, allocations: 4 kB / 387.8 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009852/0.3869, allocations: 379.4 kB / 388.2 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.3869, allocations: 97.05 kB / 388.3 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.387, allocations: 4 kB / 388.3 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.3873, allocations: 15.98 kB / 388.3 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.3874, allocations: 27.91 kB / 388.4 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.3874, allocations: 7.984 kB / 388.4 MB, free: 7.012 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.461e-05/0.3875, allocations: 103.3 kB / 388.5 MB, free: 6.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3876, allocations: 0 / 388.5 MB, free: 6.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009459/0.3885, allocations: 239.4 kB / 388.7 MB, free: 6.676 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002292/0.3908, allocations: 1.153 MB / 389.9 MB, free: 5.488 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.3923, allocations: 308.7 kB / 390.2 MB, free: 5.188 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3923, allocations: 3.938 kB / 390.2 MB, free: 5.184 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008285/0.3931, allocations: 187.8 kB / 390.3 MB, free: 5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.3935, allocations: 12 kB / 390.4 MB, free: 4.988 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.3973, allocations: 1.567 MB / 391.9 MB, free: 3.348 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.3978, allocations: 0.8104 MB / 392.7 MB, free: 2.508 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.3981, allocations: 91.39 kB / 392.8 MB, free: 2.418 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3981, allocations: 4 kB / 392.8 MB, free: 2.414 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.819/3.217, allocations: 10.88 MB / 403.7 MB, free: 7.52 MB / 330.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat failed! " Variables in the reference:time,MIN,A_cross,roughness,d_hyd,K[1],K[2],K[3],K[4],L,eta,rho,input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],input_dp[1],input_dp[2],input_dp[3],input_dp[4],M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],DP[1],DP[2],DP[3],DP[4],velocity[1],velocity[2],velocity[3],velocity[4],Re[1],Re[2],Re[3],Re[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4],lambda_FRI[1],lambda_FRI[2],lambda_FRI[3],lambda_FRI[4],input_DP.y Variables in the result:A_cross,DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],K[1],K[2],K[3],K[4],L,MIN,M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],Re[1],Re[2],Re[3],Re[4],d_hyd,dp_IN_con[1].K,dp_IN_con[1].L,dp_IN_con[1].d_hyd,dp_IN_con[1].roughness,dp_IN_con[2].K,dp_IN_con[2].L,dp_IN_con[2].d_hyd,dp_IN_con[2].roughness,dp_IN_con[3].K,dp_IN_con[3].L,dp_IN_con[3].d_hyd,dp_IN_con[3].roughness,dp_IN_con[4].K,dp_IN_con[4].L,dp_IN_con[4].d_hyd,dp_IN_con[4].roughness,dp_IN_var[1].eta,dp_IN_var[1].rho,dp_IN_var[2].eta,dp_IN_var[2].rho,dp_IN_var[3].eta,dp_IN_var[3].rho,dp_IN_var[4].eta,dp_IN_var[4].rho,eta,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_dp[4],input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],lambda_FRI[1],lambda_FRI[2],lambda_FRI[3],lambda_FRI[4],m_flow_IN_con[1].K,m_flow_IN_con[1].L,m_flow_IN_con[1].d_hyd,m_flow_IN_con[1].roughness,m_flow_IN_con[2].K,m_flow_IN_con[2].L,m_flow_IN_con[2].d_hyd,m_flow_IN_con[2].roughness,m_flow_IN_con[3].K,m_flow_IN_con[3].L,m_flow_IN_con[3].d_hyd,m_flow_IN_con[3].roughness,m_flow_IN_con[4].K,m_flow_IN_con[4].L,m_flow_IN_con[4].d_hyd,m_flow_IN_con[4].roughness,m_flow_IN_var[1].eta,m_flow_IN_var[1].rho,m_flow_IN_var[2].eta,m_flow_IN_var[2].rho,m_flow_IN_var[3].eta,m_flow_IN_var[3].rho,m_flow_IN_var[4].eta,m_flow_IN_var[4].rho,n,rho,roughness,time,velocity[1],velocity[2],velocity[3],velocity[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4]