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.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.187/2.187, allocations: 209.4 MB / 217.3 MB, free: 4.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.728e-05, allocations: 0 / 271.3 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3076, allocations: 48.68 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.4288, allocations: 80.69 MB / 400.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.4291, allocations: 95.94 kB / 400.8 MB, free: 15.65 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.03498/0.4641, allocations: 8.773 MB / 409.6 MB, free: 6.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.279e-06/0.4641, allocations: 0 / 409.6 MB, free: 6.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.4642, allocations: 4 kB / 409.6 MB, free: 6.746 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007511/0.4649, allocations: 0.5217 MB / 410.1 MB, free: 6.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.465, allocations: 12.03 kB / 410.1 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.4651, allocations: 31.62 kB / 410.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.4654, allocations: 242.6 kB / 410.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.4655, allocations: 8 kB / 410.4 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.4655, allocations: 20 kB / 410.4 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007197/0.4663, allocations: 381.4 kB / 410.8 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.4671, allocations: 413.2 kB / 411.2 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4671, allocations: 0 / 411.2 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.4671, allocations: 0 / 411.2 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/0.4672, allocations: 24.78 kB / 411.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.4691, allocations: 1.129 MB / 412.3 MB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.4693, allocations: 66.52 kB / 412.4 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.276e-05/0.4694, allocations: 24.84 kB / 412.4 MB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.4694, allocations: 4.156 kB / 412.4 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.4695, allocations: 38.55 kB / 412.5 MB, free: 3.652 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.446e-06/0.4695, allocations: 0 / 412.5 MB, free: 3.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002872/0.4698, allocations: 101.5 kB / 412.6 MB, free: 3.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.4698, allocations: 51.41 kB / 412.6 MB, free: 3.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.47, allocations: 145.4 kB / 412.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.4701, allocations: 25.7 kB / 412.8 MB, free: 3.301 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.4703, allocations: 286 kB / 413.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.453e-05/0.4703, allocations: 27.64 kB / 413.1 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.4703, allocations: 0 / 413.1 MB, free: 2.992 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4705, allocations: 326.8 kB / 413.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/0.4706, allocations: 31.98 kB / 413.5 MB, free: 2.633 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.4708, allocations: 163.1 kB / 413.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.471, allocations: 64.23 kB / 413.7 MB, free: 2.355 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.854e-06/0.471, allocations: 0 / 413.7 MB, free: 2.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004668/0.4715, allocations: 197.2 kB / 413.9 MB, free: 2.156 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4715, allocations: 6.344 kB / 413.9 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4715, allocations: 4 kB / 413.9 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.4715, allocations: 8 kB / 413.9 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.472, allocations: 96.38 kB / 414 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.4734, allocations: 1.782 MB / 415.8 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.4737, allocations: 27.89 kB / 415.8 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.4737, allocations: 15.94 kB / 415.8 MB, free: 156 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.4739, allocations: 120.9 kB / 415.9 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.4739, allocations: 11.86 kB / 415.9 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005706/0.4745, allocations: 177.8 kB / 416.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.421e-06/0.4745, allocations: 0 / 416.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.924e-06/0.4745, allocations: 0 / 416.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.402e-06/0.4746, allocations: 0 / 416.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.475, allocations: 230.1 kB / 416.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.034e-06/0.475, allocations: 3.984 kB / 416.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.4753, allocations: 63.95 kB / 416.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.281e-06/0.4753, allocations: 3.953 kB / 416.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.4753, allocations: 4 kB / 416.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.4767, allocations: 1.774 MB / 418.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.4767, allocations: 4 kB / 418.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.477, allocations: 195.4 kB / 418.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.4771, allocations: 88.95 kB / 418.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.4772, allocations: 3.953 kB / 418.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.4773, allocations: 12.17 kB / 418.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.4774, allocations: 11.98 kB / 418.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.4774, allocations: 4 kB / 418.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.4775, allocations: 103.3 kB / 418.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.85e-07/0.4776, allocations: 0 / 418.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006185/0.4782, allocations: 103.5 kB / 418.7 MB, free: 13.11 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003524/0.4786, allocations: 174.5 kB / 418.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005013/0.4791, allocations: 133.2 kB / 419 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.093e-06/0.4791, allocations: 4 kB / 419 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.4794, allocations: 63.95 kB / 419.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.4796, allocations: 8.25 kB / 419.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.4804, allocations: 319.8 kB / 419.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.481, allocations: 0.7982 MB / 420.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.481, allocations: 19.44 kB / 420.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of SimCode: time 1.976e-06/0.4811, allocations: 0 / 420.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of Templates: time 0.01252/0.4936, allocations: 6.988 MB / 427.2 MB, free: 4.555 MB / 362.7 MB