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_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.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 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.1_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.1_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.001149/0.001149, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001368/0.001368, allocations: 189.9 kB / 16.14 MB, free: 6.703 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.67/1.67, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4301/0.4301, allocations: 37.98 MB / 307.3 MB, free: 9.82 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.1. 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.001525/0.001525, allocations: 74.41 kB / 374.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1581, allocations: 56.46 MB / 431 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.00498/0.1631, allocations: 2.062 MB / 433.1 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.1652, allocations: 1.127 MB / 434.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.972e-05/0.1653, allocations: 4 kB / 434.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.1656, allocations: 51.73 kB / 434.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.1659, allocations: 71.58 kB / 434.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.1664, allocations: 135.6 kB / 434.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.1669, allocations: 410.4 kB / 434.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.666e-05/0.167, allocations: 33 kB / 434.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.1672, allocations: 115.4 kB / 435 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.1675, allocations: 143.3 kB / 435.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.1675, allocations: 8 kB / 435.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.1679, allocations: 191.7 kB / 435.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.168, allocations: 67.67 kB / 435.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.1682, allocations: 119.2 kB / 435.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006155/0.1688, allocations: 374.6 kB / 435.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1688, allocations: 0 / 435.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1688, allocations: 0 / 435.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1689, allocations: 0 / 435.9 MB, free: 2.145 MB / 366.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.001176/0.17, allocations: 0.6354 MB / 436.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1701, allocations: 12.03 kB / 436.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/0.1702, allocations: 32.55 kB / 436.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.1705, allocations: 259.7 kB / 436.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.1705, allocations: 24.5 kB / 436.9 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.1706, allocations: 24 kB / 436.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.1713, allocations: 441.8 kB / 437.3 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1713, allocations: 0 / 437.3 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.1714, allocations: 11.94 kB / 437.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.1714, allocations: 16.56 kB / 437.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006284/0.172, allocations: 325.9 kB / 437.7 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.1734, allocations: 1.1 MB / 438.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.1739, allocations: 239.7 kB / 439 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.1743, allocations: 110.5 kB / 439.1 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.22e-05/0.1743, allocations: 11.98 kB / 439.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.1744, allocations: 34.5 kB / 439.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.923e-06/0.1744, allocations: 0 / 439.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001058/0.1755, allocations: 352.9 kB / 439.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.1755, allocations: 106.8 kB / 439.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.176, allocations: 413.7 kB / 440 MB, free: 13.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.176, allocations: 29.7 kB / 440.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.1762, allocations: 191.8 kB / 440.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.1763, allocations: 51.34 kB / 440.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.1764, allocations: 65.83 kB / 440.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.1766, allocations: 338.8 kB / 440.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.1769, allocations: 120.1 kB / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.1773, allocations: 236.5 kB / 441 MB, free: 12.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000723/0.178, allocations: 367.3 kB / 441.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.178, allocations: 0 / 441.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007949/0.1788, allocations: 401.1 kB / 441.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1789, allocations: 8 kB / 441.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-05/0.1789, allocations: 28 kB / 441.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.1789, allocations: 7.984 kB / 441.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.1792, allocations: 47.91 kB / 441.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-05/0.1793, allocations: 15.88 kB / 441.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.1795, allocations: 55.5 kB / 441.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.1796, allocations: 12 kB / 442 MB, free: 11.72 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.0002516/0.1798, allocations: 181.7 kB / 442.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-05/0.1799, allocations: 31.62 kB / 442.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006544/0.1806, allocations: 276.4 kB / 442.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1806, allocations: 0 / 442.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.1806, allocations: 8.031 kB / 442.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1806, allocations: 15.91 kB / 442.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.1811, allocations: 301.4 kB / 442.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.468e-05/0.1812, allocations: 27.92 kB / 442.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.1813, allocations: 23.97 kB / 442.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1814, allocations: 0 / 442.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.1814, allocations: 4 kB / 442.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1814, allocations: 0 / 442.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.1814, allocations: 7.938 kB / 442.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007834/0.1822, allocations: 0.5093 MB / 443.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1823, allocations: 108.8 kB / 443.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.1824, allocations: 0 / 443.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.1826, allocations: 31.97 kB / 443.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.1828, allocations: 15.92 kB / 443.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.1828, allocations: 8 kB / 443.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003201/0.1831, allocations: 283.1 kB / 443.8 MB, free: 9.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1832, allocations: 0 / 443.8 MB, free: 9.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006964/0.1839, allocations: 103.8 kB / 443.9 MB, free: 9.703 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.0004173/0.1843, allocations: 159.1 kB / 444 MB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009331/0.1852, allocations: 425.9 kB / 444.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1852, allocations: 0 / 444.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.1857, allocations: 275 kB / 444.7 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.1864, allocations: 69.69 kB / 444.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1876, allocations: 0.692 MB / 445.5 MB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.188, allocations: 0.7989 MB / 446.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.1882, allocations: 66.88 kB / 446.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.1883, allocations: 23.42 kB / 446.3 MB, free: 7.078 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1883, allocations: 0 / 446.3 MB, free: 7.078 MB / 382.1 MB Notification: Performance of Templates: time 0.01083/0.1991, allocations: 5.354 MB / 451.7 MB, free: 1.723 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)