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.001035/0.001035, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.249/1.249, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001552/0.001552, allocations: 110.2 kB / 223.2 MB, free: 4.109 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.1761/0.1761, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.403e-05, allocations: 0 / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08649, allocations: 48.71 MB / 405.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3827/0.4693, allocations: 92.69 MB / 498.4 MB, free: 17.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4696, allocations: 102.2 kB / 498.5 MB, free: 17.18 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.08657/0.5561, allocations: 38.25 MB / 0.5242 GB, free: 13.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5562, allocations: 0 / 0.5242 GB, free: 13.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.071e-05/0.5562, allocations: 12 kB / 0.5242 GB, free: 13.3 MB / 346.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.001759/0.558, allocations: 1.184 MB / 0.5254 GB, free: 12.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.558, allocations: 12.03 kB / 0.5254 GB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.5582, allocations: 130.4 kB / 0.5255 GB, free: 12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007022/0.559, allocations: 487.1 kB / 0.526 GB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.559, allocations: 75.62 kB / 0.526 GB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.5591, allocations: 91.75 kB / 0.5261 GB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.5608, allocations: 1.296 MB / 0.5274 GB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5609, allocations: 0 / 0.5274 GB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/0.561, allocations: 42.98 kB / 0.5274 GB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.498e-05/0.561, allocations: 62.08 kB / 0.5275 GB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.5625, allocations: 1.25 MB / 0.5287 GB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004428/0.567, allocations: 3.095 MB / 0.5317 GB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/0.5679, allocations: 0.662 MB / 0.5324 GB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.5683, allocations: 241.1 kB / 0.5326 GB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.363e-05/0.5683, allocations: 8.219 kB / 0.5326 GB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.5684, allocations: 42.42 kB / 0.5326 GB, free: 5.859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.705e-06/0.5684, allocations: 3.938 kB / 0.5327 GB, free: 5.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001078/0.5695, allocations: 0.5841 MB / 0.5332 GB, free: 5.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.5696, allocations: 183.9 kB / 0.5334 GB, free: 5.094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.5709, allocations: 1.177 MB / 0.5345 GB, free: 4.137 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.5709, allocations: 33.48 kB / 0.5346 GB, free: 4.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.5713, allocations: 0.5374 MB / 0.5351 GB, free: 3.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.5714, allocations: 112.7 kB / 0.5352 GB, free: 3.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.5714, allocations: 14.94 kB / 0.5352 GB, free: 3.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5716, allocations: 331.9 kB / 0.5355 GB, free: 3.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.572, allocations: 242.7 kB / 0.5358 GB, free: 3.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/0.5726, allocations: 0.5629 MB / 0.5363 GB, free: 2.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/0.5731, allocations: 335.6 kB / 0.5366 GB, free: 2.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/0.5731, allocations: 4 kB / 0.5366 GB, free: 2.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001434/0.5745, allocations: 0.9109 MB / 0.5375 GB, free: 1.402 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.5746, allocations: 12.94 kB / 0.5375 GB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.5746, allocations: 8 kB / 0.5376 GB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.5746, allocations: 20 kB / 0.5376 GB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.5753, allocations: 183.1 kB / 0.5377 GB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.5753, allocations: 19.94 kB / 0.5378 GB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008171/0.5761, allocations: 165 kB / 0.5379 GB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/0.5762, allocations: 43.92 kB / 0.538 GB, free: 0.9805 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.0001896/0.5764, allocations: 168.7 kB / 0.5381 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.5766, allocations: 126.4 kB / 0.5382 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.578, allocations: 0.7456 MB / 0.539 GB, free: 28 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.578, allocations: 4 kB / 0.539 GB, free: 24 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.578, allocations: 4 kB / 0.539 GB, free: 20 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.578, allocations: 0 / 0.539 GB, free: 20 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.5792, allocations: 0.7236 MB / 0.5397 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5792, allocations: 0 / 0.5397 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.5797, allocations: 115.3 kB / 0.5398 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.5797, allocations: 7.953 kB / 0.5398 GB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.5798, allocations: 19.8 kB / 0.5398 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.5798, allocations: 7.922 kB / 0.5398 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5798, allocations: 4 kB / 0.5398 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.5809, allocations: 1.114 MB / 0.5409 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/0.5814, allocations: 278 kB / 0.5412 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.5815, allocations: 11.3 kB / 0.5412 GB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006241/0.5821, allocations: 51.47 kB / 0.5413 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5822, allocations: 39.77 kB / 0.5413 GB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.5823, allocations: 15.94 kB / 0.5413 GB, free: 13.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.5834, allocations: 0.9117 MB / 0.5422 GB, free: 13.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-07/0.5834, allocations: 0 / 0.5422 GB, free: 13.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001251/0.5847, allocations: 313.6 kB / 0.5425 GB, free: 12.72 MB / 362.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.0005694/0.5852, allocations: 304.8 kB / 0.5428 GB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009677/0.5862, allocations: 0.5715 MB / 0.5433 GB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5862, allocations: 0 / 0.5433 GB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.5866, allocations: 248.2 kB / 0.5436 GB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.5877, allocations: 247.3 kB / 0.5438 GB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.59, allocations: 1.464 MB / 0.5452 GB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007673/0.5908, allocations: 1.187 MB / 0.5464 GB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008928/0.5917, allocations: 394.7 kB / 0.5468 GB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.5919, allocations: 81.92 kB / 0.5469 GB, free: 8.449 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5919, allocations: 0 / 0.5469 GB, free: 8.449 MB / 362.7 MB Notification: Performance of Templates: time 0.02721/0.6192, allocations: 15.74 MB / 0.5622 GB, free: 8.785 MB / 378.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)