Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004511, allocations: 12 kB / 314.3 MB, free: 9.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3571, allocations: 54.86 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.006169/0.3633, allocations: 1.966 MB / 371.2 MB, free: 8.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006278/0.3697, allocations: 1.548 MB / 372.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.3702, allocations: 4 kB / 372.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006984/0.3709, allocations: 91.44 kB / 372.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009403/0.3719, allocations: 159.5 kB / 373 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.3738, allocations: 283.4 kB / 373.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002302/0.3761, allocations: 0.787 MB / 374 MB, free: 5.859 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007455/0.3769, allocations: 211.6 kB / 374.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.378, allocations: 389.8 kB / 374.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.3794, allocations: 489.3 kB / 375.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.3797, allocations: 32 kB / 375.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003532/0.3833, allocations: 0.8698 MB / 376 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006265/0.3839, allocations: 246.8 kB / 376.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005648/0.3845, allocations: 228.8 kB / 376.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.3871, allocations: 1.252 MB / 377.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.195e-06/0.3871, allocations: 0 / 377.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.302e-06/0.3871, allocations: 0 / 377.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.3871, allocations: 0 / 377.7 MB, free: 2.145 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.002477/0.3896, allocations: 1.478 MB / 379.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3897, allocations: 12.03 kB / 379.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.3901, allocations: 173.8 kB / 379.4 MB, free: 440 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.3913, allocations: 0.6139 MB / 380 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.3915, allocations: 139.8 kB / 380.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/0.3918, allocations: 184 kB / 380.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005449/0.3973, allocations: 2.786 MB / 383.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.367e-05/0.3974, allocations: 0 / 383.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/0.3976, allocations: 72 kB / 383.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002436/0.3978, allocations: 176.3 kB / 383.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007951/0.4058, allocations: 3.745 MB / 387.1 MB, free: 8.629 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/0.4203, allocations: 6.688 MB / 393.8 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.4221, allocations: 0.6855 MB / 394.5 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.896e-05/0.4223, allocations: 24.52 kB / 394.5 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.4223, allocations: 51.28 kB / 394.5 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 4.083e-06/0.4224, allocations: 288 / 394.5 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.002852/0.4252, allocations: 0.9891 MB / 395.5 MB, free: 15.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.4253, allocations: 59.97 kB / 395.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/0.4277, allocations: 1.387 MB / 397 MB, free: 14.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.683e-05/0.4278, allocations: 37.7 kB / 397 MB, free: 14.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.429, allocations: 1.341 MB / 398.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/0.4294, allocations: 272.7 kB / 398.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.4296, allocations: 68 kB / 398.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003309/0.4299, allocations: 441.3 kB / 399.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.4317, allocations: 0.693 MB / 399.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003617/0.4353, allocations: 2.745 MB / 402.5 MB, free: 7.805 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/0.4382, allocations: 1.284 MB / 403.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.015e-05/0.4383, allocations: 24 kB / 403.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.008116/0.4464, allocations: 3.258 MB / 407.1 MB, free: 3.238 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.633e-05/0.4465, allocations: 36 kB / 407.1 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/0.4466, allocations: 72.88 kB / 407.2 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.4468, allocations: 112 kB / 407.3 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00348/0.4503, allocations: 0.8813 MB / 408.2 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004708/0.4551, allocations: 6.051 MB / 414.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/0.4579, allocations: 439.9 kB / 414.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004511/0.4584, allocations: 220 kB / 414.9 MB, free: 11.21 MB / 346.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.001422/0.4598, allocations: 0.7117 MB / 415.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.4601, allocations: 122.4 kB / 415.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/0.4646, allocations: 1.293 MB / 417 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.4646, allocations: 8 kB / 417 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.709e-06/0.4647, allocations: 0 / 417 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.4647, allocations: 3.984 kB / 417 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.4665, allocations: 0.9514 MB / 418 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.204e-06/0.4666, allocations: 0 / 418 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.4682, allocations: 327.6 kB / 418.3 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.4682, allocations: 4 kB / 418.3 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.396e-05/0.4683, allocations: 35.97 kB / 418.3 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004448/0.4728, allocations: 5.915 MB / 424.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.083e-06/0.4728, allocations: 0 / 424.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.475, allocations: 0.9054 MB / 425.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/0.4756, allocations: 299.2 kB / 425.5 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.4758, allocations: 8 kB / 425.5 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.4763, allocations: 47.97 kB / 425.5 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.4765, allocations: 64.56 kB / 425.6 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.386e-05/0.4766, allocations: 39.98 kB / 425.6 MB, free: 148 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001472/0.4781, allocations: 0.7886 MB / 426.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.03e-06/0.4781, allocations: 0 / 426.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002932/0.4811, allocations: 498.9 kB / 426.9 MB, free: 14.86 MB / 362.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.0005159/0.4816, allocations: 198.9 kB / 427.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005201/0.4868, allocations: 1.919 MB / 429 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.665e-06/0.4869, allocations: 0 / 429 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.4888, allocations: 0.5227 MB / 429.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.4893, allocations: 84.75 kB / 429.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005855/0.4952, allocations: 3.122 MB / 432.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.4967, allocations: 1.456 MB / 434.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000534/0.4973, allocations: 171.4 kB / 434.4 MB, free: 7.355 MB / 362.7 MB Notification: Performance of SimCode: time 1.719e-06/0.4973, allocations: 11.94 kB / 434.4 MB, free: 7.344 MB / 362.7 MB Notification: Performance of Templates: time 0.4614/0.9588, allocations: 83.19 MB / 0.5054 GB, free: 58.22 MB / 394.7 MB