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.001659/0.001659, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002346/0.002346, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.665/1.665, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.3642/0.3642, allocations: 37.99 MB / 307.8 MB, free: 9.941 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.001667/0.001667, allocations: 66.56 kB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1489, allocations: 56.46 MB / 431.7 MB, free: 6.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.004314/0.1533, allocations: 1.872 MB / 433.6 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.155, allocations: 0.8382 MB / 434.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1552, allocations: 0 / 434.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.1556, allocations: 51.73 kB / 434.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004004/0.156, allocations: 83.56 kB / 434.6 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1564, allocations: 79.72 kB / 434.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.1568, allocations: 262.8 kB / 434.9 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.1569, allocations: 36.64 kB / 434.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.1571, allocations: 99.48 kB / 435 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1573, allocations: 123.4 kB / 435.2 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.1574, allocations: 4 kB / 435.2 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.1576, allocations: 115.8 kB / 435.3 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1578, allocations: 67.67 kB / 435.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1579, allocations: 103.3 kB / 435.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005183/0.1584, allocations: 306.7 kB / 435.7 MB, free: 2.555 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1584, allocations: 7.984 kB / 435.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1584, allocations: 0 / 435.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1585, allocations: 0 / 435.8 MB, free: 2.547 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.0009883/0.1595, allocations: 0.5419 MB / 436.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1595, allocations: 11.89 kB / 436.3 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.1596, allocations: 32.56 kB / 436.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1599, allocations: 243.5 kB / 436.6 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.1599, allocations: 12.94 kB / 436.6 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.1599, allocations: 28.12 kB / 436.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.1606, allocations: 385.2 kB / 437 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1606, allocations: 0 / 437 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.1606, allocations: 8 kB / 437 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.1607, allocations: 24.64 kB / 437 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.1613, allocations: 374.3 kB / 437.4 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.1628, allocations: 0.8423 MB / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.1633, allocations: 258 kB / 438.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.1635, allocations: 92.83 kB / 438.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.1636, allocations: 19.92 kB / 438.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1636, allocations: 34.5 kB / 438.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.1636, allocations: 0 / 438.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008379/0.1645, allocations: 329.2 kB / 439 MB, free: 15.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.1646, allocations: 59.39 kB / 439 MB, free: 15.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.165, allocations: 342.8 kB / 439.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.165, allocations: 29.7 kB / 439.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1652, allocations: 168 kB / 439.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.1652, allocations: 55.2 kB / 439.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-05/0.1653, allocations: 57.92 kB / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.1655, allocations: 338.8 kB / 440 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.1658, allocations: 100.4 kB / 440.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.1661, allocations: 191.9 kB / 440.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005752/0.1667, allocations: 302.8 kB / 440.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1667, allocations: 0 / 440.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007102/0.1674, allocations: 353.4 kB / 440.9 MB, free: 13.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1675, allocations: 4 kB / 440.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.1675, allocations: 4 kB / 440.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.1675, allocations: 4 kB / 440.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.1682, allocations: 127.9 kB / 441 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.1714, allocations: 3.641 MB / 444.7 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.1716, allocations: 47.55 kB / 444.7 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.1717, allocations: 12 kB / 444.7 MB, free: 9.121 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.0004113/0.1721, allocations: 185.7 kB / 444.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.1722, allocations: 27.62 kB / 444.9 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007675/0.173, allocations: 335.5 kB / 445.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.173, allocations: 3.984 kB / 445.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.173, allocations: 0 / 445.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.173, allocations: 4 kB / 445.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.1734, allocations: 305.3 kB / 445.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1734, allocations: 4 kB / 445.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.1739, allocations: 111.9 kB / 445.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1739, allocations: 3.938 kB / 445.7 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.174, allocations: 4 kB / 445.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.1768, allocations: 3.649 MB / 449.4 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.1768, allocations: 3.938 kB / 449.4 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.1774, allocations: 347 kB / 449.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.1775, allocations: 108.9 kB / 449.8 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.1775, allocations: 4 kB / 449.8 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1777, allocations: 11.94 kB / 449.8 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.1778, allocations: 15.97 kB / 449.8 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1778, allocations: 11.94 kB / 449.8 MB, free: 3.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002592/0.1781, allocations: 245.9 kB / 450.1 MB, free: 3.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1781, allocations: 0 / 450.1 MB, free: 3.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004472/0.1786, allocations: 71.94 kB / 450.2 MB, free: 3.469 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.0003399/0.1789, allocations: 135.1 kB / 450.3 MB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009383/0.1799, allocations: 340.3 kB / 450.6 MB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1799, allocations: 0 / 450.6 MB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005693/0.1804, allocations: 187.7 kB / 450.8 MB, free: 2.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.181, allocations: 64.8 kB / 450.9 MB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1823, allocations: 0.586 MB / 451.5 MB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.1828, allocations: 0.791 MB / 452.2 MB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.1831, allocations: 82.89 kB / 452.3 MB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.1831, allocations: 19.44 kB / 452.3 MB, free: 1.215 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.1831, allocations: 4 kB / 452.3 MB, free: 1.211 MB / 382.1 MB Notification: Performance of Templates: time 0.2614/0.4445, allocations: 5.332 MB / 457.7 MB, free: 53.89 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)