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.General.dp_nominalPressureLossLawDensity_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.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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.194/2.194, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007162/0.0007162, allocations: 12 kB / 314.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2863, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4151, allocations: 87.88 MB / 457.2 MB, free: 2.707 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.4155, allocations: 95.94 kB / 457.3 MB, free: 2.613 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.03511/0.4506, allocations: 8.897 MB / 466.2 MB, free: 9.582 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.601e-06/0.4506, allocations: 0 / 466.2 MB, free: 9.582 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.4507, allocations: 4 kB / 466.2 MB, free: 9.578 MB / 394.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.0007506/0.4514, allocations: 0.5228 MB / 466.7 MB, free: 9.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4515, allocations: 8.031 kB / 466.7 MB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.365e-05/0.4516, allocations: 35.58 kB / 466.7 MB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.4519, allocations: 242.6 kB / 467 MB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.4519, allocations: 32.98 kB / 467 MB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.452, allocations: 32 kB / 467 MB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009445/0.453, allocations: 486 kB / 467.5 MB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.453, allocations: 0 / 467.5 MB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.4531, allocations: 12 kB / 467.5 MB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-05/0.4531, allocations: 32.94 kB / 467.5 MB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.454, allocations: 423.7 kB / 468 MB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.456, allocations: 1.205 MB / 469.2 MB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.4563, allocations: 90.45 kB / 469.3 MB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.4563, allocations: 3.938 kB / 469.3 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4564, allocations: 34.56 kB / 469.3 MB, free: 6.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.29e-06/0.4564, allocations: 0 / 469.3 MB, free: 6.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006072/0.457, allocations: 169.6 kB / 469.5 MB, free: 6.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.457, allocations: 55.34 kB / 469.5 MB, free: 5.988 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.4572, allocations: 157.3 kB / 469.7 MB, free: 5.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.4573, allocations: 25.7 kB / 469.7 MB, free: 5.789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.4575, allocations: 289.7 kB / 470 MB, free: 5.504 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.4575, allocations: 27.64 kB / 470 MB, free: 5.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.4576, allocations: 4 kB / 470 MB, free: 5.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4577, allocations: 322.8 kB / 470.3 MB, free: 5.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.4579, allocations: 51.95 kB / 470.4 MB, free: 5.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.4582, allocations: 172.2 kB / 470.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.4585, allocations: 92.17 kB / 470.6 MB, free: 4.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-06/0.4585, allocations: 4 kB / 470.6 MB, free: 4.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006438/0.4591, allocations: 257.5 kB / 470.9 MB, free: 4.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4592, allocations: 12.09 kB / 470.9 MB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4592, allocations: 4 kB / 470.9 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4592, allocations: 4 kB / 470.9 MB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.4597, allocations: 91.88 kB / 471 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.461, allocations: 1.789 MB / 472.8 MB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.4613, allocations: 27.83 kB / 472.8 MB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.4613, allocations: 12 kB / 472.8 MB, free: 2.512 MB / 394.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 () * Number of clocked 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.0002723/0.4616, allocations: 189.8 kB / 473 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.4616, allocations: 7.906 kB / 473 MB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007315/0.4624, allocations: 205.9 kB / 473.2 MB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.027e-06/0.4624, allocations: 0 / 473.2 MB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.133e-06/0.4624, allocations: 3.938 kB / 473.2 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4624, allocations: 3.953 kB / 473.2 MB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.4629, allocations: 297.5 kB / 473.5 MB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.325e-06/0.4629, allocations: 0 / 473.5 MB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.4632, allocations: 67.89 kB / 473.6 MB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.955e-06/0.4633, allocations: 0 / 473.6 MB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.4633, allocations: 4 kB / 473.6 MB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2445/0.7078, allocations: 1.77 MB / 475.4 MB, free: 96.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.19e-06/0.7079, allocations: 0.6094 kB / 475.4 MB, free: 96.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.7084, allocations: 230 kB / 475.6 MB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.7085, allocations: 86.8 kB / 475.7 MB, free: 96.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.7085, allocations: 5.797 kB / 475.7 MB, free: 96.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.7087, allocations: 10.09 kB / 475.7 MB, free: 96.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.7087, allocations: 12.25 kB / 475.7 MB, free: 96.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.7088, allocations: 4.953 kB / 475.7 MB, free: 96.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.7089, allocations: 115.9 kB / 475.8 MB, free: 96.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.7089, allocations: 0 / 475.8 MB, free: 96.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006539/0.7096, allocations: 104.2 kB / 475.9 MB, free: 96.64 MB / 394.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 (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.00034/0.7099, allocations: 176.8 kB / 476.1 MB, free: 96.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007712/0.7107, allocations: 181.8 kB / 476.3 MB, free: 96.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.558e-06/0.7107, allocations: 2 kB / 476.3 MB, free: 96.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.7111, allocations: 82.14 kB / 476.3 MB, free: 96.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.7113, allocations: 9.109 kB / 476.4 MB, free: 96.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.7124, allocations: 0.6026 MB / 477 MB, free: 96.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.7127, allocations: 0.7989 MB / 477.8 MB, free: 95.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.7128, allocations: 21.55 kB / 477.8 MB, free: 95.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.42e-06/0.7128, allocations: 0 / 477.8 MB, free: 95.48 MB / 394.7 MB Notification: Performance of Templates: time 0.01036/0.7232, allocations: 7.009 MB / 484.8 MB, free: 94.94 MB / 394.7 MB