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.2/2.2, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.81e-05, allocations: 4 kB / 309.7 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3608, allocations: 54.85 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.4952, allocations: 87.78 MB / 452.3 MB, free: 8.684 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.4955, allocations: 99.92 kB / 452.4 MB, free: 8.586 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.0358/0.5314, allocations: 8.893 MB / 461.3 MB, free: 15.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.006e-06/0.5314, allocations: 0 / 461.3 MB, free: 15.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.5314, allocations: 7.938 kB / 461.3 MB, free: 15.59 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.0007703/0.5322, allocations: 0.5177 MB / 461.9 MB, free: 15.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5323, allocations: 15.97 kB / 461.9 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.5324, allocations: 31.62 kB / 461.9 MB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.5327, allocations: 230.7 kB / 462.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.5328, allocations: 28.78 kB / 462.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.5328, allocations: 28 kB / 462.2 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/0.5337, allocations: 458.9 kB / 462.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.5337, allocations: 0 / 462.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.5338, allocations: 16 kB / 462.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.5339, allocations: 32.66 kB / 462.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.5346, allocations: 387 kB / 463.1 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.5367, allocations: 1.209 MB / 464.3 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.5369, allocations: 66.55 kB / 464.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.166e-05/0.537, allocations: 32.84 kB / 464.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.537, allocations: 8.141 kB / 464.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.5371, allocations: 38.5 kB / 464.4 MB, free: 12.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.534e-06/0.5371, allocations: 0 / 464.4 MB, free: 12.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003032/0.5374, allocations: 89.58 kB / 464.5 MB, free: 12.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.5374, allocations: 59.34 kB / 464.6 MB, free: 12.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.5376, allocations: 156.5 kB / 464.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.5377, allocations: 29.7 kB / 464.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.5379, allocations: 289.6 kB / 465 MB, free: 11.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.538, allocations: 31.62 kB / 465.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.538, allocations: 4 kB / 465.1 MB, free: 11.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.5382, allocations: 318.8 kB / 465.4 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5383, allocations: 43.97 kB / 465.4 MB, free: 11.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.5385, allocations: 160.2 kB / 465.6 MB, free: 11.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.5387, allocations: 71.89 kB / 465.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.577e-06/0.5387, allocations: 0 / 465.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005225/0.5392, allocations: 217.3 kB / 465.9 MB, free: 10.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.5392, allocations: 8 kB / 465.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5393, allocations: 4 kB / 465.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.5393, allocations: 8 kB / 465.9 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.5398, allocations: 95.83 kB / 466 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.5412, allocations: 1.782 MB / 467.7 MB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.5415, allocations: 28.11 kB / 467.8 MB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.5415, allocations: 16.16 kB / 467.8 MB, free: 8.75 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.0001456/0.5417, allocations: 128.8 kB / 467.9 MB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.5417, allocations: 7.906 kB / 467.9 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005798/0.5423, allocations: 178.8 kB / 468.1 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-06/0.5423, allocations: 0 / 468.1 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.283e-06/0.5423, allocations: 3.953 kB / 468.1 MB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.877e-06/0.5424, allocations: 4 kB / 468.1 MB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.5429, allocations: 289.5 kB / 468.4 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-06/0.5429, allocations: 0 / 468.4 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.5432, allocations: 63.95 kB / 468.4 MB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.603e-06/0.5433, allocations: 4 kB / 468.5 MB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.5433, allocations: 4 kB / 468.5 MB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.5446, allocations: 1.781 MB / 470.2 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.875e-06/0.5446, allocations: 3.953 kB / 470.2 MB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.5449, allocations: 183.5 kB / 470.4 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.545, allocations: 92.94 kB / 470.5 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.545, allocations: 0 / 470.5 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.5452, allocations: 8.094 kB / 470.5 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.5452, allocations: 11.98 kB / 470.5 MB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.5453, allocations: 11.89 kB / 470.5 MB, free: 5.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.5454, allocations: 122.5 kB / 470.7 MB, free: 5.715 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.5454, allocations: 0 / 470.7 MB, free: 5.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006333/0.546, allocations: 103.5 kB / 470.8 MB, free: 5.613 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.000372/0.5464, allocations: 190.1 kB / 471 MB, free: 5.418 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005577/0.547, allocations: 140.9 kB / 471.1 MB, free: 5.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.157e-06/0.547, allocations: 4 kB / 471.1 MB, free: 5.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.5474, allocations: 63.95 kB / 471.2 MB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.5476, allocations: 4 kB / 471.2 MB, free: 5.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007504/0.5484, allocations: 326.9 kB / 471.5 MB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.549, allocations: 0.7985 MB / 472.3 MB, free: 4.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.549, allocations: 23.42 kB / 472.3 MB, free: 4.016 MB / 394.7 MB Notification: Performance of SimCode: time 1.627e-06/0.549, allocations: 0 / 472.3 MB, free: 4.016 MB / 394.7 MB Notification: Performance of Templates: time 0.01193/0.561, allocations: 6.989 MB / 479.3 MB, free: 13.02 MB / 410.7 MB