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.0008121/0.0008122, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006368/0.006369, allocations: 169.8 kB / 16.27 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.729/1.729, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.4636/0.4636, allocations: 40 MB / 310.7 MB, free: 9.406 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.0006735/0.0006733, allocations: 12.52 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1463, allocations: 57.96 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.00248/0.1488, allocations: 1.723 MB / 439.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1506, allocations: 1.103 MB / 440.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.1507, allocations: 4 kB / 440.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.151, allocations: 51.73 kB / 440.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1512, allocations: 71.58 kB / 440.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.1517, allocations: 135.6 kB / 440.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.1522, allocations: 406.4 kB / 440.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.597e-05/0.1523, allocations: 33 kB / 440.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.1525, allocations: 115.4 kB / 441.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1527, allocations: 151.3 kB / 441.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.1528, allocations: 8 kB / 441.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.1532, allocations: 187.7 kB / 441.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1533, allocations: 75.66 kB / 441.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1534, allocations: 144.9 kB / 441.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.154, allocations: 374.6 kB / 442 MB, free: 13.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.154, allocations: 0 / 442 MB, free: 13.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.342e-06/0.1541, allocations: 0 / 442 MB, free: 13.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1541, allocations: 7.938 kB / 442 MB, free: 13.32 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.001248/0.1553, allocations: 0.5809 MB / 442.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.1554, allocations: 8.031 kB / 442.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.223e-05/0.1555, allocations: 36.56 kB / 442.6 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.1559, allocations: 267.7 kB / 442.9 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.1559, allocations: 20.5 kB / 442.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.156, allocations: 28 kB / 442.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00076/0.1567, allocations: 441.9 kB / 443.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1568, allocations: 3.938 kB / 443.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.1568, allocations: 12 kB / 443.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.1568, allocations: 12.56 kB / 443.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007389/0.1576, allocations: 349.9 kB / 443.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.1591, allocations: 1.096 MB / 444.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.1596, allocations: 259.7 kB / 445.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.1599, allocations: 118.5 kB / 445.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.16, allocations: 11.92 kB / 445.2 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.1601, allocations: 38.56 kB / 445.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.863e-06/0.1601, allocations: 0 / 445.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001098/0.1612, allocations: 397.1 kB / 445.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.1613, allocations: 110.8 kB / 445.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.1618, allocations: 409.4 kB / 446.1 MB, free: 8.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1618, allocations: 29.7 kB / 446.2 MB, free: 8.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.162, allocations: 187.8 kB / 446.3 MB, free: 8.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.162, allocations: 51.3 kB / 446.4 MB, free: 8.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.1621, allocations: 33.73 kB / 446.4 MB, free: 8.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1623, allocations: 338.8 kB / 446.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.1626, allocations: 132.1 kB / 446.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.163, allocations: 248.5 kB / 447.1 MB, free: 7.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007084/0.1637, allocations: 391 kB / 447.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1637, allocations: 4 kB / 447.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008461/0.1646, allocations: 432.6 kB / 447.9 MB, free: 6.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1646, allocations: 8 kB / 447.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.99e-05/0.1646, allocations: 24.48 kB / 448 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.1647, allocations: 12 kB / 448 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.1649, allocations: 47.91 kB / 448 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.1649, allocations: 15.92 kB / 448 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.1652, allocations: 55.52 kB / 448.1 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.1652, allocations: 24 kB / 448.1 MB, free: 6.797 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.0001988/0.1655, allocations: 177.6 kB / 448.3 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-05/0.1656, allocations: 27.62 kB / 448.3 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.1662, allocations: 304.4 kB / 448.6 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1662, allocations: 0 / 448.6 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.1662, allocations: 7.938 kB / 448.6 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1662, allocations: 3.984 kB / 448.6 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1666, allocations: 301.4 kB / 448.9 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-05/0.1667, allocations: 23.98 kB / 449 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1668, allocations: 31.97 kB / 449 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1669, allocations: 0 / 449 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.1669, allocations: 8 kB / 449 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1669, allocations: 4 kB / 449 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.1669, allocations: 3.938 kB / 449 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007977/0.1677, allocations: 0.5365 MB / 449.5 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.1678, allocations: 108.7 kB / 449.6 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.1679, allocations: 4 kB / 449.6 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.1681, allocations: 23.97 kB / 449.7 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.1682, allocations: 19.92 kB / 449.7 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1682, allocations: 12 kB / 449.7 MB, free: 5.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.1685, allocations: 291.1 kB / 450 MB, free: 4.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1686, allocations: 96 / 450 MB, free: 4.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005409/0.1691, allocations: 95.88 kB / 450.1 MB, free: 4.734 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.0003119/0.1694, allocations: 151.1 kB / 450.2 MB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008319/0.1703, allocations: 450.8 kB / 450.7 MB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1703, allocations: 0 / 450.7 MB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.1707, allocations: 290.1 kB / 450.9 MB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.1713, allocations: 69.5 kB / 451 MB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1724, allocations: 0.7216 MB / 451.7 MB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.1729, allocations: 0.799 MB / 452.5 MB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.173, allocations: 70.89 kB / 452.6 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.1731, allocations: 23.38 kB / 452.6 MB, free: 2.047 MB / 382.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1731, allocations: 0 / 452.6 MB, free: 2.047 MB / 382.1 MB Notification: Performance of Templates: time 0.2694/0.4426, allocations: 5.321 MB / 457.9 MB, free: 47.81 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: