Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007243/0.007243, allocations: 174.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.596/1.596, allocations: 194.5 MB / 210.3 MB, free: 7.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001677/0.001677, allocations: 124.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2097/0.2097, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004149, allocations: 20.69 kB / 406.2 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 54.87 MB / 461 MB, free: 3.266 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4463/0.5817, allocations: 101.2 MB / 0.549 GB, free: 21.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.5821, allocations: 99.31 kB / 0.5491 GB, free: 21.88 MB / 378.7 MB [/home/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. [/home/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. [/home/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.08608/0.6682, allocations: 38.19 MB / 0.5864 GB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.6682, allocations: 3.938 kB / 0.5864 GB, free: 11.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.049e-05/0.6683, allocations: 11.66 kB / 0.5865 GB, free: 11.18 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.001909/0.6702, allocations: 1.29 MB / 0.5877 GB, free: 10.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.6703, allocations: 11.75 kB / 0.5877 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.6704, allocations: 124.7 kB / 0.5878 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006989/0.6711, allocations: 492.7 kB / 0.5883 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.6712, allocations: 73.42 kB / 0.5884 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.6713, allocations: 93.34 kB / 0.5885 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.6731, allocations: 1.386 MB / 0.5898 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.6731, allocations: 0 / 0.5898 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/0.6732, allocations: 43.69 kB / 0.5899 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/0.6732, allocations: 64.78 kB / 0.5899 GB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.6751, allocations: 1.416 MB / 0.5913 GB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/0.6787, allocations: 3.095 MB / 0.5943 GB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.6797, allocations: 0.7346 MB / 0.5951 GB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.6798, allocations: 11.92 kB / 0.5951 GB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.6798, allocations: 46.05 kB / 0.5951 GB, free: 7.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.304e-06/0.6798, allocations: 4 kB / 0.5951 GB, free: 7.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001975/0.6818, allocations: 1.002 MB / 0.5961 GB, free: 6.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.6819, allocations: 191.8 kB / 0.5963 GB, free: 6.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.6831, allocations: 1.19 MB / 0.5974 GB, free: 6.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.6831, allocations: 36.64 kB / 0.5975 GB, free: 6.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/0.6835, allocations: 0.5322 MB / 0.598 GB, free: 5.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.514e-05/0.6836, allocations: 115 kB / 0.5981 GB, free: 5.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.6836, allocations: 15.53 kB / 0.5981 GB, free: 5.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.6837, allocations: 332.8 kB / 0.5984 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/0.6843, allocations: 326.5 kB / 0.5987 GB, free: 5.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.685, allocations: 0.6359 MB / 0.5994 GB, free: 4.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.6857, allocations: 419 kB / 0.5998 GB, free: 4.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.6857, allocations: 3.844 kB / 0.5998 GB, free: 4.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001718/0.6874, allocations: 1.081 MB / 0.6008 GB, free: 4.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.6875, allocations: 11.62 kB / 0.6008 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.6875, allocations: 12 kB / 0.6008 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.161e-05/0.6875, allocations: 19 kB / 0.6009 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/0.6881, allocations: 177.7 kB / 0.601 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.6881, allocations: 16.81 kB / 0.601 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/0.6889, allocations: 168.8 kB / 0.6012 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/0.689, allocations: 50.81 kB / 0.6013 GB, free: 4.27 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.000427/0.6894, allocations: 369.3 kB / 0.6016 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.6896, allocations: 117.5 kB / 0.6017 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.6909, allocations: 0.7712 MB / 0.6025 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6909, allocations: 7.625 kB / 0.6025 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6909, allocations: 3.938 kB / 0.6025 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.6909, allocations: 3.438 kB / 0.6025 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.692, allocations: 0.7174 MB / 0.6032 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.692, allocations: 3.984 kB / 0.6032 GB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.6924, allocations: 114.5 kB / 0.6033 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.6925, allocations: 3.875 kB / 0.6033 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.6925, allocations: 18.92 kB / 0.6033 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6925, allocations: 3.875 kB / 0.6033 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6925, allocations: 3.844 kB / 0.6033 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.694, allocations: 1.275 MB / 0.6046 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.6943, allocations: 199.5 kB / 0.6048 GB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.6944, allocations: 15.27 kB / 0.6048 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000624/0.695, allocations: 50.3 kB / 0.6048 GB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.6952, allocations: 38.58 kB / 0.6049 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.6952, allocations: 15.06 kB / 0.6049 GB, free: 2.277 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009382/0.6961, allocations: 0.927 MB / 0.6058 GB, free: 1.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6962, allocations: 0 / 0.6058 GB, free: 1.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001288/0.6974, allocations: 304.8 kB / 0.6061 GB, free: 1.809 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.0005405/0.698, allocations: 318.7 kB / 0.6064 GB, free: 1.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.6994, allocations: 0.7448 MB / 0.6071 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6994, allocations: 0 / 0.6071 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005985/0.7, allocations: 330.7 kB / 0.6074 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.701, allocations: 245.8 kB / 0.6077 GB, free: 376 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.7046, allocations: 2.152 MB / 0.6098 GB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009517/0.7056, allocations: 1.175 MB / 0.6109 GB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009455/0.7066, allocations: 402.6 kB / 0.6113 GB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.7068, allocations: 79.36 kB / 0.6114 GB, free: 12.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7068, allocations: 0 / 0.6114 GB, free: 12.62 MB / 394.7 MB Notification: Performance of Templates: time 0.02825/0.7351, allocations: 15.45 MB / 0.6265 GB, free: 13.26 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1)