Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.622/2.622, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004402, allocations: 15.98 kB / 315 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3555, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.5136, allocations: 87.86 MB / 457.7 MB, free: 2.766 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003892/0.514, allocations: 103.9 kB / 457.8 MB, free: 2.664 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.04069/0.5547, allocations: 8.885 MB / 466.7 MB, free: 9.645 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5548, allocations: 3.938 kB / 466.7 MB, free: 9.641 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.5548, allocations: 8 kB / 466.7 MB, free: 9.633 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.0009562/0.5558, allocations: 0.5332 MB / 467.2 MB, free: 9.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5558, allocations: 12.03 kB / 467.2 MB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.556, allocations: 35.58 kB / 467.3 MB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.5563, allocations: 234.7 kB / 467.5 MB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.5564, allocations: 21 kB / 467.5 MB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.041e-05/0.5565, allocations: 36 kB / 467.5 MB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.5577, allocations: 486.1 kB / 468 MB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.5577, allocations: 0 / 468 MB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.5578, allocations: 19.98 kB / 468 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.895e-05/0.5579, allocations: 28.89 kB / 468.1 MB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.559, allocations: 431.7 kB / 468.5 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.5615, allocations: 1.205 MB / 469.7 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.5619, allocations: 82.52 kB / 469.8 MB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.5619, allocations: 4 kB / 469.8 MB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.562, allocations: 42.5 kB / 469.8 MB, free: 6.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/0.562, allocations: 3.938 kB / 469.8 MB, free: 6.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007813/0.5628, allocations: 165.6 kB / 470 MB, free: 6.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.5628, allocations: 55.41 kB / 470 MB, free: 6.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.5631, allocations: 170.3 kB / 470.2 MB, free: 5.855 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.5631, allocations: 25.7 kB / 470.2 MB, free: 5.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.5633, allocations: 293.6 kB / 470.5 MB, free: 5.535 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.5634, allocations: 23.66 kB / 470.5 MB, free: 5.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.5634, allocations: 4 kB / 470.5 MB, free: 5.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5635, allocations: 322.8 kB / 470.9 MB, free: 5.184 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.5638, allocations: 63.89 kB / 470.9 MB, free: 5.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.5641, allocations: 168.3 kB / 471.1 MB, free: 4.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.5645, allocations: 92.52 kB / 471.2 MB, free: 4.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5645, allocations: 4 kB / 471.2 MB, free: 4.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008061/0.5653, allocations: 257.1 kB / 471.4 MB, free: 4.547 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.5653, allocations: 8 kB / 471.4 MB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5654, allocations: 4 kB / 471.4 MB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.5654, allocations: 8 kB / 471.5 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.566, allocations: 95.88 kB / 471.5 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.5673, allocations: 1.786 MB / 473.3 MB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.5675, allocations: 24.12 kB / 473.4 MB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.5676, allocations: 20 kB / 473.4 MB, free: 2.535 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.0002998/0.5679, allocations: 182 kB / 473.6 MB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.568, allocations: 11.89 kB / 473.6 MB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009756/0.569, allocations: 202 kB / 473.8 MB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.569, allocations: 4 kB / 473.8 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.569, allocations: 7.938 kB / 473.8 MB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.569, allocations: 0 / 473.8 MB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.5696, allocations: 297.5 kB / 474.1 MB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5696, allocations: 0 / 474.1 MB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.57, allocations: 63.94 kB / 474.1 MB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.5701, allocations: 0 / 474.1 MB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.5701, allocations: 7.938 kB / 474.1 MB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2899/0.86, allocations: 1.774 MB / 475.9 MB, free: 97.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8601, allocations: 0 / 475.9 MB, free: 97.03 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/0.8608, allocations: 227.5 kB / 476.1 MB, free: 96.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.8608, allocations: 83.58 kB / 476.2 MB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.8609, allocations: 2.266 kB / 476.2 MB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.861, allocations: 12.83 kB / 476.2 MB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.8611, allocations: 9.453 kB / 476.2 MB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.8612, allocations: 7.875 kB / 476.2 MB, free: 96.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.8613, allocations: 112.2 kB / 476.4 MB, free: 96.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8613, allocations: 0 / 476.4 MB, free: 96.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006938/0.862, allocations: 107.8 kB / 476.5 MB, free: 96.73 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.0004268/0.8624, allocations: 168.2 kB / 476.6 MB, free: 96.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.8636, allocations: 195.7 kB / 476.8 MB, free: 96.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8636, allocations: 0 / 476.8 MB, free: 96.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000548/0.8642, allocations: 96.84 kB / 476.9 MB, free: 96.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.8644, allocations: 14.11 kB / 476.9 MB, free: 96.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.8656, allocations: 0.6029 MB / 477.5 MB, free: 96.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.866, allocations: 0.7983 MB / 478.3 MB, free: 95.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.569e-05/0.8661, allocations: 20.53 kB / 478.3 MB, free: 95.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.193e-06/0.8662, allocations: 0 / 478.3 MB, free: 95.57 MB / 394.7 MB Notification: Performance of Templates: time 0.01418/0.8803, allocations: 7.016 MB / 485.4 MB, free: 95.02 MB / 394.7 MB