Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008059/0.000806, allocations: 90.59 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3895/0.3895, allocations: 43.46 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.435e-05/2.444e-05, allocations: 0 / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1204, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4227/0.5432, allocations: 106.3 MB / 0.5767 GB, free: 15.26 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.5436, allocations: 96.38 kB / 0.5768 GB, free: 15.2 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.1031/0.6467, allocations: 38.29 MB / 0.6142 GB, free: 14.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6468, allocations: 0 / 0.6142 GB, free: 14.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.62e-05/0.6468, allocations: 16 kB / 0.6142 GB, free: 14.25 MB / 442.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.002014/0.6488, allocations: 1.189 MB / 0.6154 GB, free: 13.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.6489, allocations: 8.031 kB / 0.6154 GB, free: 13.07 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001953/0.6491, allocations: 171.6 kB / 0.6156 GB, free: 12.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.6493, allocations: 126.4 kB / 0.6157 GB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008243/0.6501, allocations: 491.8 kB / 0.6162 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.6502, allocations: 74.69 kB / 0.6162 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.6503, allocations: 90.25 kB / 0.6163 GB, free: 12.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.6522, allocations: 1.3 MB / 0.6176 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.6522, allocations: 0 / 0.6176 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.667e-05/0.6523, allocations: 40.38 kB / 0.6176 GB, free: 11.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.981e-05/0.6524, allocations: 69.53 kB / 0.6177 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.654, allocations: 1.236 MB / 0.6189 GB, free: 10.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005654/0.6597, allocations: 3.1 MB / 0.6219 GB, free: 7.637 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.6607, allocations: 0.6525 MB / 0.6226 GB, free: 6.984 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.6611, allocations: 246.1 kB / 0.6228 GB, free: 6.754 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.605e-05/0.6612, allocations: 15.39 kB / 0.6228 GB, free: 6.742 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.6612, allocations: 38.73 kB / 0.6229 GB, free: 6.699 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 2.926e-06/0.6612, allocations: 0 / 0.6229 GB, free: 6.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.001148/0.6624, allocations: 0.5865 MB / 0.6234 GB, free: 6.156 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.704e-05/0.6625, allocations: 187.9 kB / 0.6236 GB, free: 5.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.6639, allocations: 1.17 MB / 0.6248 GB, free: 4.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.6639, allocations: 29.2 kB / 0.6248 GB, free: 4.949 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.6643, allocations: 0.5446 MB / 0.6253 GB, free: 4.645 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.6645, allocations: 115.5 kB / 0.6254 GB, free: 4.547 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.6645, allocations: 18.38 kB / 0.6254 GB, free: 4.539 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.6646, allocations: 336.4 kB / 0.6258 GB, free: 4.215 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.665, allocations: 236.4 kB / 0.626 GB, free: 4.016 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.6657, allocations: 0.5571 MB / 0.6265 GB, free: 3.352 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.6662, allocations: 338.3 kB / 0.6269 GB, free: 3.059 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6662, allocations: 0 / 0.6269 GB, free: 3.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001429/0.6676, allocations: 0.9188 MB / 0.6278 GB, free: 2.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.6677, allocations: 12.62 kB / 0.6278 GB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6677, allocations: 15.94 kB / 0.6278 GB, free: 2.203 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.6677, allocations: 16 kB / 0.6278 GB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006387/0.6684, allocations: 175.9 kB / 0.628 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.6684, allocations: 23.92 kB / 0.628 GB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/0.6692, allocations: 164.5 kB / 0.6281 GB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/0.6693, allocations: 47.05 kB / 0.6282 GB, free: 1.805 MB / 442.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 () * 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.0001814/0.6695, allocations: 164.8 kB / 0.6283 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.6697, allocations: 118.5 kB / 0.6285 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.671, allocations: 0.7422 MB / 0.6292 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.6711, allocations: 4 kB / 0.6292 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.6711, allocations: 8 kB / 0.6292 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.6711, allocations: 0 / 0.6292 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.6723, allocations: 0.7189 MB / 0.6299 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6723, allocations: 0 / 0.6299 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.6728, allocations: 115.2 kB / 0.63 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.6728, allocations: 8 kB / 0.63 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.6729, allocations: 19.3 kB / 0.63 GB, free: 72 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.6729, allocations: 0 / 0.63 GB, free: 72 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6729, allocations: 4 kB / 0.63 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.6741, allocations: 1.109 MB / 0.6311 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/0.6744, allocations: 203.5 kB / 0.6313 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.6745, allocations: 10.56 kB / 0.6313 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.6751, allocations: 51.08 kB / 0.6314 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.6753, allocations: 34.33 kB / 0.6314 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.6754, allocations: 23.92 kB / 0.6314 GB, free: 14.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001126/0.6765, allocations: 0.9091 MB / 0.6323 GB, free: 13.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6765, allocations: 0 / 0.6323 GB, free: 13.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001267/0.6778, allocations: 313.6 kB / 0.6326 GB, free: 13.63 MB / 458.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 () * 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.002125/0.6799, allocations: 2.199 MB / 0.6348 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.6809, allocations: 0.5762 MB / 0.6353 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.681, allocations: 0 / 0.6353 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.6813, allocations: 253.3 kB / 0.6356 GB, free: 10.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.6825, allocations: 242.6 kB / 0.6358 GB, free: 10.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.6858, allocations: 1.765 MB / 0.6375 GB, free: 8.848 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/0.6866, allocations: 1.189 MB / 0.6387 GB, free: 7.652 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009493/0.6875, allocations: 398.6 kB / 0.6391 GB, free: 7.258 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004818/0.688, allocations: 388.8 kB / 0.6394 GB, free: 7.156 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/0.688, allocations: 0 / 0.6394 GB, free: 7.156 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04818/0.7362, allocations: 25.87 MB / 0.6647 GB, free: 13.35 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.7365, allocations: 213.1 kB / 0.6649 GB, free: 13.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.819/3.556, allocations: 7.938 kB / 0.6649 GB, free: 13.11 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat