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.001047/0.001047, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001068/0.001069, allocations: 177.3 kB / 15.94 MB, free: 228 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.614/1.614, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.466/0.466, allocations: 38.04 MB / 308.4 MB, free: 10.43 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.0006563/0.0006567, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1611, allocations: 57.52 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003262/0.1645, allocations: 1.521 MB / 435.5 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1664, allocations: 0.7417 MB / 436.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.1667, allocations: 0 / 436.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.167, allocations: 43.73 kB / 436.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.1674, allocations: 59.81 kB / 436.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.1678, allocations: 71.8 kB / 436.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.1681, allocations: 167.6 kB / 436.6 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1682, allocations: 36.64 kB / 436.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.1684, allocations: 75.69 kB / 436.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.1686, allocations: 95.55 kB / 436.8 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.1687, allocations: 4 kB / 436.8 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.169, allocations: 119.9 kB / 436.9 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.005e-05/0.1691, allocations: 51.81 kB / 436.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.134e-05/0.1692, allocations: 65.52 kB / 437 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.1695, allocations: 191.5 kB / 437.2 MB, free: 2.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1695, allocations: 0 / 437.2 MB, free: 2.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1695, allocations: 0 / 437.2 MB, free: 2.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1695, allocations: 0 / 437.2 MB, free: 2.305 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.001146/0.1707, allocations: 0.5107 MB / 437.7 MB, free: 1.746 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.1707, allocations: 8.031 kB / 437.7 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.1709, allocations: 31.58 kB / 437.7 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.1713, allocations: 246.6 kB / 438 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/0.1714, allocations: 16.56 kB / 438 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.1714, allocations: 24 kB / 438 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.1722, allocations: 377.2 kB / 438.4 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1722, allocations: 0 / 438.4 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.1722, allocations: 8 kB / 438.4 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/0.1723, allocations: 28.59 kB / 438.4 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006546/0.173, allocations: 382.3 kB / 438.8 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1745, allocations: 0.8502 MB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.175, allocations: 266.3 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.175, allocations: 4 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.175, allocations: 34.56 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.175, allocations: 0 / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008054/0.1759, allocations: 353.8 kB / 440.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.1759, allocations: 55.41 kB / 440.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.1763, allocations: 338.9 kB / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1763, allocations: 29.7 kB / 440.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.1765, allocations: 168 kB / 440.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.1765, allocations: 55.19 kB / 440.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.1765, allocations: 8 kB / 440.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1767, allocations: 338.8 kB / 441.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.1769, allocations: 104.4 kB / 441.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.1772, allocations: 184 kB / 441.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.1775, allocations: 139.9 kB / 441.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1775, allocations: 4 kB / 441.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006303/0.1781, allocations: 352.8 kB / 442 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.1782, allocations: 8 kB / 442 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.1782, allocations: 3.938 kB / 442 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.1782, allocations: 8 kB / 442 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/0.1788, allocations: 120.2 kB / 442.2 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.1808, allocations: 3.649 MB / 445.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.1811, allocations: 59.52 kB / 445.9 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.1811, allocations: 12 kB / 445.9 MB, free: 9.211 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.0002537/0.1814, allocations: 178.7 kB / 446 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.1815, allocations: 31.61 kB / 446.1 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.1821, allocations: 335.6 kB / 446.4 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1822, allocations: 4 kB / 446.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1822, allocations: 0 / 446.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1822, allocations: 0 / 446.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.1825, allocations: 305.3 kB / 446.7 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1826, allocations: 4 kB / 446.7 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.183, allocations: 103.9 kB / 446.8 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1831, allocations: 0 / 446.8 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1831, allocations: 7.984 kB / 446.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.1851, allocations: 3.657 MB / 450.5 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1851, allocations: 0 / 450.5 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.1856, allocations: 355.6 kB / 450.8 MB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1857, allocations: 108.8 kB / 450.9 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.1858, allocations: 0 / 450.9 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.186, allocations: 15.98 kB / 450.9 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.186, allocations: 11.98 kB / 451 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1861, allocations: 7.984 kB / 451 MB, free: 3.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.1863, allocations: 241.9 kB / 451.2 MB, free: 3.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1863, allocations: 4 kB / 451.2 MB, free: 3.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000415/0.1867, allocations: 75.91 kB / 451.3 MB, free: 3.562 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 (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.0002873/0.187, allocations: 135.1 kB / 451.4 MB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009457/0.188, allocations: 332.8 kB / 451.7 MB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.188, allocations: 0 / 451.7 MB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.1886, allocations: 195.9 kB / 451.9 MB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1889, allocations: 68.73 kB / 452 MB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009764/0.1899, allocations: 0.6369 MB / 452.6 MB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.1904, allocations: 0.8027 MB / 453.4 MB, free: 1.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.1906, allocations: 86.88 kB / 453.5 MB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.1907, allocations: 23.44 kB / 453.5 MB, free: 1.227 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1907, allocations: 0 / 453.5 MB, free: 1.227 MB / 382.1 MB Notification: Performance of Templates: time 0.2561/0.4468, allocations: 4.766 MB / 458.3 MB, free: 50.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: