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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002792/0.002792, allocations: 171.7 kB / 7.445 MB, free: 2.508 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.262/1.262, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.002107/0.002107, allocations: 119.8 kB / 217.7 MB, free: 8.168 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.2663/0.2663, allocations: 37.97 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.877e-06/8.907e-06, allocations: 1.469 kB / 349.5 MB, free: 37.13 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/0.4659, allocations: 91.96 MB / 490.2 MB, free: 13.28 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/0.4663, allocations: 94.19 kB / 490.3 MB, free: 13.28 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: time 0.09295/0.5592, allocations: 37.6 MB / 0.5155 GB, free: 144 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.718e-05/0.5593, allocations: 18.97 kB / 0.5155 GB, free: 140 kB / 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.00216/0.5615, allocations: 1.196 MB / 0.5167 GB, free: 15.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.5616, allocations: 8.75 kB / 0.5167 GB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.5618, allocations: 126.1 kB / 0.5168 GB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008903/0.5627, allocations: 487.6 kB / 0.5173 GB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/0.5627, allocations: 31.91 kB / 0.5173 GB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.5629, allocations: 58.48 kB / 0.5174 GB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00167/0.5645, allocations: 1.19 MB / 0.5185 GB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.5664, allocations: 1.188 MB / 0.5197 GB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.5665, allocations: 0 / 0.5197 GB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.5665, allocations: 1.25 kB / 0.5197 GB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.419e-05/0.5666, allocations: 70.28 kB / 0.5198 GB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004266/0.5709, allocations: 2.7 MB / 0.5224 GB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009732/0.5719, allocations: 0.6892 MB / 0.5231 GB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.5723, allocations: 249.1 kB / 0.5233 GB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.297e-05/0.5723, allocations: 12.17 kB / 0.5233 GB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.5724, allocations: 38.47 kB / 0.5234 GB, free: 11.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.066e-06/0.5724, allocations: 4 kB / 0.5234 GB, free: 11.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001118/0.5735, allocations: 0.5496 MB / 0.5239 GB, free: 10.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.5736, allocations: 183.9 kB / 0.5241 GB, free: 10.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/0.5743, allocations: 0.5705 MB / 0.5246 GB, free: 10.22 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.5743, allocations: 25.7 kB / 0.5247 GB, free: 10.19 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.5746, allocations: 491.5 kB / 0.5251 GB, free: 9.758 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.806e-05/0.5747, allocations: 109.4 kB / 0.5252 GB, free: 9.664 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.5748, allocations: 4.156 kB / 0.5252 GB, free: 9.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.5749, allocations: 385.8 kB / 0.5256 GB, free: 9.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.5753, allocations: 249.9 kB / 0.5258 GB, free: 9.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.576, allocations: 0.5639 MB / 0.5264 GB, free: 8.426 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.5765, allocations: 344.2 kB / 0.5267 GB, free: 8.125 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5765, allocations: 4 kB / 0.5267 GB, free: 8.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001304/0.5778, allocations: 0.8211 MB / 0.5275 GB, free: 7.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.5778, allocations: 15.92 kB / 0.5275 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.5778, allocations: 8 kB / 0.5275 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.5779, allocations: 20.78 kB / 0.5276 GB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007135/0.5786, allocations: 178.5 kB / 0.5277 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/0.5786, allocations: 23.92 kB / 0.5278 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/0.5793, allocations: 91.48 kB / 0.5278 GB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.842e-05/0.5794, allocations: 39.5 kB / 0.5279 GB, free: 7.004 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.0002057/0.5796, allocations: 157.6 kB / 0.528 GB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.5798, allocations: 71.06 kB / 0.5281 GB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.5814, allocations: 0.8275 MB / 0.5289 GB, free: 6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.5814, allocations: 8 kB / 0.5289 GB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5814, allocations: 0 / 0.5289 GB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5814, allocations: 0 / 0.5289 GB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.5827, allocations: 0.6616 MB / 0.5296 GB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5827, allocations: 0 / 0.5296 GB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.5832, allocations: 119.3 kB / 0.5297 GB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.5832, allocations: 7.906 kB / 0.5297 GB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.5832, allocations: 15.42 kB / 0.5297 GB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.5832, allocations: 8 kB / 0.5297 GB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.5833, allocations: 7.984 kB / 0.5297 GB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001146/0.5844, allocations: 1.081 MB / 0.5308 GB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.5847, allocations: 213.8 kB / 0.531 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.5849, allocations: 7.984 kB / 0.531 GB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005942/0.5855, allocations: 51.95 kB / 0.531 GB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.5856, allocations: 35.7 kB / 0.5311 GB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.5856, allocations: 19.66 kB / 0.5311 GB, free: 3.875 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0004723/0.5861, allocations: 426.2 kB / 0.5315 GB, free: 3.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001524/0.5876, allocations: 346.1 kB / 0.5318 GB, free: 3.207 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.0006047/0.5883, allocations: 321.9 kB / 0.5321 GB, free: 2.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009928/0.5893, allocations: 0.5841 MB / 0.5327 GB, free: 2.391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5893, allocations: 4.062 kB / 0.5327 GB, free: 2.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.5897, allocations: 259.2 kB / 0.5329 GB, free: 2.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/0.5904, allocations: 100.9 kB / 0.533 GB, free: 2.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.5933, allocations: 1.364 MB / 0.5344 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.5944, allocations: 1.269 MB / 0.5356 GB, free: 15.49 MB / 362.7 MB Notification: Performance of SimCode: time 4.9e-07/0.5944, allocations: 0 / 0.5356 GB, free: 15.49 MB / 362.7 MB Notification: Performance of Templates: time 0.02098/0.6154, allocations: 11.48 MB / 0.5468 GB, free: 4.074 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)