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/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,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001342, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00118/0.00118, allocations: 193.8 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.1 MB / 222 MB, free: 4.758 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.3521/0.3521, allocations: 39.94 MB / 309.3 MB, free: 9.598 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.00147/0.00147, allocations: 66.41 kB / 376.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.166, allocations: 56.88 MB / 433.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003591/0.1696, allocations: 2.066 MB / 435.9 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1714, allocations: 1.131 MB / 437 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.1715, allocations: 4 kB / 437 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.1718, allocations: 47.73 kB / 437.1 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.172, allocations: 67.59 kB / 437.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.1724, allocations: 135.6 kB / 437.3 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.1728, allocations: 406.4 kB / 437.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.141e-05/0.1729, allocations: 40.98 kB / 437.7 MB, free: 500 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.1731, allocations: 115.4 kB / 437.8 MB, free: 384 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1733, allocations: 147.3 kB / 438 MB, free: 236 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.1733, allocations: 8 kB / 438 MB, free: 228 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.1737, allocations: 187.7 kB / 438.2 MB, free: 40 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1738, allocations: 75.66 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1739, allocations: 123.2 kB / 438.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.1744, allocations: 374.6 kB / 438.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1744, allocations: 0 / 438.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1744, allocations: 8 kB / 438.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1744, allocations: 0 / 438.7 MB, free: 15.47 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001114/0.1755, allocations: 0.6159 MB / 439.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1756, allocations: 12.02 kB / 439.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.237e-05/0.1757, allocations: 32.56 kB / 439.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.176, allocations: 259.7 kB / 439.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.176, allocations: 28.5 kB / 439.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.176, allocations: 24 kB / 439.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007151/0.1767, allocations: 429.9 kB / 440.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1768, allocations: 0 / 440.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.1768, allocations: 12 kB / 440.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.1768, allocations: 24.48 kB / 440.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006561/0.1775, allocations: 318 kB / 440.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.179, allocations: 1.104 MB / 441.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005189/0.1795, allocations: 243.7 kB / 441.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.1798, allocations: 106.5 kB / 441.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.1798, allocations: 11.92 kB / 441.9 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1799, allocations: 38.48 kB / 442 MB, free: 12.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.1799, allocations: 4 kB / 442 MB, free: 12.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001022/0.1809, allocations: 352.9 kB / 442.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.181, allocations: 111 kB / 442.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/0.1814, allocations: 409.5 kB / 442.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1815, allocations: 29.7 kB / 442.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.1816, allocations: 187.8 kB / 443 MB, free: 10.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.1817, allocations: 47.36 kB / 443.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.1818, allocations: 65.83 kB / 443.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.182, allocations: 338.8 kB / 443.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.1823, allocations: 124.1 kB / 443.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.1828, allocations: 235.8 kB / 443.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007392/0.1835, allocations: 367 kB / 444.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1835, allocations: 0 / 444.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008253/0.1844, allocations: 409.3 kB / 444.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1844, allocations: 4 kB / 444.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-05/0.1844, allocations: 27.94 kB / 444.6 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1845, allocations: 4 kB / 444.6 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.1847, allocations: 43.95 kB / 444.6 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.1847, allocations: 19.86 kB / 444.7 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.185, allocations: 55.5 kB / 444.7 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.185, allocations: 20.12 kB / 444.7 MB, free: 9.055 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.1852, allocations: 181.6 kB / 444.9 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/0.1853, allocations: 31.62 kB / 445 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006005/0.1859, allocations: 288.2 kB / 445.2 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1859, allocations: 0 / 445.2 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1859, allocations: 7.938 kB / 445.2 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.186, allocations: 0 / 445.2 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.1864, allocations: 309.4 kB / 445.5 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/0.1864, allocations: 23.98 kB / 445.6 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1866, allocations: 23.97 kB / 445.6 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1866, allocations: 0 / 445.6 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.1866, allocations: 8 kB / 445.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1866, allocations: 4 kB / 445.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1867, allocations: 8.031 kB / 445.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.1873, allocations: 0.5013 MB / 446.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/0.1874, allocations: 112.7 kB / 446.2 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.1875, allocations: 4 kB / 446.2 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.1878, allocations: 15.98 kB / 446.2 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.1878, allocations: 23.91 kB / 446.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1879, allocations: 4 kB / 446.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002814/0.1881, allocations: 287.1 kB / 446.5 MB, free: 7.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1881, allocations: 0 / 446.5 MB, free: 7.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.1886, allocations: 95.92 kB / 446.6 MB, free: 7.047 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003496/0.189, allocations: 159.1 kB / 446.8 MB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008177/0.1898, allocations: 425.8 kB / 447.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1898, allocations: 1.062 kB / 447.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.1902, allocations: 278 kB / 447.5 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.1908, allocations: 73.56 kB / 447.6 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.192, allocations: 0.6959 MB / 448.3 MB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.1924, allocations: 0.7989 MB / 449.1 MB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001657/0.1925, allocations: 62.92 kB / 449.1 MB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.1926, allocations: 23.42 kB / 449.1 MB, free: 4.414 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1926, allocations: 0 / 449.1 MB, free: 4.414 MB / 382.1 MB Notification: Performance of Templates: time 0.2368/0.4294, allocations: 5.348 MB / 454.5 MB, free: 51.42 MB / 382.1 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)