Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01068/0.01068, allocations: 177.8 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.168/2.168, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004321/0.004321, allocations: 116.7 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2896/0.2896, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004777, allocations: 11.44 kB / 406.3 MB, free: 51.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09883, allocations: 54.88 MB / 461.2 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5108/0.6097, allocations: 87.86 MB / 0.5362 GB, free: 27.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/0.6102, allocations: 98.83 kB / 0.5363 GB, free: 27.89 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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.05421/0.6644, allocations: 8.9 MB / 0.545 GB, free: 26.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.6644, allocations: 0 / 0.545 GB, free: 26.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.6645, allocations: 4.844 kB / 0.545 GB, free: 26.72 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001318/0.6658, allocations: 0.5253 MB / 0.5455 GB, free: 26.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.176e-05/0.6659, allocations: 9.719 kB / 0.5455 GB, free: 26.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.6661, allocations: 81.16 kB / 0.5456 GB, free: 26.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.6663, allocations: 30.56 kB / 0.5456 GB, free: 26.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.6668, allocations: 238.5 kB / 0.5458 GB, free: 25.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.6669, allocations: 29.48 kB / 0.5458 GB, free: 25.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.667, allocations: 34.06 kB / 0.5459 GB, free: 25.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.6689, allocations: 481.2 kB / 0.5463 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.669, allocations: 0.6875 kB / 0.5463 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.6691, allocations: 17.53 kB / 0.5464 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.95e-05/0.6692, allocations: 31 kB / 0.5464 GB, free: 25.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.671, allocations: 436.5 kB / 0.5468 GB, free: 25.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.6743, allocations: 1.208 MB / 0.548 GB, free: 25.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.6748, allocations: 84.75 kB / 0.5481 GB, free: 25.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.608e-05/0.6749, allocations: 2.219 kB / 0.5481 GB, free: 25.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.675, allocations: 31.91 kB / 0.5481 GB, free: 25.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.677e-06/0.675, allocations: 4 kB / 0.5481 GB, free: 25.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001271/0.6763, allocations: 177 kB / 0.5483 GB, free: 25.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.6763, allocations: 60.45 kB / 0.5483 GB, free: 25.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.6767, allocations: 153 kB / 0.5485 GB, free: 24.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.6767, allocations: 26.52 kB / 0.5485 GB, free: 24.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.6769, allocations: 208.3 kB / 0.5487 GB, free: 24.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/0.677, allocations: 34.88 kB / 0.5487 GB, free: 24.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.6771, allocations: 1.156 kB / 0.5487 GB, free: 24.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.6772, allocations: 323.4 kB / 0.549 GB, free: 24.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.6776, allocations: 62.16 kB / 0.5491 GB, free: 24.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.6782, allocations: 173.1 kB / 0.5493 GB, free: 24.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.6787, allocations: 85.2 kB / 0.5493 GB, free: 24.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.6787, allocations: 5.438 kB / 0.5493 GB, free: 24.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001274/0.68, allocations: 253.3 kB / 0.5496 GB, free: 24.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.6801, allocations: 6.531 kB / 0.5496 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.6801, allocations: 3.812 kB / 0.5496 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/0.6802, allocations: 5.781 kB / 0.5496 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009428/0.6811, allocations: 98.77 kB / 0.5497 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.6825, allocations: 1.783 MB / 0.5514 GB, free: 22.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.683, allocations: 34.09 kB / 0.5515 GB, free: 22.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.683, allocations: 16.95 kB / 0.5515 GB, free: 22.36 MB / 378.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.0004377/0.6835, allocations: 181.3 kB / 0.5517 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.6836, allocations: 7.938 kB / 0.5517 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.6851, allocations: 209.3 kB / 0.5519 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.6852, allocations: 1 kB / 0.5519 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.6852, allocations: 8.578 kB / 0.5519 GB, free: 22.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.6852, allocations: 0.5 kB / 0.5519 GB, free: 22.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008063/0.686, allocations: 297.5 kB / 0.5522 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6861, allocations: 3.938 kB / 0.5522 GB, free: 21.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.6868, allocations: 61.62 kB / 0.5522 GB, free: 21.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.6868, allocations: 0.5312 kB / 0.5522 GB, free: 21.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.6869, allocations: 4.594 kB / 0.5522 GB, free: 21.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.688, allocations: 1.771 MB / 0.554 GB, free: 20.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.6881, allocations: 0 / 0.554 GB, free: 20.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008464/0.6889, allocations: 241.3 kB / 0.5542 GB, free: 20.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.6891, allocations: 87.02 kB / 0.5543 GB, free: 19.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.6891, allocations: 2.594 kB / 0.5543 GB, free: 19.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.6894, allocations: 15.42 kB / 0.5543 GB, free: 19.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.6895, allocations: 9.281 kB / 0.5543 GB, free: 19.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.6896, allocations: 4.688 kB / 0.5543 GB, free: 19.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001804/0.6898, allocations: 117.4 kB / 0.5544 GB, free: 19.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.6898, allocations: 0 / 0.5544 GB, free: 19.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001057/0.6909, allocations: 102.3 kB / 0.5545 GB, free: 19.84 MB / 378.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.001521/0.6924, allocations: 0.8355 MB / 0.5553 GB, free: 19.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.6936, allocations: 184.2 kB / 0.5555 GB, free: 19.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.6936, allocations: 0 / 0.5555 GB, free: 19.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004814/0.6941, allocations: 79.17 kB / 0.5556 GB, free: 19.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.6944, allocations: 11.69 kB / 0.5556 GB, free: 19.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.699, allocations: 3.943 MB / 0.5594 GB, free: 31.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.6996, allocations: 0.8034 MB / 0.5602 GB, free: 30.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000343/0.6999, allocations: 58.33 kB / 0.5603 GB, free: 30.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.7001, allocations: 78.62 kB / 0.5604 GB, free: 30.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7001, allocations: 0 / 0.5604 GB, free: 30.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.7264, allocations: 5.162 MB / 0.5654 GB, free: 30.27 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.7267, allocations: 272.6 kB / 0.5657 GB, free: 29.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/3.378, allocations: 0 / 0.5657 GB, free: 29.91 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat