Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",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.01016/0.01017, allocations: 161.5 kB / 15.11 MB, free: 5.957 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.863/1.863, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001763/0.001763, allocations: 106.8 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.4983/0.4983, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0005002, allocations: 12 kB / 363 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1156, allocations: 48.72 MB / 411.7 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002993/0.1186, allocations: 1.547 MB / 413.3 MB, free: 3.102 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.1211, allocations: 1.01 MB / 414.3 MB, free: 2.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1213, allocations: 3.938 kB / 414.3 MB, free: 2.086 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1216, allocations: 39.83 kB / 414.3 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1218, allocations: 59.66 kB / 414.4 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.1225, allocations: 139.6 kB / 414.5 MB, free: 1.852 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.123, allocations: 258.9 kB / 414.8 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.427e-05/0.1231, allocations: 17.95 kB / 414.8 MB, free: 1.582 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.1233, allocations: 83.62 kB / 414.9 MB, free: 1.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.1236, allocations: 107.5 kB / 415 MB, free: 1.395 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.1236, allocations: 8 kB / 415 MB, free: 1.387 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006315/0.1243, allocations: 219.6 kB / 415.2 MB, free: 1.172 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.86e-05/0.1244, allocations: 59.8 kB / 415.3 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.066e-05/0.1245, allocations: 53.58 kB / 415.3 MB, free: 1.055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.1249, allocations: 199.4 kB / 415.5 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1249, allocations: 0 / 415.5 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1249, allocations: 0 / 415.5 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1249, allocations: 0 / 415.5 MB, free: 0.8594 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00139/0.1263, allocations: 0.537 MB / 416 MB, free: 284 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1264, allocations: 16.03 kB / 416.1 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.715e-05/0.1265, allocations: 50.53 kB / 416.1 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.1266, allocations: 27.67 kB / 416.1 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.1269, allocations: 219.6 kB / 416.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.127, allocations: 15.75 kB / 416.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.127, allocations: 12 kB / 416.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.128, allocations: 296.5 kB / 416.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.128, allocations: 4 kB / 416.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.128, allocations: 4 kB / 416.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.1281, allocations: 11.98 kB / 416.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.1291, allocations: 251.5 kB / 416.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1308, allocations: 0.7695 MB / 417.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.1319, allocations: 247.7 kB / 417.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/0.1324, allocations: 106.5 kB / 418 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.973e-05/0.1325, allocations: 11.94 kB / 418.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1325, allocations: 42.59 kB / 418.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 3.336e-06/0.1326, allocations: 4 kB / 418.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001672/0.1342, allocations: 353.4 kB / 418.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.1344, allocations: 102.8 kB / 418.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.1348, allocations: 282.5 kB / 418.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.1349, allocations: 25.7 kB / 418.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.135, allocations: 147.8 kB / 419 MB, free: 13.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/0.1351, allocations: 43.36 kB / 419 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.1351, allocations: 0 / 419 MB, free: 13.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1353, allocations: 338.8 kB / 419.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/0.1358, allocations: 95.91 kB / 419.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.1363, allocations: 146.8 kB / 419.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.1368, allocations: 103.9 kB / 419.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.1369, allocations: 0 / 419.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001201/0.1381, allocations: 301.1 kB / 420 MB, free: 12.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.1381, allocations: 8 kB / 420 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.541e-05/0.1382, allocations: 8 kB / 420 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.1382, allocations: 4 kB / 420 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.1386, allocations: 35.97 kB / 420.1 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.1386, allocations: 4.062 kB / 420.1 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.139, allocations: 43.72 kB / 420.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.1391, allocations: 8 kB / 420.1 MB, free: 11.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002314/0.1393, allocations: 150.8 kB / 420.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1394, allocations: 27.66 kB / 420.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008866/0.1403, allocations: 227.7 kB / 420.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.1404, allocations: 11.94 kB / 420.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1404, allocations: 0 / 420.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1404, allocations: 0 / 420.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.141, allocations: 269.4 kB / 420.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.578e-05/0.1411, allocations: 19.98 kB / 420.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.1415, allocations: 35.91 kB / 420.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.1415, allocations: 4.047 kB / 420.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.1415, allocations: 11.94 kB / 420.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1416, allocations: 0 / 420.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.1416, allocations: 4 kB / 420.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.1428, allocations: 0.5015 MB / 421.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.1431, allocations: 116.8 kB / 421.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.1431, allocations: 3.953 kB / 421.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.1436, allocations: 23.98 kB / 421.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.1437, allocations: 19.97 kB / 421.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.1438, allocations: 4 kB / 421.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003367/0.1441, allocations: 201.9 kB / 421.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1441, allocations: 0 / 421.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006468/0.1448, allocations: 79.92 kB / 421.8 MB, free: 10.16 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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001956/0.1468, allocations: 1.093 MB / 422.9 MB, free: 9.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.148, allocations: 296.8 kB / 423.2 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.148, allocations: 0 / 423.2 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.1487, allocations: 201.3 kB / 423.4 MB, free: 8.516 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008412/0.1495, allocations: 44.48 kB / 423.4 MB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.1541, allocations: 1.626 MB / 425 MB, free: 6.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.1546, allocations: 0.7632 MB / 425.8 MB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.1549, allocations: 41.44 kB / 425.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.155, allocations: 67.41 kB / 425.9 MB, free: 5.871 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1551, allocations: 3.938 kB / 425.9 MB, free: 5.867 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/0.1958, allocations: 5.886 MB / 431.8 MB, free: 44 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2909/0.4867, allocations: 228.5 kB / 432 MB, free: 50.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/3.473, allocations: 0.7031 kB / 432 MB, free: 50.25 MB / 330.7 MB "" Variables in the reference:time,velocity[1],velocity[2],velocity[3],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_2[1],Re_2[2],Re_2[3],Nu_2[1],Nu_2[2],Nu_2[3],mflow_test,input_mflow_0.y,input_mflow_1.y,input_mflow_2.y Variables in the result:L,Nu_2[1],Nu_2[2],Nu_2[3],Re_2[1],Re_2[2],Re_2[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],h,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_2[1].L,m_flow_IN_con_2[1].h,m_flow_IN_con_2[1].s,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].h,m_flow_IN_con_2[2].s,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].h,m_flow_IN_con_2[3].s,m_flow_IN_con_2[3].target,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,mflow_test,n,rho[1],rho[2],rho[3],s,time,velocity[1],velocity[2],velocity[3]