Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01022/0.01022, allocations: 166.5 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.878/1.878, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002013/0.002013, allocations: 115.4 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4588/0.4588, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006653/0.0006654, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1122, allocations: 48.69 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5137/0.626, allocations: 77.53 MB / 489.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004234/0.6265, allocations: 101.2 kB / 489.3 MB, free: 10.14 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02148/0.648, allocations: 4.213 MB / 493.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.648, allocations: 0 / 493.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.648, allocations: 4 kB / 493.6 MB, free: 6.52 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006773/0.6487, allocations: 441.4 kB / 494 MB, free: 6.051 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.6488, allocations: 8.031 kB / 494 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.6e-05/0.6489, allocations: 54.11 kB / 494 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.65, allocations: 107.4 kB / 494.2 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.6504, allocations: 213.7 kB / 494.4 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.6504, allocations: 15.16 kB / 494.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.6504, allocations: 11.5 kB / 494.4 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/0.6511, allocations: 236.3 kB / 494.6 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.6511, allocations: 0 / 494.6 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.6512, allocations: 3.938 kB / 494.6 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.6512, allocations: 19.98 kB / 494.6 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006833/0.6519, allocations: 233.2 kB / 494.9 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.6535, allocations: 0.7371 MB / 495.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.6538, allocations: 98 kB / 495.7 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.6539, allocations: 12.08 kB / 495.7 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.6539, allocations: 35.14 kB / 495.7 MB, free: 4.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.394e-06/0.6539, allocations: 0 / 495.7 MB, free: 4.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007889/0.6547, allocations: 181.5 kB / 495.9 MB, free: 4.188 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.6548, allocations: 55.16 kB / 496 MB, free: 4.125 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.655, allocations: 167 kB / 496.1 MB, free: 3.969 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.655, allocations: 29.45 kB / 496.2 MB, free: 3.938 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.6551, allocations: 137.2 kB / 496.3 MB, free: 3.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.6551, allocations: 23.53 kB / 496.3 MB, free: 3.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.6552, allocations: 3.5 kB / 496.3 MB, free: 3.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.6552, allocations: 326.8 kB / 496.6 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.6555, allocations: 55.69 kB / 496.7 MB, free: 3.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.6557, allocations: 110.8 kB / 496.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.656, allocations: 67.56 kB / 496.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.656, allocations: 0 / 496.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006444/0.6567, allocations: 193.7 kB / 497.1 MB, free: 3.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.6567, allocations: 9.875 kB / 497.1 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.6567, allocations: 7.953 kB / 497.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.6568, allocations: 4 kB / 497.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.6583, allocations: 107.8 kB / 497.2 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.6598, allocations: 1.82 MB / 499 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.6601, allocations: 29.83 kB / 499 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.6602, allocations: 4 kB / 499 MB, free: 1.039 MB / 330.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * 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.0001705/0.6603, allocations: 141.1 kB / 499.2 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.6604, allocations: 11.91 kB / 499.2 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007482/0.6612, allocations: 206.1 kB / 499.4 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.6612, allocations: 4 kB / 499.4 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6612, allocations: 0 / 499.4 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6612, allocations: 0 / 499.4 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.6616, allocations: 228.8 kB / 499.6 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6616, allocations: 0 / 499.6 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.6629, allocations: 96.95 kB / 499.7 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.663, allocations: 4 kB / 499.7 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.663, allocations: 0 / 499.7 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.6645, allocations: 1.788 MB / 0.4898 GB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.6645, allocations: 0 / 0.4898 GB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.6652, allocations: 247.9 kB / 0.49 GB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.6653, allocations: 92.86 kB / 0.4901 GB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.6654, allocations: 4 kB / 0.4901 GB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.6656, allocations: 11.11 kB / 0.4901 GB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.6658, allocations: 15.75 kB / 0.4901 GB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.6658, allocations: 4 kB / 0.4901 GB, free: 14.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002798/0.6661, allocations: 135.2 kB / 0.4902 GB, free: 14.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.6661, allocations: 0 / 0.4902 GB, free: 14.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008714/0.667, allocations: 51.78 kB / 0.4903 GB, free: 13.98 MB / 346.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 (11): * Single equations (assignments): 8 * 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.001809/0.6689, allocations: 0.8115 MB / 0.4911 GB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002649/0.6716, allocations: 201.7 kB / 0.4913 GB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.6716, allocations: 0 / 0.4913 GB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.6734, allocations: 114.3 kB / 0.4914 GB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.6743, allocations: 35.64 kB / 0.4914 GB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005725/0.6801, allocations: 2.095 MB / 0.4935 GB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.6808, allocations: 0.7434 MB / 0.4942 GB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003484/0.6811, allocations: 37.39 kB / 0.4942 GB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.6813, allocations: 40.86 kB / 0.4943 GB, free: 9.965 MB / 346.7 MB Notification: Performance of SimCode: time 5.129e-06/0.6813, allocations: 0 / 0.4943 GB, free: 9.965 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.7192, allocations: 4.917 MB / 0.4991 GB, free: 5.18 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004599/0.7197, allocations: 270 kB / 0.4993 GB, free: 4.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/3.536, allocations: 0 / 0.4993 GB, free: 4.82 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat