Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001377/0.001377, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.528/1.528, allocations: 170.6 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001558/0.001558, allocations: 103.5 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2044/0.2044, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.636e-05/1.665e-05, allocations: 2.406 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09731, allocations: 48.72 MB / 398.8 MB, free: 5.324 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3954/0.4928, allocations: 92.03 MB / 490.8 MB, free: 18.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.4932, allocations: 90.55 kB / 490.9 MB, free: 18.01 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1+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.1+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.08502/0.5782, allocations: 37.81 MB / 0.5163 GB, free: 5.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5782, allocations: 0 / 0.5163 GB, free: 5.062 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.5783, allocations: 19.44 kB / 0.5163 GB, free: 5.059 MB / 330.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.001516/0.5798, allocations: 1.183 MB / 0.5175 GB, free: 4.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5799, allocations: 11.75 kB / 0.5175 GB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.58, allocations: 128.6 kB / 0.5176 GB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.5806, allocations: 489.4 kB / 0.5181 GB, free: 3.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.5806, allocations: 35.12 kB / 0.5181 GB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.5807, allocations: 54.62 kB / 0.5182 GB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001153/0.5818, allocations: 1.153 MB / 0.5193 GB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.5831, allocations: 1.154 MB / 0.5204 GB, free: 3.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.5831, allocations: 0 / 0.5204 GB, free: 3.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/0.5832, allocations: 3.969 kB / 0.5204 GB, free: 3.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.497e-05/0.5832, allocations: 63.86 kB / 0.5205 GB, free: 3.254 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.5861, allocations: 2.678 MB / 0.5231 GB, free: 1.539 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.5868, allocations: 0.6444 MB / 0.5237 GB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.587, allocations: 221.8 kB / 0.5239 GB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.5871, allocations: 9.484 kB / 0.5239 GB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.5871, allocations: 54.84 kB / 0.524 GB, free: 0.6172 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.5871, allocations: 0 / 0.524 GB, free: 0.6172 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008036/0.5879, allocations: 0.5098 MB / 0.5245 GB, free: 148 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/0.588, allocations: 187.9 kB / 0.5247 GB, free: 15.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.5886, allocations: 0.5575 MB / 0.5252 GB, free: 15.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.5886, allocations: 25.7 kB / 0.5252 GB, free: 15.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.589, allocations: 0.5789 MB / 0.5258 GB, free: 14.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.166e-05/0.5891, allocations: 109.3 kB / 0.5259 GB, free: 14.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.5891, allocations: 0 / 0.5259 GB, free: 14.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5893, allocations: 391.2 kB / 0.5263 GB, free: 14.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.5896, allocations: 229.5 kB / 0.5265 GB, free: 14.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.5902, allocations: 0.5399 MB / 0.527 GB, free: 13.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.5906, allocations: 319.6 kB / 0.5273 GB, free: 13.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.5906, allocations: 0 / 0.5273 GB, free: 13.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001167/0.5918, allocations: 0.8011 MB / 0.5281 GB, free: 12.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5918, allocations: 12 kB / 0.5281 GB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.5919, allocations: 15.98 kB / 0.5281 GB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.5919, allocations: 24.05 kB / 0.5282 GB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.5925, allocations: 170.3 kB / 0.5283 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.5926, allocations: 19.94 kB / 0.5283 GB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.5931, allocations: 87.47 kB / 0.5284 GB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/0.5932, allocations: 51.48 kB / 0.5285 GB, free: 12.32 MB / 346.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.0001735/0.5934, allocations: 158.5 kB / 0.5286 GB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.5936, allocations: 71.11 kB / 0.5287 GB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.5947, allocations: 0.6738 MB / 0.5294 GB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.5947, allocations: 4 kB / 0.5294 GB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5947, allocations: 4 kB / 0.5294 GB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.5947, allocations: 3.984 kB / 0.5294 GB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.5958, allocations: 0.6383 MB / 0.53 GB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5958, allocations: 0 / 0.53 GB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.5963, allocations: 119.8 kB / 0.5301 GB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5963, allocations: 0 / 0.5301 GB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.5964, allocations: 15.75 kB / 0.5301 GB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.5964, allocations: 11.94 kB / 0.5301 GB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5964, allocations: 0 / 0.5301 GB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.5974, allocations: 1.041 MB / 0.5311 GB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.5977, allocations: 221.8 kB / 0.5314 GB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.5978, allocations: 4 kB / 0.5314 GB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.5984, allocations: 39.95 kB / 0.5314 GB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5985, allocations: 50.89 kB / 0.5314 GB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.5985, allocations: 19.98 kB / 0.5315 GB, free: 9.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003884/0.5989, allocations: 411.2 kB / 0.5319 GB, free: 9.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5989, allocations: 0 / 0.5319 GB, free: 9.082 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0013/0.6002, allocations: 350.4 kB / 0.5322 GB, free: 8.742 MB / 346.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.0005862/0.6008, allocations: 321.7 kB / 0.5325 GB, free: 8.445 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008276/0.6017, allocations: 0.5452 MB / 0.533 GB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6017, allocations: 4.062 kB / 0.533 GB, free: 7.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.602, allocations: 244.2 kB / 0.5333 GB, free: 7.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.6027, allocations: 108.6 kB / 0.5334 GB, free: 7.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.6048, allocations: 1.31 MB / 0.5347 GB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/0.6056, allocations: 1.185 MB / 0.5358 GB, free: 5.199 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006913/0.6063, allocations: 303.4 kB / 0.5361 GB, free: 4.898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.6064, allocations: 61.53 kB / 0.5362 GB, free: 4.84 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6064, allocations: 0 / 0.5362 GB, free: 4.84 MB / 346.7 MB Notification: Performance of Templates: time 0.01629/0.6227, allocations: 9.368 MB / 0.5453 GB, free: 11.52 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1)