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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|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_volumeFlowRate_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.107/2.107, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.117e-05, allocations: 4 kB / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.316, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.5194, allocations: 83.69 MB / 441.8 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.5197, allocations: 91.94 kB / 441.8 MB, free: 11.04 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, 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:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02563/0.5454, allocations: 5.958 MB / 447.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.975e-06/0.5454, allocations: 0 / 447.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.954e-06/0.5455, allocations: 8 kB / 447.8 MB, free: 5.043 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006233/0.5461, allocations: 443.6 kB / 448.2 MB, free: 4.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5462, allocations: 12.03 kB / 448.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005706/0.5467, allocations: 71.69 kB / 448.3 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.5471, allocations: 214.9 kB / 448.5 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.5471, allocations: 8 kB / 448.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.5472, allocations: 19.92 kB / 448.6 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000501/0.5477, allocations: 227.7 kB / 448.8 MB, free: 3.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.5482, allocations: 241.5 kB / 449 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5482, allocations: 0 / 449 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.5482, allocations: 3.953 kB / 449 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.5483, allocations: 15.98 kB / 449 MB, free: 3.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.5498, allocations: 0.7408 MB / 449.8 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.5502, allocations: 158.4 kB / 449.9 MB, free: 2.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.5503, allocations: 53.08 kB / 450 MB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.5503, allocations: 11.94 kB / 450 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.5504, allocations: 38.55 kB / 450 MB, free: 2.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.5504, allocations: 0 / 450 MB, free: 2.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004631/0.5509, allocations: 149.5 kB / 450.2 MB, free: 2.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.5509, allocations: 59.34 kB / 450.2 MB, free: 2.402 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.5511, allocations: 121.2 kB / 450.4 MB, free: 2.277 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.5511, allocations: 25.7 kB / 450.4 MB, free: 2.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.5513, allocations: 214.1 kB / 450.6 MB, free: 2.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.5513, allocations: 31.55 kB / 450.6 MB, free: 2.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.5513, allocations: 0 / 450.6 MB, free: 2.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5515, allocations: 326.8 kB / 450.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.5517, allocations: 51.95 kB / 451 MB, free: 1.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.5518, allocations: 95.66 kB / 451.1 MB, free: 1.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.552, allocations: 79.86 kB / 451.2 MB, free: 1.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.552, allocations: 0 / 451.2 MB, free: 1.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004929/0.5525, allocations: 205.5 kB / 451.4 MB, free: 1.223 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5526, allocations: 6.812 kB / 451.4 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.121e-06/0.5526, allocations: 4 kB / 451.4 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.5526, allocations: 0 / 451.4 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.5532, allocations: 83.84 kB / 451.5 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.5546, allocations: 1.789 MB / 453.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.5549, allocations: 19.83 kB / 453.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.5549, allocations: 11.98 kB / 453.3 MB, free: 15.24 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001308/0.5551, allocations: 117.1 kB / 453.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.5551, allocations: 7.906 kB / 453.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008085/0.556, allocations: 253.9 kB / 453.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.556, allocations: 0 / 453.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.556, allocations: 0 / 453.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.445e-06/0.556, allocations: 0 / 453.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.5563, allocations: 210 kB / 453.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-06/0.5564, allocations: 0 / 453.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.5568, allocations: 67.88 kB / 453.9 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.468e-06/0.5568, allocations: 4 kB / 453.9 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.5568, allocations: 0 / 453.9 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.5582, allocations: 1.793 MB / 455.7 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.333e-06/0.5582, allocations: 0 / 455.7 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.5586, allocations: 219.3 kB / 455.9 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.5586, allocations: 85.02 kB / 456 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.5587, allocations: 7.984 kB / 456 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.5589, allocations: 4 kB / 456 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.559, allocations: 12.08 kB / 456 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.559, allocations: 7.984 kB / 456 MB, free: 12.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.5591, allocations: 114 kB / 456.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.16e-07/0.5591, allocations: 0 / 456.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005052/0.5596, allocations: 63.78 kB / 456.2 MB, free: 12.15 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 (13): * Single equations (assignments): 10 * 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.0002941/0.5599, allocations: 153.8 kB / 456.4 MB, free: 11.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005369/0.5605, allocations: 140.1 kB / 456.5 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.834e-06/0.5605, allocations: 192 / 456.5 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.5609, allocations: 75.89 kB / 456.6 MB, free: 11.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.5611, allocations: 23.88 kB / 456.6 MB, free: 11.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006942/0.5618, allocations: 255.3 kB / 456.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.5623, allocations: 0.7473 MB / 457.6 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5624, allocations: 27.42 kB / 457.6 MB, free: 10.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5624, allocations: 0 / 457.6 MB, free: 10.68 MB / 394.7 MB Notification: Performance of Templates: time 0.01006/0.5725, allocations: 4.79 MB / 462.4 MB, free: 5.891 MB / 394.7 MB