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_KC.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_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.2+maint.om/package.mo): time 0.002631/0.002631, allocations: 182.6 kB / 7.458 MB, free: 2.504 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.211/1.211, 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.001714/0.001714, allocations: 119.8 kB / 247.1 MB, free: 6.352 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.1818/0.1818, allocations: 39.94 MB / 331.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.004e-06/7.044e-06, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3512/0.4644, allocations: 84.87 MB / 0.5201 GB, free: 9.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.4647, allocations: 93.92 kB / 0.5202 GB, free: 9.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03092/0.4957, allocations: 11.36 MB / 0.5312 GB, free: 4.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.4957, allocations: 4 kB / 0.5312 GB, free: 4.793 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007912/0.4965, allocations: 497.1 kB / 0.5317 GB, free: 4.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4966, allocations: 12.03 kB / 0.5317 GB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.458e-05/0.4967, allocations: 34.75 kB / 0.5318 GB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.497, allocations: 230.2 kB / 0.532 GB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.497, allocations: 8 kB / 0.532 GB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.4971, allocations: 16 kB / 0.532 GB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004076/0.4975, allocations: 328.5 kB / 0.5323 GB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.4979, allocations: 325 kB / 0.5326 GB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.4979, allocations: 0 / 0.5326 GB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.498, allocations: 0 / 0.5326 GB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.498, allocations: 28.55 kB / 0.5327 GB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.4994, allocations: 0.7603 MB / 0.5334 GB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.4997, allocations: 254.4 kB / 0.5336 GB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.4999, allocations: 83.44 kB / 0.5337 GB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-05/0.4999, allocations: 11.34 kB / 0.5337 GB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.4999, allocations: 30.56 kB / 0.5338 GB, free: 2.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.006e-06/0.5, allocations: 0 / 0.5338 GB, free: 2.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004223/0.5004, allocations: 213.9 kB / 0.534 GB, free: 2.168 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.5004, allocations: 55.41 kB / 0.534 GB, free: 2.102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.5006, allocations: 174.1 kB / 0.5342 GB, free: 1.945 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.5006, allocations: 25.7 kB / 0.5342 GB, free: 1.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.5007, allocations: 170.8 kB / 0.5344 GB, free: 1.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.5007, allocations: 56.14 kB / 0.5344 GB, free: 1.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.5008, allocations: 0 / 0.5344 GB, free: 1.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.5009, allocations: 329 kB / 0.5347 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.501, allocations: 87.27 kB / 0.5348 GB, free: 1.301 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.5011, allocations: 172.8 kB / 0.535 GB, free: 1.109 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.5013, allocations: 127.1 kB / 0.5351 GB, free: 1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5013, allocations: 0 / 0.5351 GB, free: 1 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003988/0.5017, allocations: 294.5 kB / 0.5354 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5017, allocations: 7.984 kB / 0.5354 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5018, allocations: 4 kB / 0.5354 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5018, allocations: 4 kB / 0.5354 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.5024, allocations: 116.2 kB / 0.5355 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.5045, allocations: 3.711 MB / 0.5391 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.5048, allocations: 23.77 kB / 0.5392 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.5048, allocations: 12 kB / 0.5392 GB, free: 12.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.505, allocations: 120.8 kB / 0.5393 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.505, allocations: 15.91 kB / 0.5393 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006158/0.5057, allocations: 319.3 kB / 0.5396 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.5057, allocations: 4 kB / 0.5396 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.5057, allocations: 0 / 0.5396 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5057, allocations: 7.984 kB / 0.5396 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.5061, allocations: 265.5 kB / 0.5399 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5061, allocations: 0 / 0.5399 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/0.5067, allocations: 107.6 kB / 0.54 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5067, allocations: 0 / 0.54 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.5067, allocations: 4 kB / 0.54 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.5088, allocations: 3.703 MB / 0.5436 GB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.5089, allocations: 0 / 0.5436 GB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004067/0.5093, allocations: 313.1 kB / 0.5439 GB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.5094, allocations: 92.86 kB / 0.544 GB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.5094, allocations: 0 / 0.544 GB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.5096, allocations: 23.92 kB / 0.544 GB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.5097, allocations: 11.86 kB / 0.544 GB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.5097, allocations: 11.98 kB / 0.544 GB, free: 7.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001045/0.5098, allocations: 123.8 kB / 0.5441 GB, free: 7.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004785/0.5103, allocations: 82.69 kB / 0.5442 GB, free: 7.492 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003486/0.5107, allocations: 162.4 kB / 0.5444 GB, free: 7.328 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000892/0.5116, allocations: 296.8 kB / 0.5447 GB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5116, allocations: 0.75 kB / 0.5447 GB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006611/0.5123, allocations: 183 kB / 0.5448 GB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.5125, allocations: 21.34 kB / 0.5449 GB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008548/0.5134, allocations: 375.1 kB / 0.5452 GB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.5139, allocations: 0.8236 MB / 0.546 GB, free: 5.676 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5139, allocations: 0 / 0.546 GB, free: 5.676 MB / 362.7 MB Notification: Performance of Templates: time 0.007618/0.5215, allocations: 3.522 MB / 0.5495 GB, free: 2.195 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1)