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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.244/2.244, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.948e-05/1.967e-05, allocations: 0 / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2726, allocations: 54.87 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4055, allocations: 87.1 MB / 445.2 MB, free: 7.699 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.4058, allocations: 99.92 kB / 445.3 MB, free: 7.602 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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.03479/0.4406, allocations: 8.769 MB / 454 MB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.569e-06/0.4407, allocations: 4 kB / 454 MB, free: 14.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.4407, allocations: 4 kB / 454 MB, free: 14.7 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.0007724/0.4415, allocations: 0.514 MB / 454.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4415, allocations: 8.031 kB / 454.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.4416, allocations: 35.58 kB / 454.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.442, allocations: 242.6 kB / 454.8 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.442, allocations: 15.94 kB / 454.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.4421, allocations: 24 kB / 454.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007081/0.4428, allocations: 385.3 kB / 455.3 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000739/0.4436, allocations: 397.3 kB / 455.6 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4436, allocations: 4 kB / 455.6 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.4436, allocations: 7.938 kB / 455.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/0.4437, allocations: 20.78 kB / 455.7 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.4457, allocations: 1.124 MB / 456.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4458, allocations: 62.5 kB / 456.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.4459, allocations: 28.84 kB / 456.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.4459, allocations: 4 kB / 456.9 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.446, allocations: 34.56 kB / 456.9 MB, free: 11.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.098e-06/0.446, allocations: 0 / 456.9 MB, free: 11.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000288/0.4463, allocations: 93.7 kB / 457 MB, free: 11.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.4464, allocations: 51.41 kB / 457.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.4465, allocations: 150.5 kB / 457.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.4466, allocations: 25.7 kB / 457.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.4468, allocations: 290 kB / 457.5 MB, free: 10.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.4468, allocations: 31.64 kB / 457.6 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.4468, allocations: 0 / 457.6 MB, free: 10.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.447, allocations: 326.8 kB / 457.9 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.363e-05/0.4471, allocations: 35.98 kB / 457.9 MB, free: 10.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.4473, allocations: 145.8 kB / 458.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.4474, allocations: 72.3 kB / 458.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.042e-06/0.4475, allocations: 3.938 kB / 458.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004351/0.4479, allocations: 193.2 kB / 458.3 MB, free: 10.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4479, allocations: 8 kB / 458.3 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.448, allocations: 4.562 kB / 458.3 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.448, allocations: 4 kB / 458.3 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.4485, allocations: 95.88 kB / 458.4 MB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.4498, allocations: 1.789 MB / 460.2 MB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.4501, allocations: 31.72 kB / 460.2 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.4501, allocations: 16 kB / 460.3 MB, free: 8.09 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 () * 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.0001391/0.4503, allocations: 116.8 kB / 460.4 MB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.4503, allocations: 7.906 kB / 460.4 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005437/0.4509, allocations: 178 kB / 460.6 MB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.8e-06/0.4509, allocations: 4 kB / 460.6 MB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.092e-06/0.4509, allocations: 0 / 460.6 MB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.105e-06/0.4509, allocations: 4 kB / 460.6 MB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.4513, allocations: 226.1 kB / 460.8 MB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.468e-06/0.4513, allocations: 3.938 kB / 460.8 MB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.4516, allocations: 63.94 kB / 460.9 MB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.4517, allocations: 0 / 460.9 MB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.4517, allocations: 4 kB / 460.9 MB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.453, allocations: 1.774 MB / 462.6 MB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.366e-06/0.453, allocations: 4.031 kB / 462.6 MB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.4533, allocations: 187.6 kB / 462.8 MB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.4533, allocations: 92.95 kB / 462.9 MB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.4534, allocations: 0 / 462.9 MB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.4535, allocations: 11.98 kB / 462.9 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.4536, allocations: 7.984 kB / 462.9 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.4536, allocations: 4 kB / 462.9 MB, free: 5.266 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.4538, allocations: 107.3 kB / 463 MB, free: 5.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.4538, allocations: 0 / 463 MB, free: 5.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006266/0.4544, allocations: 103.5 kB / 463.1 MB, free: 5.059 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 () * 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.0003642/0.4548, allocations: 182.5 kB / 463.3 MB, free: 4.875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004975/0.4553, allocations: 128 kB / 463.4 MB, free: 4.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.664e-06/0.4553, allocations: 0 / 463.4 MB, free: 4.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.4556, allocations: 67.88 kB / 463.5 MB, free: 4.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.4558, allocations: 11.95 kB / 463.5 MB, free: 4.672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.4566, allocations: 320.8 kB / 463.8 MB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.4571, allocations: 0.7982 MB / 464.6 MB, free: 3.512 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.4572, allocations: 23.44 kB / 464.7 MB, free: 3.488 MB / 394.7 MB Notification: Performance of SimCode: time 3.432e-06/0.4572, allocations: 3.938 kB / 464.7 MB, free: 3.484 MB / 394.7 MB Notification: Performance of Templates: time 0.2458/0.703, allocations: 6.991 MB / 471.6 MB, free: 100.6 MB / 394.7 MB