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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.009995/0.009995, 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.786/1.786, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.002017/0.002017, allocations: 99.03 kB / 226.2 MB, free: 10.11 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.4799/0.4799, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006949/0.0006952, allocations: 16 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.115, allocations: 48.7 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.5366, allocations: 81.44 MB / 493.2 MB, free: 6.004 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.5369, allocations: 95.81 kB / 493.2 MB, free: 5.945 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1+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.1+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.1+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.03599/0.5729, allocations: 8.891 MB / 0.4904 GB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.573, allocations: 0 / 0.4904 GB, free: 14.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.573, allocations: 4 kB / 0.4904 GB, free: 14.2 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.0008814/0.5739, allocations: 0.5298 MB / 0.4909 GB, free: 13.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.982e-05/0.574, allocations: 12.03 kB / 0.4909 GB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.5741, allocations: 81.27 kB / 0.491 GB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.052e-05/0.5742, allocations: 31.62 kB / 0.491 GB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.5746, allocations: 239.9 kB / 0.4912 GB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.5746, allocations: 27.75 kB / 0.4913 GB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.5747, allocations: 30.19 kB / 0.4913 GB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.5758, allocations: 484.3 kB / 0.4918 GB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.5759, allocations: 7.938 kB / 0.4918 GB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.5759, allocations: 18.3 kB / 0.4918 GB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/0.576, allocations: 24.98 kB / 0.4918 GB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.577, allocations: 429.8 kB / 0.4922 GB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.5794, allocations: 1.212 MB / 0.4934 GB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.5797, allocations: 88.16 kB / 0.4935 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.5798, allocations: 4 kB / 0.4935 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5798, allocations: 34.55 kB / 0.4935 GB, free: 11.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.585e-06/0.5798, allocations: 0.6562 kB / 0.4935 GB, free: 11.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007948/0.5806, allocations: 175 kB / 0.4937 GB, free: 11.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.5807, allocations: 51.41 kB / 0.4937 GB, free: 11.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.5809, allocations: 153.4 kB / 0.4939 GB, free: 10.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.5809, allocations: 25.7 kB / 0.4939 GB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.5811, allocations: 220.3 kB / 0.4941 GB, free: 10.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.5811, allocations: 26.78 kB / 0.4941 GB, free: 10.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.5812, allocations: 7.062 kB / 0.4941 GB, free: 10.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5813, allocations: 322.7 kB / 0.4945 GB, free: 10.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.5816, allocations: 57.64 kB / 0.4945 GB, free: 10.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.5819, allocations: 179.2 kB / 0.4947 GB, free: 10.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.5823, allocations: 92.78 kB / 0.4948 GB, free: 9.961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5823, allocations: 0 / 0.4948 GB, free: 9.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007813/0.5831, allocations: 256.5 kB / 0.495 GB, free: 9.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5831, allocations: 8.562 kB / 0.495 GB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5831, allocations: 8 kB / 0.495 GB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.5832, allocations: 8 kB / 0.495 GB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.5838, allocations: 90.94 kB / 0.4951 GB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.585, allocations: 1.782 MB / 0.4969 GB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.5852, allocations: 30.88 kB / 0.4969 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.5853, allocations: 12 kB / 0.4969 GB, free: 7.746 MB / 346.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.000295/0.5856, allocations: 187.7 kB / 0.4971 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.5856, allocations: 15.84 kB / 0.4971 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009403/0.5866, allocations: 204.7 kB / 0.4973 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5866, allocations: 0 / 0.4973 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5866, allocations: 0 / 0.4973 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5866, allocations: 4 kB / 0.4973 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.5871, allocations: 298.7 kB / 0.4976 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5871, allocations: 0 / 0.4976 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.5876, allocations: 75.25 kB / 0.4977 GB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5876, allocations: 0 / 0.4977 GB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.5876, allocations: 4 kB / 0.4977 GB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.5887, allocations: 1.768 MB / 0.4994 GB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5887, allocations: 3.984 kB / 0.4994 GB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.5893, allocations: 228 kB / 0.4996 GB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.5894, allocations: 88.92 kB / 0.4997 GB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.5894, allocations: 3.984 kB / 0.4997 GB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.5896, allocations: 8 kB / 0.4997 GB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.5897, allocations: 15.36 kB / 0.4997 GB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.5897, allocations: 4 kB / 0.4997 GB, free: 4.805 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001247/0.5898, allocations: 110.9 kB / 0.4998 GB, free: 4.703 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5898, allocations: 4 kB / 0.4998 GB, free: 4.699 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006733/0.5905, allocations: 106.8 kB / 0.4999 GB, free: 4.602 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 (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.001175/0.5917, allocations: 0.8397 MB / 0.5008 GB, free: 3.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000894/0.5926, allocations: 182.1 kB / 0.5009 GB, free: 3.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5926, allocations: 0 / 0.5009 GB, free: 3.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.5931, allocations: 86.62 kB / 0.501 GB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.5934, allocations: 7.5 kB / 0.501 GB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.5973, allocations: 3.924 MB / 0.5048 GB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.5979, allocations: 0.8075 MB / 0.5056 GB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005689/0.5985, allocations: 57.2 kB / 0.5057 GB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.5987, allocations: 79.16 kB / 0.5058 GB, free: 14.64 MB / 362.7 MB Notification: Performance of SimCode: time 4.359e-06/0.5987, allocations: 4 kB / 0.5058 GB, free: 14.63 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.6306, allocations: 5.16 MB / 0.5108 GB, free: 9.57 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004044/0.631, allocations: 276.7 kB / 0.5111 GB, free: 9.211 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.844/3.475, allocations: 4 kB / 0.5111 GB, free: 9.207 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat