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.007139/0.007139, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.349/1.349, allocations: 170.8 MB / 186.6 MB, free: 0.9922 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.001716/0.001716, allocations: 114.6 kB / 226.2 MB, free: 10.1 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.3932/0.3932, allocations: 38.05 MB / 303.7 MB, free: 42.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003912, allocations: 8 kB / 362.9 MB, free: 5.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1141, allocations: 48.7 MB / 411.6 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.4834, allocations: 92.79 MB / 0.4926 GB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004188/0.4839, allocations: 96.94 kB / 0.4927 GB, free: 10.93 MB / 346.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.1013/0.5852, allocations: 38.2 MB / 0.53 GB, free: 9.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5853, allocations: 0 / 0.53 GB, free: 9.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.375e-05/0.5853, allocations: 16 kB / 0.53 GB, free: 9.699 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.002701/0.588, allocations: 1.29 MB / 0.5312 GB, free: 8.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.5881, allocations: 8.031 kB / 0.5312 GB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.5883, allocations: 133.6 kB / 0.5314 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000735/0.589, allocations: 494.2 kB / 0.5318 GB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/0.5891, allocations: 70 kB / 0.5319 GB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.5892, allocations: 99.94 kB / 0.532 GB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.5912, allocations: 1.384 MB / 0.5334 GB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.5913, allocations: 0 / 0.5334 GB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.5913, allocations: 37.03 kB / 0.5334 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.621e-05/0.5914, allocations: 70.02 kB / 0.5335 GB, free: 6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.5935, allocations: 1.413 MB / 0.5348 GB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004471/0.598, allocations: 3.094 MB / 0.5379 GB, free: 1.395 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.5994, allocations: 0.7411 MB / 0.5386 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.308e-05/0.5994, allocations: 20.2 kB / 0.5386 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.5995, allocations: 42.8 kB / 0.5386 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.005e-06/0.5995, allocations: 4 kB / 0.5387 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.0023/0.6018, allocations: 1.002 MB / 0.5396 GB, free: 15.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.6019, allocations: 192 kB / 0.5398 GB, free: 15.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.6035, allocations: 1.187 MB / 0.541 GB, free: 14.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.6035, allocations: 33.7 kB / 0.541 GB, free: 14.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005574/0.6041, allocations: 0.5395 MB / 0.5415 GB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.6043, allocations: 122.3 kB / 0.5416 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.6043, allocations: 12 kB / 0.5417 GB, free: 13.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.6045, allocations: 330 kB / 0.542 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007289/0.6053, allocations: 333 kB / 0.5423 GB, free: 12.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009734/0.6063, allocations: 0.6364 MB / 0.5429 GB, free: 11.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008362/0.6071, allocations: 411.5 kB / 0.5433 GB, free: 11.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.6071, allocations: 4 kB / 0.5433 GB, free: 11.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002124/0.6093, allocations: 1.082 MB / 0.5444 GB, free: 10.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.6093, allocations: 12 kB / 0.5444 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.6093, allocations: 12.03 kB / 0.5444 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.6094, allocations: 20 kB / 0.5444 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.61, allocations: 171.7 kB / 0.5446 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/0.61, allocations: 23.88 kB / 0.5446 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009424/0.611, allocations: 166.5 kB / 0.5448 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/0.6111, allocations: 43.98 kB / 0.5448 GB, free: 9.984 MB / 394.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.0006142/0.6117, allocations: 368.6 kB / 0.5451 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.612, allocations: 118.5 kB / 0.5453 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.6134, allocations: 0.783 MB / 0.546 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6134, allocations: 7.984 kB / 0.546 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6134, allocations: 0 / 0.546 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.6134, allocations: 8 kB / 0.546 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.6147, allocations: 0.7141 MB / 0.5467 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.6147, allocations: 11.88 kB / 0.5467 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.6152, allocations: 103.9 kB / 0.5468 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.6152, allocations: 11.95 kB / 0.5469 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.6152, allocations: 15.98 kB / 0.5469 GB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.6152, allocations: 7.938 kB / 0.5469 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.6153, allocations: 0 / 0.5469 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.6169, allocations: 1.273 MB / 0.5481 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005322/0.6174, allocations: 275.3 kB / 0.5484 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.6175, allocations: 12 kB / 0.5484 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/0.6182, allocations: 51.95 kB / 0.5484 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.6183, allocations: 43.91 kB / 0.5485 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.6183, allocations: 19.98 kB / 0.5485 GB, free: 6.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001151/0.6195, allocations: 0.9196 MB / 0.5494 GB, free: 5.098 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.645e-06/0.6195, allocations: 4 kB / 0.5494 GB, free: 5.094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001335/0.6209, allocations: 319.8 kB / 0.5497 GB, free: 4.781 MB / 394.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.0006662/0.6215, allocations: 295.4 kB / 0.55 GB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.6232, allocations: 0.74 MB / 0.5507 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6232, allocations: 0 / 0.5507 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.6239, allocations: 331.7 kB / 0.551 GB, free: 3.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.625, allocations: 241 kB / 0.5513 GB, free: 3.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.6283, allocations: 2.156 MB / 0.5534 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.629, allocations: 1.184 MB / 0.5545 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009398/0.63, allocations: 402.6 kB / 0.5549 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.6302, allocations: 79.42 kB / 0.555 GB, free: 15.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.6302, allocations: 0 / 0.555 GB, free: 15.29 MB / 410.7 MB Notification: Performance of Templates: time 0.0281/0.6583, allocations: 15.47 MB / 0.5701 GB, free: 15.91 MB / 426.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)