Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.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.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",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.01007/0.01007, allocations: 173.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.052/2.052, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002086/0.002086, allocations: 120.6 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.259/0.259, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006516/0.0006517, allocations: 13.27 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1037, allocations: 54.88 MB / 461.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5471/0.6508, allocations: 101.2 MB / 0.5492 GB, free: 21.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003728/0.6513, allocations: 99.14 kB / 0.5493 GB, free: 21.8 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4477:11-4491:77:writable] Error: Got type mismatch error, but matching types Real. This is a ***COMPILER BUG***, please report it to https://trac.openmodelica.org/OpenModelica. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4453:11-4467:78:writable] Error: Type mismatch in binding x_flow = x_flow, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4502:11-4516:76:writable] Error: Type mismatch in binding x_flow = x_flow, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1638/0.8151, allocations: 38.2 MB / 0.5866 GB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.8152, allocations: 0 / 0.5866 GB, free: 11.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.703e-05/0.8152, allocations: 15.5 kB / 0.5866 GB, free: 11.09 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002722/0.818, allocations: 1.287 MB / 0.5878 GB, free: 10.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.818, allocations: 7.719 kB / 0.5878 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003224/0.8184, allocations: 166 kB / 0.588 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.8186, allocations: 128 kB / 0.5881 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.8199, allocations: 498.6 kB / 0.5886 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.486e-05/0.82, allocations: 74.03 kB / 0.5887 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.8202, allocations: 91.31 kB / 0.5887 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.8234, allocations: 1.384 MB / 0.5901 GB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.8235, allocations: 3.938 kB / 0.5901 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.8236, allocations: 43.22 kB / 0.5901 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.114e-05/0.8237, allocations: 64.3 kB / 0.5902 GB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003516/0.8273, allocations: 1.411 MB / 0.5916 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006456/0.8338, allocations: 3.095 MB / 0.5946 GB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.836, allocations: 0.7352 MB / 0.5953 GB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.76e-05/0.8361, allocations: 11.98 kB / 0.5953 GB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.8362, allocations: 37.8 kB / 0.5954 GB, free: 6.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.586e-06/0.8362, allocations: 7.938 kB / 0.5954 GB, free: 6.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.003945/0.8401, allocations: 1.001 MB / 0.5964 GB, free: 6.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.8402, allocations: 199.7 kB / 0.5965 GB, free: 6.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.8426, allocations: 1.185 MB / 0.5977 GB, free: 6.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.8428, allocations: 33.45 kB / 0.5977 GB, free: 5.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/0.8433, allocations: 0.536 MB / 0.5983 GB, free: 5.754 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.8434, allocations: 116.1 kB / 0.5984 GB, free: 5.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.8435, allocations: 10.44 kB / 0.5984 GB, free: 5.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.8436, allocations: 332.5 kB / 0.5987 GB, free: 5.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.8449, allocations: 324.4 kB / 0.599 GB, free: 5.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.8463, allocations: 0.6496 MB / 0.5996 GB, free: 4.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.8478, allocations: 412.3 kB / 0.6 GB, free: 4.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.8478, allocations: 3.625 kB / 0.6 GB, free: 4.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003596/0.8514, allocations: 1.08 MB / 0.6011 GB, free: 4.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.8515, allocations: 10.19 kB / 0.6011 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.8515, allocations: 16.16 kB / 0.6011 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.79e-05/0.8516, allocations: 23.22 kB / 0.6011 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.8527, allocations: 179.2 kB / 0.6013 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.754e-05/0.8528, allocations: 19.44 kB / 0.6013 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.8542, allocations: 170.7 kB / 0.6015 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.8544, allocations: 42.42 kB / 0.6015 GB, free: 4.113 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 26 (IN_var_3[6].target,IN_var_3[5].target,IN_var_3[4].target,IN_var_3[3].target,IN_var_3[2].target,IN_var_3[1].target,IN_con_3[6].target,IN_con_3[5].target,IN_con_3[4].target,IN_con_3[3].target,IN_con_3[2].target,IN_con_3[1].target,IN_var_2.target,IN_con_2.target,IN_var_1[6].target,IN_var_1[5].target,IN_var_1[4].target,IN_var_1[3].target,IN_var_1[2].target,IN_var_1[1].target,IN_con_1[6].target,IN_con_1[5].target,IN_con_1[4].target,IN_con_1[3].target,IN_con_1[2].target,IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007695/0.8552, allocations: 372.6 kB / 0.6019 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/0.8556, allocations: 117.9 kB / 0.602 GB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.858, allocations: 0.7761 MB / 0.6028 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.858, allocations: 7.625 kB / 0.6028 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.8581, allocations: 0 / 0.6028 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.8581, allocations: 3.875 kB / 0.6028 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.86, allocations: 0.7137 MB / 0.6035 GB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.8601, allocations: 7.609 kB / 0.6035 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009131/0.861, allocations: 111.5 kB / 0.6036 GB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.861, allocations: 0 / 0.6036 GB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/0.8611, allocations: 19.55 kB / 0.6036 GB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.8611, allocations: 7.875 kB / 0.6036 GB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8611, allocations: 3.984 kB / 0.6036 GB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.8639, allocations: 1.279 MB / 0.6049 GB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.8644, allocations: 197.4 kB / 0.605 GB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.8647, allocations: 11.39 kB / 0.6051 GB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.8657, allocations: 53.61 kB / 0.6051 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.8659, allocations: 34.42 kB / 0.6051 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.866, allocations: 18.75 kB / 0.6052 GB, free: 2.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001704/0.8677, allocations: 0.922 MB / 0.6061 GB, free: 1.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8678, allocations: 0 / 0.6061 GB, free: 1.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001822/0.8696, allocations: 314.6 kB / 0.6064 GB, free: 1.539 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004128/0.8737, allocations: 2.368 MB / 0.6087 GB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.877, allocations: 0.7327 MB / 0.6094 GB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.877, allocations: 4.125 kB / 0.6094 GB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.8784, allocations: 335.6 kB / 0.6097 GB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.8807, allocations: 244 kB / 0.6099 GB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02266/0.9034, allocations: 15.17 MB / 0.6247 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.9045, allocations: 1.178 MB / 0.6259 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001695/0.9062, allocations: 398.7 kB / 0.6263 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007975/0.9071, allocations: 397 kB / 0.6267 GB, free: 13.76 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.9071, allocations: 4 kB / 0.6267 GB, free: 13.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08213/0.9892, allocations: 26.03 MB / 0.6521 GB, free: 3.801 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003503/0.9896, allocations: 236.1 kB / 0.6523 GB, free: 3.555 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.578/4.568, allocations: 4.062 kB / 0.6523 GB, free: 3.551 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat