Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.143/2.143, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004642, allocations: 12 kB / 282.6 MB, free: 9.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3737, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002562/0.3764, allocations: 1.462 MB / 332.8 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.3793, allocations: 1.467 MB / 334.2 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.3795, allocations: 0 / 334.2 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.3798, allocations: 37.72 kB / 334.3 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.3801, allocations: 58.56 kB / 334.3 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.3814, allocations: 360.9 kB / 334.7 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.3817, allocations: 157.8 kB / 334.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.3818, allocations: 33.3 kB / 334.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.382, allocations: 85.31 kB / 335 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.3822, allocations: 96.14 kB / 335 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.3822, allocations: 6.312 kB / 335.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.3839, allocations: 0.687 MB / 335.7 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.384, allocations: 65.73 kB / 335.8 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/0.3841, allocations: 69.5 kB / 335.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009511/0.385, allocations: 364.6 kB / 336.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3851, allocations: 0 / 336.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3851, allocations: 0 / 336.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3851, allocations: 0 / 336.2 MB, free: 4.016 MB / 266.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.001072/0.3862, allocations: 0.5796 MB / 336.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3862, allocations: 18 kB / 336.8 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.289e-05/0.3863, allocations: 72.7 kB / 336.9 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.3864, allocations: 32.81 kB / 336.9 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3867, allocations: 242.5 kB / 337.2 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.3868, allocations: 18.97 kB / 337.2 MB, free: 3.133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/0.3868, allocations: 29.11 kB / 337.2 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.3879, allocations: 468.3 kB / 337.7 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.388, allocations: 5.156 kB / 337.7 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.388, allocations: 5.844 kB / 337.7 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-05/0.3881, allocations: 52.2 kB / 337.7 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.3895, allocations: 0.5578 MB / 338.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.3922, allocations: 1.338 MB / 339.6 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/0.3931, allocations: 278.1 kB / 339.9 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.3931, allocations: 11.53 kB / 339.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3932, allocations: 37.06 kB / 339.9 MB, free: 1.328 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 3.426e-06/0.3932, allocations: 0 / 339.9 MB, free: 1.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001191/0.3944, allocations: 341.8 kB / 340.3 MB, free: 1.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.3944, allocations: 61.41 kB / 340.3 MB, free: 1.102 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3946, allocations: 141.1 kB / 340.5 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3946, allocations: 26.95 kB / 340.5 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3947, allocations: 257.9 kB / 340.8 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.3948, allocations: 89.62 kB / 340.8 MB, free: 0.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.3948, allocations: 6.156 kB / 340.8 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.3949, allocations: 330.4 kB / 341.2 MB, free: 300 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.3952, allocations: 90.59 kB / 341.3 MB, free: 264 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.3956, allocations: 180.3 kB / 341.4 MB, free: 112 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.396, allocations: 119.2 kB / 341.6 MB, free: 64 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3961, allocations: 0 / 341.6 MB, free: 64 kB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001044/0.3971, allocations: 338 kB / 341.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3971, allocations: 6.5 kB / 341.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.3972, allocations: 3 kB / 341.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.3972, allocations: 4.406 kB / 341.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.3981, allocations: 120.2 kB / 342 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.3997, allocations: 2.368 MB / 344.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.4001, allocations: 24.53 kB / 344.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.4001, allocations: 25.69 kB / 344.4 MB, free: 13.44 MB / 282.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.0003231/0.4005, allocations: 173.4 kB / 344.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.4005, allocations: 18.81 kB / 344.6 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.4019, allocations: 380.6 kB / 345 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.402, allocations: 3.375 kB / 345 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.402, allocations: 0 / 345 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.402, allocations: 5.078 kB / 345 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.4026, allocations: 339.9 kB / 345.3 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.4027, allocations: 7.984 kB / 345.3 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/0.4035, allocations: 110.8 kB / 345.4 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.4035, allocations: 1.25 kB / 345.4 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.4036, allocations: 11.67 kB / 345.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.4052, allocations: 2.358 MB / 347.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.4053, allocations: 1.344 kB / 347.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009555/0.4062, allocations: 381.5 kB / 348.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.4063, allocations: 99.14 kB / 348.3 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.4064, allocations: 5.5 kB / 348.3 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.4067, allocations: 18.05 kB / 348.3 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/0.4068, allocations: 26.64 kB / 348.3 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.4068, allocations: 8.594 kB / 348.3 MB, free: 9.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.4069, allocations: 108.7 kB / 348.4 MB, free: 9.855 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4069, allocations: 0 / 348.4 MB, free: 9.855 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008149/0.4078, allocations: 173 kB / 348.6 MB, free: 9.789 MB / 282.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.001836/0.4096, allocations: 1.021 MB / 349.6 MB, free: 8.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.4109, allocations: 313 kB / 349.9 MB, free: 8.848 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.411, allocations: 1.094 kB / 349.9 MB, free: 8.848 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008013/0.4118, allocations: 177.1 kB / 350.1 MB, free: 8.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.4121, allocations: 11.61 kB / 350.1 MB, free: 8.781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.4158, allocations: 1.533 MB / 351.7 MB, free: 7.688 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.4164, allocations: 0.8046 MB / 352.5 MB, free: 6.934 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.4167, allocations: 97.98 kB / 352.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4167, allocations: 0 / 352.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.974/3.391, allocations: 9.755 MB / 362.3 MB, free: 14.7 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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]