Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.01003/0.01003, allocations: 166.6 kB / 15.11 MB, free: 5.934 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.772/1.772, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001996/0.001996, allocations: 119 kB / 226.2 MB, free: 10.1 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.4494/0.4494, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007793/0.0007794, allocations: 12 kB / 363 MB, free: 5.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1303, allocations: 48.7 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.5922, allocations: 81.45 MB / 493.2 MB, free: 5.949 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003822/0.5926, allocations: 97.67 kB / 493.3 MB, free: 5.891 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.04822/0.6408, allocations: 10.2 MB / 0.4917 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6409, allocations: 7 kB / 0.4917 GB, free: 12.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.6409, allocations: 4 kB / 0.4917 GB, free: 12.96 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001462/0.6424, allocations: 0.6861 MB / 0.4923 GB, free: 12.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.6425, allocations: 16.03 kB / 0.4924 GB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.6426, allocations: 102.7 kB / 0.4925 GB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.6428, allocations: 51.34 kB / 0.4925 GB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.6434, allocations: 327.8 kB / 0.4928 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.6434, allocations: 38.42 kB / 0.4929 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.6435, allocations: 45.31 kB / 0.4929 GB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.6451, allocations: 0.6748 MB / 0.4936 GB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.6452, allocations: 4 kB / 0.4936 GB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.6453, allocations: 17.56 kB / 0.4936 GB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.6454, allocations: 52.78 kB / 0.4936 GB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.6472, allocations: 0.7362 MB / 0.4943 GB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.651, allocations: 1.744 MB / 0.496 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.652, allocations: 355.5 kB / 0.4964 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.6521, allocations: 11.34 kB / 0.4964 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.6521, allocations: 34.8 kB / 0.4964 GB, free: 8.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 2.835e-06/0.6521, allocations: 0 / 0.4964 GB, free: 8.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.00172/0.6539, allocations: 0.5023 MB / 0.4969 GB, free: 8.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.6539, allocations: 55.41 kB / 0.497 GB, free: 8.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/0.6547, allocations: 410.2 kB / 0.4974 GB, free: 7.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.6547, allocations: 32.7 kB / 0.4974 GB, free: 7.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.655, allocations: 263.8 kB / 0.4976 GB, free: 7.551 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.6551, allocations: 98.2 kB / 0.4977 GB, free: 7.465 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.6552, allocations: 11.88 kB / 0.4978 GB, free: 7.461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.6554, allocations: 346.3 kB / 0.4981 GB, free: 7.129 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/0.6559, allocations: 142.6 kB / 0.4982 GB, free: 7.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.6566, allocations: 256.4 kB / 0.4985 GB, free: 6.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.6572, allocations: 191.5 kB / 0.4986 GB, free: 6.594 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.6572, allocations: 1.5 kB / 0.4986 GB, free: 6.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001507/0.6588, allocations: 485.5 kB / 0.4991 GB, free: 6.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.6588, allocations: 8 kB / 0.4991 GB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6588, allocations: 4 kB / 0.4991 GB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.6589, allocations: 8 kB / 0.4991 GB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.6601, allocations: 158.4 kB / 0.4993 GB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.663, allocations: 3.608 MB / 0.5028 GB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/0.6636, allocations: 65.16 kB / 0.5029 GB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.6637, allocations: 27.42 kB / 0.5029 GB, free: 2.215 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004342/0.6641, allocations: 218.8 kB / 0.5031 GB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.6643, allocations: 35.53 kB / 0.5031 GB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.6663, allocations: 0.5547 MB / 0.5037 GB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.6664, allocations: 4 kB / 0.5037 GB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6664, allocations: 0 / 0.5037 GB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.6664, allocations: 3.984 kB / 0.5037 GB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009943/0.6674, allocations: 453.2 kB / 0.5041 GB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6674, allocations: 4 kB / 0.5041 GB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.6686, allocations: 139.8 kB / 0.5043 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.6686, allocations: 0 / 0.5043 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.6687, allocations: 18.17 kB / 0.5043 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/0.6715, allocations: 3.602 MB / 0.5078 GB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6716, allocations: 0 / 0.5078 GB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.6736, allocations: 0.6803 MB / 0.5085 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.674, allocations: 174.4 kB / 0.5086 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.6741, allocations: 11 kB / 0.5086 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.6745, allocations: 14.94 kB / 0.5086 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6746, allocations: 31.95 kB / 0.5087 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.6747, allocations: 15.62 kB / 0.5087 GB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006543/0.6754, allocations: 342.2 kB / 0.509 GB, free: 12.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6754, allocations: 0 / 0.509 GB, free: 12.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009775/0.6764, allocations: 178 kB / 0.5092 GB, free: 11.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002789/0.6792, allocations: 1.325 MB / 0.5105 GB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.6811, allocations: 425 kB / 0.5109 GB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6812, allocations: 3.938 kB / 0.5109 GB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.6824, allocations: 244.3 kB / 0.5111 GB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.6828, allocations: 26.88 kB / 0.5111 GB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008305/0.6911, allocations: 5.272 MB / 0.5163 GB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006892/0.6919, allocations: 0.9152 MB / 0.5172 GB, free: 4.223 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001002/0.6929, allocations: 143 kB / 0.5173 GB, free: 4.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006126/0.6935, allocations: 163.9 kB / 0.5175 GB, free: 4.031 MB / 362.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6935, allocations: 3.938 kB / 0.5175 GB, free: 4.027 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05833/0.7519, allocations: 10.48 MB / 0.5277 GB, free: 9.66 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/0.7522, allocations: 255.8 kB / 0.528 GB, free: 9.309 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.309/4.062, allocations: 0 / 0.528 GB, free: 9.309 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat