Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|geometry.1.|geometry.2.|geometry.3.|geometry.4.|geometry.5.|d_hyd|Av|opening|eta|rho|input_mdot_1.1.|input_mdot_1.2.|input_mdot_1.3.|input_mdot_1.4.|input_mdot_1.5.|input_dp_1.1.|input_dp_1.2.|input_dp_1.3.|input_dp_1.4.|input_dp_1.5.|input_mdot_2.1.|input_mdot_2.2.|input_mdot_2.3.|input_mdot_2.4.|input_mdot_2.5.|input_dp_2.1.|input_dp_2.2.|input_dp_2.3.|input_dp_2.4.|input_dp_2.5.|input_mdot_3.1.|input_mdot_3.2.|input_mdot_3.3.|input_mdot_3.4.|input_mdot_3.5.|input_dp_3.1.|input_dp_3.2.|input_dp_3.3.|input_dp_3.4.|input_dp_3.5.|M_FLOW_1.1.|M_FLOW_1.2.|M_FLOW_1.3.|M_FLOW_1.4.|M_FLOW_1.5.|DP_1.1.|DP_1.2.|DP_1.3.|DP_1.4.|DP_1.5.|M_FLOW_2.1.|M_FLOW_2.2.|M_FLOW_2.3.|M_FLOW_2.4.|M_FLOW_2.5.|DP_2.1.|DP_2.2.|DP_2.3.|DP_2.4.|DP_2.5.|M_FLOW_3.1.|M_FLOW_3.2.|M_FLOW_3.3.|M_FLOW_3.4.|M_FLOW_3.5.|DP_3.1.|DP_3.2.|DP_3.3.|DP_3.4.|DP_3.5.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_1.3.|DP_plot_1.4.|DP_plot_1.5.|zeta_TOT_1.1.|zeta_TOT_1.2.|zeta_TOT_1.3.|zeta_TOT_1.4.|zeta_TOT_1.5.|Re_1.1.|Re_1.2.|Re_1.3.|Re_1.4.|Re_1.5.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|DP_plot_2.4.|DP_plot_2.5.|zeta_TOT_2.1.|zeta_TOT_2.2.|zeta_TOT_2.3.|zeta_TOT_2.4.|zeta_TOT_2.5.|Re_2.1.|Re_2.2.|Re_2.3.|Re_2.4.|Re_2.5.|DP_plot_3.1.|DP_plot_3.2.|DP_plot_3.3.|DP_plot_3.4.|DP_plot_3.5.|zeta_TOT_3.1.|zeta_TOT_3.2.|zeta_TOT_3.3.|zeta_TOT_3.4.|zeta_TOT_3.5.|Re_3.1.|Re_3.2.|Re_3.3.|Re_3.4.|Re_3.5.|input_DP.y|input_opening.y|input_mdot.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.911/1.911, allocations: 209.3 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007486/0.0007488, allocations: 12 kB / 282.5 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2845, allocations: 48.7 MB / 331.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.00253/0.287, allocations: 1.971 MB / 333.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.2897, allocations: 1.521 MB / 334.7 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.2898, allocations: 2.531 kB / 334.7 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.2902, allocations: 91.5 kB / 334.8 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.2906, allocations: 166.9 kB / 335 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007899/0.2914, allocations: 288.2 kB / 335.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008692/0.2923, allocations: 0.7814 MB / 336 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.2926, allocations: 208.8 kB / 336.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.2931, allocations: 389.4 kB / 336.6 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006192/0.2937, allocations: 498.3 kB / 337.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.2938, allocations: 30.12 kB / 337.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.2953, allocations: 0.8652 MB / 338 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.2956, allocations: 246.8 kB / 338.2 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.2958, allocations: 233.5 kB / 338.5 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.2974, allocations: 1.249 MB / 339.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2974, allocations: 0 / 339.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.028e-06/0.2975, allocations: 0 / 339.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.2975, allocations: 0 / 339.7 MB, free: 1.598 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.002047/0.2995, allocations: 1.47 MB / 341.2 MB, free: 488 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2996, allocations: 9.312 kB / 341.2 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.2999, allocations: 173.2 kB / 341.4 MB, free: 396 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.3011, allocations: 0.6245 MB / 342 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.3012, allocations: 138.2 kB / 342.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003235/0.3016, allocations: 180.6 kB / 342.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005491/0.3071, allocations: 2.784 MB / 345.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.462e-05/0.3071, allocations: 1.062 kB / 345.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/0.3074, allocations: 79.27 kB / 345.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000228/0.3076, allocations: 168.4 kB / 345.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007748/0.3154, allocations: 3.749 MB / 349.1 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01991/0.3353, allocations: 6.703 MB / 355.8 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.3386, allocations: 0.6725 MB / 356.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.3388, allocations: 28.52 kB / 356.5 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.997e-05/0.3389, allocations: 39.06 kB / 356.5 MB, free: 4.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=63): time 7.106e-06/0.339, allocations: 4 kB / 356.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.005284/0.3443, allocations: 0.9854 MB / 357.5 MB, free: 3.809 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.3444, allocations: 55.97 kB / 357.6 MB, free: 3.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004404/0.3488, allocations: 1.387 MB / 358.9 MB, free: 2.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.349, allocations: 37.7 kB / 359 MB, free: 2.301 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002134/0.3511, allocations: 1.345 MB / 360.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007254/0.3519, allocations: 272.8 kB / 360.6 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.3522, allocations: 60 kB / 360.7 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000587/0.3529, allocations: 449.4 kB / 361.1 MB, free: 160 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003411/0.3563, allocations: 0.6852 MB / 361.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006552/0.3629, allocations: 2.757 MB / 364.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005337/0.3683, allocations: 1.276 MB / 365.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.094e-05/0.3684, allocations: 20 kB / 365.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01486/0.3833, allocations: 3.258 MB / 369.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.3835, allocations: 40.77 kB / 369.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/0.3837, allocations: 76 kB / 369.2 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002923/0.384, allocations: 111.9 kB / 369.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006849/0.3909, allocations: 0.8741 MB / 370.2 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007569/0.3985, allocations: 6.063 MB / 376.2 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005654/0.4042, allocations: 431.6 kB / 376.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008125/0.4051, allocations: 216 kB / 376.9 MB, free: 15.08 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 35 (dp_IN_con_3[5].valveCoefficient,geometry[5],dp_IN_con_3[4].valveCoefficient,geometry[4],dp_IN_con_3[3].valveCoefficient,geometry[3],dp_IN_con_3[2].valveCoefficient,geometry[2],dp_IN_con_3[1].valveCoefficient,geometry[1],m_flow_IN_con_3[5].valveCoefficient,m_flow_IN_con_3[4].valveCoefficient,m_flow_IN_con_3[3].valveCoefficient,m_flow_IN_con_3[2].valveCoefficient,m_flow_IN_con_3[1].valveCoefficient,dp_IN_con_2[5].valveCoefficient,dp_IN_con_2[4].valveCoefficient,dp_IN_con_2[3].valveCoefficient,dp_IN_con_2[2].valveCoefficient,dp_IN_con_2[1].valveCoefficient,m_flow_IN_con_2[5].valveCoefficient,m_flow_IN_con_2[4].valveCoefficient,m_flow_IN_con_2[3].valveCoefficient,m_flow_IN_con_2[2].valveCoefficient,m_flow_IN_con_2[1].valveCoefficient,dp_IN_con_1[5].valveCoefficient,dp_IN_con_1[4].valveCoefficient,dp_IN_con_1[3].valveCoefficient,dp_IN_con_1[2].valveCoefficient,dp_IN_con_1[1].valveCoefficient,m_flow_IN_con_1[5].valveCoefficient,m_flow_IN_con_1[4].valveCoefficient,m_flow_IN_con_1[3].valveCoefficient,m_flow_IN_con_1[2].valveCoefficient,m_flow_IN_con_1[1].valveCoefficient) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002528/0.4076, allocations: 0.7158 MB / 377.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004643/0.4081, allocations: 122.4 kB / 377.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006863/0.415, allocations: 1.301 MB / 379 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.4151, allocations: 19.78 kB / 379 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4151, allocations: 0 / 379 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.4151, allocations: 3.984 kB / 379 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.417, allocations: 0.9554 MB / 380 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.607e-06/0.417, allocations: 0 / 380 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/0.4185, allocations: 319.7 kB / 380.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.4186, allocations: 8 kB / 380.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.772e-05/0.4187, allocations: 35.97 kB / 380.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0044/0.4231, allocations: 5.919 MB / 386.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.4231, allocations: 0 / 386.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.4252, allocations: 0.9053 MB / 387.2 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005586/0.4258, allocations: 291.3 kB / 387.5 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.426, allocations: 12 kB / 387.5 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.4266, allocations: 35.97 kB / 387.5 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.4268, allocations: 68.58 kB / 387.6 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.714e-05/0.4269, allocations: 39.98 kB / 387.6 MB, free: 4.012 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001421/0.4283, allocations: 0.7846 MB / 388.4 MB, free: 3.223 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.77e-07/0.4283, allocations: 0 / 388.4 MB, free: 3.223 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002896/0.4312, allocations: 498.9 kB / 388.9 MB, free: 2.734 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 (74): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00051/0.4318, allocations: 199.7 kB / 389.1 MB, free: 2.527 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005148/0.4369, allocations: 1.913 MB / 391 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.393e-06/0.437, allocations: 3.938 kB / 391 MB, free: 0.625 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.4388, allocations: 0.5189 MB / 391.5 MB, free: 108 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008242/0.4396, allocations: 88.69 kB / 391.6 MB, free: 20 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.4521, allocations: 3.122 MB / 394.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003238/0.4554, allocations: 1.467 MB / 396.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/0.4567, allocations: 171.4 kB / 396.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of SimCode: time 3.385e-06/0.4567, allocations: 0 / 396.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of Templates: time 0.1624/0.6191, allocations: 83.2 MB / 479.6 MB, free: 7.84 MB / 410.7 MB