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/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_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.327/2.327, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.848e-05/3.864e-05, allocations: 4 kB / 309.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4218, allocations: 54.86 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.5498, allocations: 84.35 MB / 448.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.5502, allocations: 99.92 kB / 449 MB, free: 12.02 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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/OpenModelica/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.02666/0.5768, allocations: 6.016 MB / 455 MB, free: 6.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.015e-06/0.5769, allocations: 0 / 455 MB, free: 6.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.5769, allocations: 7.938 kB / 455 MB, free: 6.004 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.0006239/0.5775, allocations: 438 kB / 455.5 MB, free: 5.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5776, allocations: 12.03 kB / 455.5 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005817/0.5782, allocations: 67.73 kB / 455.5 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.5785, allocations: 218.9 kB / 455.8 MB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.5786, allocations: 15.97 kB / 455.8 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.5786, allocations: 19.94 kB / 455.8 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.5792, allocations: 257.4 kB / 456 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5792, allocations: 3.938 kB / 456 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.5792, allocations: 4 kB / 456 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.5793, allocations: 23.94 kB / 456.1 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.5798, allocations: 239.8 kB / 456.3 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.5815, allocations: 0.7961 MB / 457.1 MB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.5819, allocations: 170.4 kB / 457.3 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.5821, allocations: 61.08 kB / 457.3 MB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.5821, allocations: 4 kB / 457.3 MB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.5821, allocations: 30.56 kB / 457.4 MB, free: 3.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.345e-06/0.5822, allocations: 0 / 457.4 MB, free: 3.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005069/0.5827, allocations: 173.3 kB / 457.5 MB, free: 3.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.5827, allocations: 51.41 kB / 457.6 MB, free: 3.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.583, allocations: 174.4 kB / 457.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.583, allocations: 25.7 kB / 457.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.5832, allocations: 202 kB / 458 MB, free: 2.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.5832, allocations: 35.48 kB / 458 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.5832, allocations: 0 / 458 MB, free: 2.789 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5834, allocations: 322.8 kB / 458.3 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.5836, allocations: 55.94 kB / 458.4 MB, free: 2.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.5838, allocations: 108.7 kB / 458.5 MB, free: 2.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.584, allocations: 79.95 kB / 458.6 MB, free: 2.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.959e-06/0.584, allocations: 3.938 kB / 458.6 MB, free: 2.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005468/0.5846, allocations: 213.2 kB / 458.8 MB, free: 1.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.5846, allocations: 8 kB / 458.8 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.835e-06/0.5847, allocations: 0 / 458.8 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.5847, allocations: 7.938 kB / 458.8 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.5853, allocations: 84.06 kB / 458.9 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.5866, allocations: 1.785 MB / 460.7 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.5869, allocations: 27.83 kB / 460.7 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.587, allocations: 12.05 kB / 460.7 MB, free: 15.99 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.0001286/0.5871, allocations: 116.8 kB / 460.8 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.5872, allocations: 11.81 kB / 460.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008642/0.5881, allocations: 258.9 kB / 461.1 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.126e-06/0.5881, allocations: 8 kB / 461.1 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.244e-06/0.5881, allocations: 0 / 461.1 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.601e-06/0.5882, allocations: 3.984 kB / 461.1 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.5886, allocations: 241.4 kB / 461.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.389e-06/0.5886, allocations: 0 / 461.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.589, allocations: 63.89 kB / 461.4 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.604e-06/0.589, allocations: 0 / 461.4 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.589, allocations: 7.984 kB / 461.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.5904, allocations: 1.782 MB / 463.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.472e-06/0.5904, allocations: 0 / 463.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.5908, allocations: 227.7 kB / 463.4 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.5909, allocations: 96.86 kB / 463.5 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.591, allocations: 4 kB / 463.5 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.5912, allocations: 11.98 kB / 463.5 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.5913, allocations: 11.98 kB / 463.5 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.5913, allocations: 4 kB / 463.5 MB, free: 13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.5915, allocations: 151.2 kB / 463.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.5915, allocations: 4 kB / 463.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005113/0.592, allocations: 67.84 kB / 463.7 MB, free: 12.78 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.0003066/0.5923, allocations: 154.3 kB / 463.9 MB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006268/0.593, allocations: 160.1 kB / 464 MB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.593, allocations: 0 / 464 MB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.5934, allocations: 83.88 kB / 464.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.5936, allocations: 12.14 kB / 464.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007358/0.5944, allocations: 269.6 kB / 464.4 MB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.5949, allocations: 0.7475 MB / 465.2 MB, free: 11.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.595, allocations: 31.41 kB / 465.2 MB, free: 11.28 MB / 394.7 MB Notification: Performance of SimCode: time 1.594e-06/0.595, allocations: 0 / 465.2 MB, free: 11.28 MB / 394.7 MB Notification: Performance of Templates: time 0.009641/0.6046, allocations: 4.946 MB / 470.1 MB, free: 6.34 MB / 394.7 MB