Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.985/1.985, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.934e-05, allocations: 4 kB / 277.9 MB, free: 15.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 48.7 MB / 326.6 MB, free: 14.47 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/0.4895, allocations: 81.35 MB / 407.9 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.4898, allocations: 91.41 kB / 408 MB, free: 8.09 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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.03237/0.5222, allocations: 8.891 MB / 416.9 MB, free: 1.941 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.5222, allocations: 4 kB / 416.9 MB, free: 1.938 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.5223, allocations: 0 / 416.9 MB, free: 1.938 MB / 314.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.0005811/0.5229, allocations: 0.5233 MB / 417.4 MB, free: 1.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5229, allocations: 12.03 kB / 417.4 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.523, allocations: 31.62 kB / 417.5 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.5233, allocations: 233.9 kB / 417.7 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.5233, allocations: 23.03 kB / 417.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.5234, allocations: 34.62 kB / 417.8 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.5241, allocations: 457.6 kB / 418.2 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.5241, allocations: 0 / 418.2 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.5242, allocations: 14.75 kB / 418.2 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/0.5242, allocations: 24.7 kB / 418.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005793/0.5248, allocations: 397.2 kB / 418.6 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.5267, allocations: 1.213 MB / 419.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.5269, allocations: 62.44 kB / 419.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.527, allocations: 32.41 kB / 419.9 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.5271, allocations: 4.094 kB / 419.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.5271, allocations: 42.55 kB / 420 MB, free: 15.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 3.935e-06/0.5271, allocations: 0 / 420 MB, free: 15.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003116/0.5275, allocations: 92.12 kB / 420.1 MB, free: 15.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.5275, allocations: 51.41 kB / 420.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.5277, allocations: 152.4 kB / 420.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.5278, allocations: 25.7 kB / 420.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.528, allocations: 288.3 kB / 420.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.528, allocations: 34.08 kB / 420.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.5281, allocations: 3.938 kB / 420.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5282, allocations: 322.3 kB / 420.9 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.66e-05/0.5283, allocations: 35.11 kB / 421 MB, free: 14.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.5286, allocations: 162.2 kB / 421.1 MB, free: 13.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.5287, allocations: 74.19 kB / 421.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.331e-06/0.5287, allocations: 0 / 421.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004948/0.5293, allocations: 221.7 kB / 421.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5293, allocations: 4 kB / 421.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5293, allocations: 8 kB / 421.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.5293, allocations: 4 kB / 421.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.5298, allocations: 91.25 kB / 421.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.5313, allocations: 1.775 MB / 423.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.5315, allocations: 31.48 kB / 423.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.5315, allocations: 19.31 kB / 423.3 MB, free: 11.7 MB / 330.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.0001546/0.5317, allocations: 136.5 kB / 423.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.5318, allocations: 7.906 kB / 423.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005913/0.5324, allocations: 170.4 kB / 423.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.622e-06/0.5324, allocations: 4 kB / 423.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.617e-06/0.5324, allocations: 0 / 423.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.5324, allocations: 3.984 kB / 423.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.5329, allocations: 292.9 kB / 423.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.342e-06/0.5329, allocations: 7.984 kB / 423.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.5333, allocations: 63.95 kB / 424 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.494e-06/0.5333, allocations: 0 / 424 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.5333, allocations: 7.984 kB / 424 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.5347, allocations: 1.776 MB / 425.8 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.028e-06/0.5347, allocations: 80 / 425.8 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.535, allocations: 197 kB / 426 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.5351, allocations: 84.95 kB / 426.1 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.5352, allocations: 6.688 kB / 426.1 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.5353, allocations: 16.02 kB / 426.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.5354, allocations: 4 kB / 426.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.5354, allocations: 7.984 kB / 426.1 MB, free: 8.848 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.5355, allocations: 117.1 kB / 426.2 MB, free: 8.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.5356, allocations: 0 / 426.2 MB, free: 8.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006496/0.5362, allocations: 103.4 kB / 426.3 MB, free: 8.648 MB / 330.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.0003664/0.5366, allocations: 180.8 kB / 426.5 MB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005619/0.5372, allocations: 153.6 kB / 426.6 MB, free: 8.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.935e-06/0.5372, allocations: 0 / 426.6 MB, free: 8.336 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.5375, allocations: 67.02 kB / 426.7 MB, free: 8.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.5378, allocations: 7.812 kB / 426.7 MB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.5385, allocations: 324.5 kB / 427 MB, free: 7.941 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.5391, allocations: 0.8016 MB / 427.8 MB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.5391, allocations: 19.44 kB / 427.9 MB, free: 7.102 MB / 330.7 MB Notification: Performance of SimCode: time 1.68e-06/0.5392, allocations: 0 / 427.9 MB, free: 7.102 MB / 330.7 MB Notification: Performance of Templates: time 0.01212/0.5513, allocations: 6.987 MB / 434.8 MB, free: 132 kB / 330.7 MB