Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.023/2.023, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005283/0.0005284, allocations: 15.98 kB / 283.1 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3461, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.4888, allocations: 81.44 MB / 413.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003898/0.4892, allocations: 103.9 kB / 413.4 MB, free: 12.89 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.03937/0.5286, allocations: 8.877 MB / 422.2 MB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5287, allocations: 0 / 422.2 MB, free: 3.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.5287, allocations: 4 kB / 422.2 MB, free: 3.883 MB / 346.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.0009006/0.5296, allocations: 0.5337 MB / 422.8 MB, free: 3.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5297, allocations: 8.031 kB / 422.8 MB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.5298, allocations: 35.62 kB / 422.8 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.5301, allocations: 242.6 kB / 423.1 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.5302, allocations: 21 kB / 423.1 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.5303, allocations: 39.98 kB / 423.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.5314, allocations: 490 kB / 423.6 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.5315, allocations: 4 kB / 423.6 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.5315, allocations: 19.92 kB / 423.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.395e-05/0.5316, allocations: 21 kB / 423.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.5327, allocations: 435.7 kB / 424.1 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.5351, allocations: 1.213 MB / 425.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.5355, allocations: 78.47 kB / 425.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.5355, allocations: 11.98 kB / 425.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.5356, allocations: 30.56 kB / 425.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.785e-06/0.5356, allocations: 0 / 425.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007783/0.5364, allocations: 173.5 kB / 425.6 MB, free: 348 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.5364, allocations: 51.41 kB / 425.6 MB, free: 284 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.5366, allocations: 158.4 kB / 425.8 MB, free: 112 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.5367, allocations: 37.64 kB / 425.8 MB, free: 68 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.5369, allocations: 281.8 kB / 426.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.5369, allocations: 27.56 kB / 426.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.537, allocations: 7.938 kB / 426.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5371, allocations: 322.8 kB / 426.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.5374, allocations: 55.95 kB / 426.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.5377, allocations: 184.2 kB / 426.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.5381, allocations: 76.3 kB / 426.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.5381, allocations: 0 / 426.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007875/0.5389, allocations: 265.4 kB / 427 MB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.5389, allocations: 8 kB / 427 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5389, allocations: 4 kB / 427 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.539, allocations: 8 kB / 427 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.5396, allocations: 91.88 kB / 427.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.5408, allocations: 1.778 MB / 428.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.5411, allocations: 31.83 kB / 428.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.5411, allocations: 12.28 kB / 428.9 MB, free: 12.8 MB / 362.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.0003322/0.5415, allocations: 185.6 kB / 429.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.5415, allocations: 11.81 kB / 429.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009541/0.5425, allocations: 214 kB / 429.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5425, allocations: 0 / 429.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5425, allocations: 0 / 429.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5425, allocations: 7.984 kB / 429.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.543, allocations: 297.4 kB / 429.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5431, allocations: 0 / 429.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.5435, allocations: 63.89 kB / 429.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.5435, allocations: 0 / 429.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.5436, allocations: 7.984 kB / 429.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.5447, allocations: 1.774 MB / 431.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.5447, allocations: 0 / 431.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.5453, allocations: 227.6 kB / 431.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.5454, allocations: 85.02 kB / 431.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.5454, allocations: 4 kB / 431.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.5456, allocations: 15.98 kB / 431.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.5457, allocations: 11.97 kB / 431.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.5457, allocations: 8 kB / 431.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.5458, allocations: 113.9 kB / 431.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.164e-06/0.5459, allocations: 0 / 431.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000654/0.5465, allocations: 119.5 kB / 432.1 MB, free: 9.512 MB / 362.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.0004136/0.5469, allocations: 171 kB / 432.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000953/0.5479, allocations: 188.8 kB / 432.4 MB, free: 9.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5479, allocations: 3.938 kB / 432.4 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005481/0.5485, allocations: 99.91 kB / 432.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.5487, allocations: 8 kB / 432.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.55, allocations: 0.6086 MB / 433.1 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.5505, allocations: 0.7985 MB / 433.9 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.5506, allocations: 23.42 kB / 433.9 MB, free: 7.551 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5506, allocations: 0 / 433.9 MB, free: 7.551 MB / 362.7 MB Notification: Performance of Templates: time 0.01443/0.5651, allocations: 6.993 MB / 440.9 MB, free: 0.5625 MB / 362.7 MB