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_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.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_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.001308/0.001308, allocations: 108 kB / 15.61 MB, free: 152 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.002913/0.002913, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.767/1.767, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.4545/0.4545, allocations: 39.94 MB / 309.7 MB, free: 9.266 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.001708/0.001708, allocations: 70.39 kB / 377.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1512, allocations: 56.88 MB / 434.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003501/0.1548, allocations: 1.872 MB / 436.4 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1564, allocations: 0.8421 MB / 437.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.1566, allocations: 8 kB / 437.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.1569, allocations: 51.67 kB / 437.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.1573, allocations: 79.56 kB / 437.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1575, allocations: 75.8 kB / 437.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.1579, allocations: 262.7 kB / 437.7 MB, free: 456 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.158, allocations: 40.62 kB / 437.7 MB, free: 416 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1581, allocations: 99.44 kB / 437.8 MB, free: 316 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1583, allocations: 119.4 kB / 438 MB, free: 196 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.1584, allocations: 12 kB / 438 MB, free: 184 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.1586, allocations: 119.8 kB / 438.1 MB, free: 64 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1587, allocations: 55.75 kB / 438.1 MB, free: 8 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.1589, allocations: 103.4 kB / 438.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.1593, allocations: 306.6 kB / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1593, allocations: 0 / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1593, allocations: 0 / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1593, allocations: 0 / 438.5 MB, free: 15.61 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008929/0.1602, allocations: 0.5498 MB / 439.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1603, allocations: 11.89 kB / 439.1 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.133e-05/0.1604, allocations: 28.56 kB / 439.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.1607, allocations: 247.8 kB / 439.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.1607, allocations: 24.88 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.1608, allocations: 24.12 kB / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.1614, allocations: 377.2 kB / 439.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1614, allocations: 0 / 439.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.1615, allocations: 12 kB / 439.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/0.1615, allocations: 28.64 kB / 439.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.1622, allocations: 366.3 kB / 440.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.1635, allocations: 0.8462 MB / 441 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.164, allocations: 254.3 kB / 441.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.1642, allocations: 92.84 kB / 441.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.1642, allocations: 15.91 kB / 441.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1642, allocations: 34.56 kB / 441.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.1643, allocations: 0 / 441.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007366/0.165, allocations: 333.2 kB / 441.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.165, allocations: 51.41 kB / 441.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.1654, allocations: 342.8 kB / 442.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1655, allocations: 29.7 kB / 442.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1656, allocations: 171.9 kB / 442.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/0.1657, allocations: 55.2 kB / 442.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.866e-05/0.1658, allocations: 69.83 kB / 442.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1659, allocations: 338.8 kB / 442.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.1662, allocations: 92.38 kB / 442.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.1665, allocations: 191.9 kB / 443.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.1671, allocations: 303.4 kB / 443.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1671, allocations: 4 kB / 443.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006584/0.1678, allocations: 344.8 kB / 443.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.1678, allocations: 8 kB / 443.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1678, allocations: 4.375 kB / 443.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1679, allocations: 8 kB / 443.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/0.1684, allocations: 123.9 kB / 443.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.1706, allocations: 3.653 MB / 447.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.1708, allocations: 39.53 kB / 447.5 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.1709, allocations: 19.98 kB / 447.5 MB, free: 6.145 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.0002925/0.1712, allocations: 185.5 kB / 447.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.1712, allocations: 23.72 kB / 447.7 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006615/0.1719, allocations: 323.6 kB / 448.1 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.1719, allocations: 7.938 kB / 448.1 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1719, allocations: 0 / 448.1 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1719, allocations: 0 / 448.1 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.1723, allocations: 305.3 kB / 448.4 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1723, allocations: 0 / 448.4 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.1728, allocations: 115.9 kB / 448.5 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1728, allocations: 0 / 448.5 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.1728, allocations: 8 kB / 448.5 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.1746, allocations: 3.649 MB / 452.1 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1747, allocations: 4.281 kB / 452.1 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005207/0.1752, allocations: 351 kB / 452.5 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/0.1753, allocations: 100.8 kB / 452.6 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.1753, allocations: 4 kB / 452.6 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1755, allocations: 15.92 kB / 452.6 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.1756, allocations: 11.98 kB / 452.6 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1756, allocations: 15.98 kB / 452.6 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002349/0.1758, allocations: 245.9 kB / 452.9 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1758, allocations: 3.938 kB / 452.9 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006027/0.1764, allocations: 75.84 kB / 452.9 MB, free: 0.4961 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.0003087/0.1768, allocations: 131.2 kB / 453.1 MB, free: 364 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.1781, allocations: 339.5 kB / 453.4 MB, free: 24 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1781, allocations: 0.75 kB / 453.4 MB, free: 24 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2381/0.4162, allocations: 188.1 kB / 453.6 MB, free: 53.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.4167, allocations: 65.36 kB / 453.7 MB, free: 53.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.4179, allocations: 0.5614 MB / 454.2 MB, free: 52.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4182, allocations: 0.7868 MB / 455 MB, free: 52.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003324/0.4186, allocations: 80.72 kB / 455.1 MB, free: 52.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/0.4187, allocations: 30.84 kB / 455.1 MB, free: 52.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4187, allocations: 0 / 455.1 MB, free: 52.28 MB / 382.1 MB Notification: Performance of Templates: time 0.01461/0.4333, allocations: 5.355 MB / 460.5 MB, free: 52.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1)