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_turbulent.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_turbulent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [: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.2+maint.om/package.mo): time 0.004257/0.004257, allocations: 186.9 kB / 7.459 MB, free: 2.469 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.232/1.232, allocations: 194.2 MB / 202.1 MB, free: 8.648 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.00174/0.00174, allocations: 125.3 kB / 247.1 MB, free: 6.406 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.18/0.18, allocations: 39.94 MB / 331.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.544e-06/7.574e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 54.86 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.354/0.4624, allocations: 86.83 MB / 0.522 GB, free: 9.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.4628, allocations: 91.81 kB / 0.5221 GB, free: 9.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03423/0.4971, allocations: 12.88 MB / 0.5346 GB, free: 1.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.4971, allocations: 4 kB / 0.5346 GB, free: 1.984 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008341/0.498, allocations: 0.5657 MB / 0.5352 GB, free: 1.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.498, allocations: 12.02 kB / 0.5352 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.4981, allocations: 31.62 kB / 0.5352 GB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.4984, allocations: 253.7 kB / 0.5355 GB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4984, allocations: 8 kB / 0.5355 GB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.4985, allocations: 19.94 kB / 0.5355 GB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003513/0.4988, allocations: 244.5 kB / 0.5357 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.4993, allocations: 384.2 kB / 0.5361 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4993, allocations: 0 / 0.5361 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.4993, allocations: 0 / 0.5361 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.4993, allocations: 16.66 kB / 0.5361 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.5007, allocations: 1.021 MB / 0.5371 GB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.501, allocations: 217.5 kB / 0.5373 GB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.5012, allocations: 81.38 kB / 0.5374 GB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.5012, allocations: 7.562 kB / 0.5374 GB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.5013, allocations: 38.56 kB / 0.5374 GB, free: 15.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.5013, allocations: 0 / 0.5374 GB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004709/0.5017, allocations: 198.4 kB / 0.5376 GB, free: 15.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.5018, allocations: 106.8 kB / 0.5377 GB, free: 14.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.502, allocations: 223.2 kB / 0.5379 GB, free: 14.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.5021, allocations: 25.7 kB / 0.538 GB, free: 14.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.5022, allocations: 194.3 kB / 0.5382 GB, free: 14.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.5022, allocations: 46.3 kB / 0.5382 GB, free: 14.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.5023, allocations: 0 / 0.5382 GB, free: 14.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5024, allocations: 329.5 kB / 0.5385 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.5025, allocations: 90.66 kB / 0.5386 GB, free: 14.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.5028, allocations: 203.7 kB / 0.5388 GB, free: 13.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.503, allocations: 130.6 kB / 0.5389 GB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.503, allocations: 0 / 0.5389 GB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005513/0.5035, allocations: 321.1 kB / 0.5392 GB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.5036, allocations: 4.094 kB / 0.5392 GB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.237e-05/0.5036, allocations: 31.91 kB / 0.5393 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.5036, allocations: 4.531 kB / 0.5393 GB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.5039, allocations: 55.91 kB / 0.5393 GB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/0.504, allocations: 11.92 kB / 0.5393 GB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.5043, allocations: 47.67 kB / 0.5394 GB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.5043, allocations: 23.92 kB / 0.5394 GB, free: 13.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001049/0.5044, allocations: 112.9 kB / 0.5395 GB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.4e-05/0.5045, allocations: 19.72 kB / 0.5395 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005394/0.5051, allocations: 291 kB / 0.5398 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5051, allocations: 4 kB / 0.5398 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5051, allocations: 0 / 0.5398 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5051, allocations: 7.984 kB / 0.5398 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.5055, allocations: 274.3 kB / 0.5401 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.101e-05/0.5056, allocations: 19.98 kB / 0.5401 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.5058, allocations: 35.91 kB / 0.5401 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5058, allocations: 4 kB / 0.5401 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.5058, allocations: 7.984 kB / 0.5401 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5058, allocations: 0 / 0.5401 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5058, allocations: 7.906 kB / 0.5401 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004488/0.5063, allocations: 478 kB / 0.5406 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/0.5064, allocations: 92.92 kB / 0.5407 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.5064, allocations: 3.984 kB / 0.5407 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.5067, allocations: 23.89 kB / 0.5407 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.5068, allocations: 23.08 kB / 0.5407 GB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.5068, allocations: 19.91 kB / 0.5408 GB, free: 11.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001405/0.507, allocations: 165.7 kB / 0.5409 GB, free: 11.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006013/0.5076, allocations: 107.6 kB / 0.541 GB, free: 11.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0004488/0.508, allocations: 178.2 kB / 0.5412 GB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000498/0.5085, allocations: 379.5 kB / 0.5415 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5086, allocations: 1.062 kB / 0.5415 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.5088, allocations: 242.6 kB / 0.5418 GB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.5092, allocations: 29.33 kB / 0.5418 GB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.5103, allocations: 417.4 kB / 0.5422 GB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.5108, allocations: 0.8324 MB / 0.543 GB, free: 9.492 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5108, allocations: 0 / 0.543 GB, free: 9.492 MB / 362.7 MB Notification: Performance of Templates: time 0.009205/0.52, allocations: 3.879 MB / 0.5468 GB, free: 5.656 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)