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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4015/0.4015, allocations: 39.99 MB / 310.4 MB, free: 9.98 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008589/0.0008592, allocations: 12 kB / 378.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.169, allocations: 57.96 MB / 436.8 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002778/0.1718, allocations: 1.552 MB / 438.4 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1733, allocations: 0.7649 MB / 439.1 MB, free: 192 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1735, allocations: 0 / 439.1 MB, free: 192 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.1738, allocations: 55.73 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.1741, allocations: 75.64 kB / 439.3 MB, free: 60 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.1744, allocations: 67.83 kB / 439.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.1749, allocations: 314.5 kB / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.175, allocations: 32.66 kB / 439.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.1752, allocations: 91.56 kB / 439.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1754, allocations: 123.5 kB / 439.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.1755, allocations: 8 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.1757, allocations: 115.8 kB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.1759, allocations: 59.75 kB / 440.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.401e-05/0.176, allocations: 69.52 kB / 440.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.1763, allocations: 207.3 kB / 440.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1764, allocations: 0 / 440.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1764, allocations: 0 / 440.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1764, allocations: 4 kB / 440.3 MB, free: 14.98 MB / 382.1 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.001036/0.1774, allocations: 0.5106 MB / 440.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.1775, allocations: 8.031 kB / 440.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.1776, allocations: 31.67 kB / 440.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.1781, allocations: 238.6 kB / 441.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.1781, allocations: 16.56 kB / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.1782, allocations: 23.98 kB / 441.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.1789, allocations: 381.3 kB / 441.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1789, allocations: 4 kB / 441.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/0.179, allocations: 15.94 kB / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.179, allocations: 24.64 kB / 441.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.1797, allocations: 378.3 kB / 441.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.1814, allocations: 0.8462 MB / 442.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.1819, allocations: 262 kB / 443 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.1822, allocations: 100.8 kB / 443.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.1822, allocations: 3.984 kB / 443.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.1823, allocations: 38.56 kB / 443.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 4.418e-06/0.1823, allocations: 3.938 kB / 443.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007451/0.183, allocations: 345.2 kB / 443.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.1831, allocations: 55.41 kB / 443.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.1834, allocations: 342.8 kB / 443.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1835, allocations: 25.7 kB / 443.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1836, allocations: 172 kB / 444.1 MB, free: 11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.1837, allocations: 55.2 kB / 444.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.1837, allocations: 7.938 kB / 444.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1838, allocations: 342.8 kB / 444.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.184, allocations: 104.4 kB / 444.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.1843, allocations: 191.9 kB / 444.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.1846, allocations: 135.8 kB / 444.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1846, allocations: 0 / 444.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006196/0.1852, allocations: 356.9 kB / 445.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1852, allocations: 4 kB / 445.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1852, allocations: 4 kB / 445.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1853, allocations: 4 kB / 445.3 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/0.1858, allocations: 123.9 kB / 445.4 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.188, allocations: 3.657 MB / 449.1 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.1882, allocations: 43.81 kB / 449.1 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.1883, allocations: 15.98 kB / 449.1 MB, free: 5.789 MB / 382.1 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 () * Number of clocked 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.0002949/0.1886, allocations: 177.7 kB / 449.3 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.1886, allocations: 23.72 kB / 449.3 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007365/0.1894, allocations: 347.3 kB / 449.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1894, allocations: 0 / 449.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1894, allocations: 0 / 449.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1894, allocations: 0 / 449.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.1898, allocations: 301.4 kB / 449.9 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1898, allocations: 4 kB / 450 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/0.1903, allocations: 103.9 kB / 450.1 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.1903, allocations: 4 kB / 450.1 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.1904, allocations: 11.98 kB / 450.1 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002751/0.1931, allocations: 3.645 MB / 453.7 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.1931, allocations: 3.984 kB / 453.7 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/0.1939, allocations: 359.4 kB / 454.1 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.1941, allocations: 112.8 kB / 454.2 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/0.1942, allocations: 8 kB / 454.2 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.1944, allocations: 11.92 kB / 454.2 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.956e-05/0.1945, allocations: 19.92 kB / 454.2 MB, free: 464 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.1945, allocations: 7.984 kB / 454.2 MB, free: 456 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003665/0.1949, allocations: 241.9 kB / 454.5 MB, free: 212 kB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1949, allocations: 0 / 454.5 MB, free: 212 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006412/0.1956, allocations: 79.92 kB / 454.5 MB, free: 132 kB / 382.1 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 () * Number of clocked 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.236/0.4316, allocations: 127.8 kB / 454.7 MB, free: 50.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.4327, allocations: 331 kB / 455 MB, free: 50.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4327, allocations: 0 / 455 MB, free: 50.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004973/0.4332, allocations: 195.3 kB / 455.2 MB, free: 50.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.4337, allocations: 58.94 kB / 455.2 MB, free: 50.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008721/0.4346, allocations: 0.6367 MB / 455.9 MB, free: 49.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.4348, allocations: 0.7933 MB / 456.7 MB, free: 49.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.435, allocations: 83.62 kB / 456.7 MB, free: 49.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.4351, allocations: 24.97 kB / 456.8 MB, free: 49.18 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4351, allocations: 0 / 456.8 MB, free: 49.18 MB / 382.1 MB Notification: Performance of Templates: time 0.007188/0.4423, allocations: 4.881 MB / 461.7 MB, free: 48.94 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: