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_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.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_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.001273/0.001273, 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.001141/0.001141, allocations: 193 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.694/1.694, allocations: 205.1 MB / 222 MB, free: 4.969 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.4296/0.4296, allocations: 37.98 MB / 307.3 MB, free: 9.898 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.001516/0.001516, allocations: 72.12 kB / 374.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1629, allocations: 56.46 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.004493/0.1674, allocations: 1.937 MB / 433 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1693, allocations: 0.8383 MB / 433.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.1694, allocations: 0 / 433.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.1698, allocations: 47.8 kB / 433.9 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.1702, allocations: 83.62 kB / 433.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.1705, allocations: 63.8 kB / 434 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.1709, allocations: 362.6 kB / 434.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.461e-05/0.171, allocations: 36.66 kB / 434.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.1712, allocations: 91.52 kB / 434.5 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.1714, allocations: 131.4 kB / 434.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.1714, allocations: 4 kB / 434.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.1717, allocations: 115.8 kB / 434.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1718, allocations: 71.67 kB / 434.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.1719, allocations: 99.3 kB / 434.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.1723, allocations: 294.8 kB / 435.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1724, allocations: 0 / 435.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1724, allocations: 0 / 435.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1724, allocations: 0 / 435.2 MB, free: 2.883 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009286/0.1733, allocations: 0.5459 MB / 435.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.1734, allocations: 16.02 kB / 435.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.1735, allocations: 32.56 kB / 435.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.1738, allocations: 235.9 kB / 436 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.1738, allocations: 20.88 kB / 436 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.1738, allocations: 24.12 kB / 436 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007762/0.1746, allocations: 381.2 kB / 436.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1747, allocations: 0 / 436.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.1747, allocations: 12 kB / 436.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-05/0.1748, allocations: 20.64 kB / 436.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/0.1755, allocations: 378.3 kB / 436.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.1771, allocations: 0.8345 MB / 437.7 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.1777, allocations: 266.3 kB / 437.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.1779, allocations: 100.8 kB / 438 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/0.178, allocations: 7.938 kB / 438 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.178, allocations: 30.56 kB / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.522e-06/0.178, allocations: 0 / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008326/0.1788, allocations: 345 kB / 438.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.1789, allocations: 51.41 kB / 438.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.1794, allocations: 342.8 kB / 438.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1795, allocations: 29.7 kB / 438.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.1797, allocations: 164 kB / 439 MB, free: 14.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.1797, allocations: 63.17 kB / 439 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.1798, allocations: 53.94 kB / 439.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.18, allocations: 338.8 kB / 439.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.1803, allocations: 104.4 kB / 439.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.1806, allocations: 184 kB / 439.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.1811, allocations: 310.7 kB / 440 MB, free: 13.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1811, allocations: 4 kB / 440 MB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006757/0.1818, allocations: 344.8 kB / 440.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1818, allocations: 8 kB / 440.3 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1819, allocations: 0 / 440.3 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.1819, allocations: 7.938 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.1825, allocations: 124.2 kB / 440.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.1849, allocations: 3.649 MB / 444.1 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.1851, allocations: 43.8 kB / 444.2 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.1852, allocations: 16 kB / 444.2 MB, free: 9.441 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003734/0.1856, allocations: 185.5 kB / 444.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.1857, allocations: 31.61 kB / 444.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007418/0.1864, allocations: 328.2 kB / 444.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1864, allocations: 3.938 kB / 444.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1864, allocations: 0 / 444.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.1865, allocations: 7.984 kB / 444.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.1869, allocations: 297.3 kB / 445 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1869, allocations: 0 / 445 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.1874, allocations: 107.9 kB / 445.1 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1875, allocations: 0 / 445.1 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.1875, allocations: 7.984 kB / 445.1 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002939/0.1904, allocations: 3.645 MB / 448.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1905, allocations: 7.875 kB / 448.8 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/0.1911, allocations: 363.3 kB / 449.1 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.1912, allocations: 100.8 kB / 449.2 MB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.1912, allocations: 0 / 449.2 MB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.1914, allocations: 15.92 kB / 449.2 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.1915, allocations: 11.98 kB / 449.3 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.1916, allocations: 11.98 kB / 449.3 MB, free: 4.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002881/0.1919, allocations: 245.9 kB / 449.5 MB, free: 3.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1919, allocations: 4 kB / 449.5 MB, free: 3.863 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004569/0.1923, allocations: 71.94 kB / 449.6 MB, free: 3.793 MB / 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000317/0.1927, allocations: 131.1 kB / 449.7 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008806/0.1935, allocations: 311.6 kB / 450 MB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1936, allocations: 4 kB / 450 MB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.1941, allocations: 188.5 kB / 450.2 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.1946, allocations: 72.77 kB / 450.3 MB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1959, allocations: 0.6323 MB / 450.9 MB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.1965, allocations: 0.8027 MB / 451.7 MB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002267/0.1967, allocations: 82.88 kB / 451.8 MB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.1968, allocations: 23.44 kB / 451.8 MB, free: 1.496 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1968, allocations: 0 / 451.8 MB, free: 1.496 MB / 382.1 MB Notification: Performance of Templates: time 0.2336/0.4304, allocations: 5.077 MB / 456.9 MB, free: 53.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1)