Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01008/0.01009, allocations: 163.6 kB / 15.12 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.812/1.812, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001856/0.001856, allocations: 98.83 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4692/0.4692, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.000471, allocations: 11.94 kB / 363 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1307, allocations: 48.71 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004046/0.1348, allocations: 1.656 MB / 413.4 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.1379, allocations: 0.9982 MB / 414.4 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.1382, allocations: 8 kB / 414.4 MB, free: 1.996 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.1386, allocations: 39.73 kB / 414.4 MB, free: 1.957 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.1389, allocations: 75.58 kB / 414.5 MB, free: 1.883 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009371/0.1399, allocations: 127.6 kB / 414.6 MB, free: 1.758 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007575/0.1407, allocations: 350.5 kB / 415 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1409, allocations: 40.64 kB / 415 MB, free: 1.375 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.1412, allocations: 115.4 kB / 415.1 MB, free: 1.262 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.1416, allocations: 143.4 kB / 415.3 MB, free: 1.121 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.489e-05/0.1417, allocations: 11.94 kB / 415.3 MB, free: 1.109 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000763/0.1425, allocations: 179.8 kB / 415.4 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.1427, allocations: 75.66 kB / 415.5 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.1428, allocations: 65.58 kB / 415.6 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.1434, allocations: 239.4 kB / 415.8 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1435, allocations: 4 kB / 415.8 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1435, allocations: 0 / 415.8 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1435, allocations: 0 / 415.8 MB, free: 0.5508 MB / 314.7 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.001875/0.1454, allocations: 0.5963 MB / 416.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.1455, allocations: 12.03 kB / 416.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.1457, allocations: 62.53 kB / 416.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.1458, allocations: 31.62 kB / 416.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.1464, allocations: 250.5 kB / 416.8 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.1464, allocations: 24.55 kB / 416.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.992e-05/0.1465, allocations: 24 kB / 416.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.1481, allocations: 449.8 kB / 417.3 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.1482, allocations: 0 / 417.3 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.384e-05/0.1483, allocations: 12 kB / 417.3 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.1483, allocations: 16.5 kB / 417.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.15, allocations: 349.9 kB / 417.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.1531, allocations: 1.096 MB / 418.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.1543, allocations: 259.7 kB / 419 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006397/0.155, allocations: 122.5 kB / 419.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.1551, allocations: 7.984 kB / 419.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.1551, allocations: 38.55 kB / 419.1 MB, free: 13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/0.1551, allocations: 3.938 kB / 419.1 MB, free: 13 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.00257/0.1577, allocations: 393.1 kB / 419.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.1579, allocations: 106.8 kB / 419.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009813/0.1589, allocations: 405.5 kB / 420 MB, free: 12.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.625e-05/0.159, allocations: 29.7 kB / 420.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.1592, allocations: 195.8 kB / 420.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.1594, allocations: 47.36 kB / 420.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.1594, allocations: 4 kB / 420.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002831/0.1597, allocations: 350.8 kB / 420.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008386/0.1606, allocations: 132.1 kB / 420.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009202/0.1615, allocations: 241.6 kB / 421 MB, free: 11.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/0.1625, allocations: 167.8 kB / 421.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.1625, allocations: 0 / 421.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00213/0.1647, allocations: 420.9 kB / 421.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.1648, allocations: 8 kB / 421.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/0.1649, allocations: 23.98 kB / 421.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/0.1649, allocations: 8 kB / 421.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/0.1655, allocations: 60.14 kB / 421.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.1655, allocations: 4 kB / 421.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007072/0.1663, allocations: 59.52 kB / 421.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.1664, allocations: 19.98 kB / 421.8 MB, free: 10.27 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004024/0.1668, allocations: 178.7 kB / 421.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.167, allocations: 39.55 kB / 422 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.1684, allocations: 288.3 kB / 422.3 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.1684, allocations: 4 kB / 422.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1685, allocations: 0 / 422.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.1685, allocations: 8.031 kB / 422.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.1696, allocations: 317.2 kB / 422.6 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000118/0.1697, allocations: 16 kB / 422.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.1701, allocations: 31.97 kB / 422.6 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.1702, allocations: 0 / 422.6 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.1702, allocations: 8 kB / 422.6 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.1702, allocations: 7.938 kB / 422.6 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.1703, allocations: 3.984 kB / 422.6 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.172, allocations: 0.521 MB / 423.2 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.1723, allocations: 124.8 kB / 423.3 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.1724, allocations: 4 kB / 423.3 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/0.1731, allocations: 27.97 kB / 423.3 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.1733, allocations: 15.98 kB / 423.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.1733, allocations: 8 kB / 423.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006706/0.174, allocations: 295 kB / 423.6 MB, free: 8.293 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.174, allocations: 0 / 423.6 MB, free: 8.293 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001156/0.1752, allocations: 95.84 kB / 423.7 MB, free: 8.199 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00263/0.1778, allocations: 1.113 MB / 424.8 MB, free: 7.059 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.1799, allocations: 458.8 kB / 425.3 MB, free: 6.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.1799, allocations: 0 / 425.3 MB, free: 6.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009664/0.1809, allocations: 290.2 kB / 425.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.1824, allocations: 77.62 kB / 425.6 MB, free: 6.176 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.1962, allocations: 2.19 MB / 427.8 MB, free: 3.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007883/0.1971, allocations: 0.8028 MB / 428.6 MB, free: 3.047 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005387/0.1977, allocations: 66.91 kB / 428.7 MB, free: 2.984 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.198, allocations: 87.34 kB / 428.8 MB, free: 2.898 MB / 330.7 MB Notification: Performance of SimCode: time 1.492e-06/0.198, allocations: 4 kB / 428.8 MB, free: 2.895 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4152/0.6132, allocations: 8.273 MB / 437.1 MB, free: 46.09 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.6136, allocations: 231.4 kB / 437.3 MB, free: 45.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.058/3.671, allocations: 10.75 kB / 437.3 MB, free: 45.85 MB / 330.7 MB "" Variables in the reference:time,cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[3],m_flow[1],m_flow[2],m_flow[3],Re_1[1],Re_1[2],Re_1[3],Nu_1[1],Nu_1[2],Nu_1[3],Nu_2[1],Nu_2[2],Nu_2[3],Re,Pr[1],Pr[2],Pr[3],input_mflow_0.y,input_mflow_1.y,input_mflow_2.y Variables in the result:L,Nu_1[1],Nu_1[2],Nu_1[3],Nu_2[1],Nu_2[2],Nu_2[3],Pr[1],Pr[2],Pr[3],Re,Re_1[1],Re_1[2],Re_1[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],frac_dtoL,input_mflow_0.duration,input_mflow_0.height,input_mflow_0.offset,input_mflow_0.startTime,input_mflow_0.y,input_mflow_1.amplitude,input_mflow_1.freqHz,input_mflow_1.offset,input_mflow_1.phase,input_mflow_1.startTime,input_mflow_1.y,input_mflow_2.fallTimeConst,input_mflow_2.offset,input_mflow_2.outMax,input_mflow_2.riseTime,input_mflow_2.riseTimeConst,input_mflow_2.startTime,input_mflow_2.y,input_mflow_2.y_riseTime,lambda[1],lambda[2],lambda[3],m_flow[1],m_flow[2],m_flow[3],m_flow_IN_con_1[1].K,m_flow_IN_con_1[1].L,m_flow_IN_con_1[1].d_hyd,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].K,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].K,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].K,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].K,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].K,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].roughness,m_flow_IN_var_1[1].cp,m_flow_IN_var_1[1].eta,m_flow_IN_var_1[1].lambda,m_flow_IN_var_1[1].m_flow,m_flow_IN_var_1[1].rho,m_flow_IN_var_1[2].cp,m_flow_IN_var_1[2].eta,m_flow_IN_var_1[2].lambda,m_flow_IN_var_1[2].m_flow,m_flow_IN_var_1[2].rho,m_flow_IN_var_1[3].cp,m_flow_IN_var_1[3].eta,m_flow_IN_var_1[3].lambda,m_flow_IN_var_1[3].m_flow,m_flow_IN_var_1[3].rho,m_flow_IN_var_2[1].cp,m_flow_IN_var_2[1].eta,m_flow_IN_var_2[1].lambda,m_flow_IN_var_2[1].m_flow,m_flow_IN_var_2[1].rho,m_flow_IN_var_2[2].cp,m_flow_IN_var_2[2].eta,m_flow_IN_var_2[2].lambda,m_flow_IN_var_2[2].m_flow,m_flow_IN_var_2[2].rho,m_flow_IN_var_2[3].cp,m_flow_IN_var_2[3].eta,m_flow_IN_var_2[3].lambda,m_flow_IN_var_2[3].m_flow,m_flow_IN_var_2[3].rho,n,rho[1],rho[2],rho[3],time