Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",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.009226/0.009231, allocations: 162.3 kB / 15.12 MB, free: 6.035 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.849/1.849, 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.001735/0.001735, allocations: 110.8 kB / 226.2 MB, free: 10.08 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.4632/0.4632, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 12 kB / 363 MB, free: 5.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 48.71 MB / 411.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003567/0.1162, allocations: 1.449 MB / 413.2 MB, free: 3.207 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1187, allocations: 0.7526 MB / 413.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.1189, allocations: 4 kB / 413.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.1192, allocations: 31.83 kB / 414 MB, free: 2.418 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.1197, allocations: 63.72 kB / 414 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.12, allocations: 55.73 kB / 414.1 MB, free: 2.301 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.1205, allocations: 167.4 kB / 414.2 MB, free: 2.137 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.124e-05/0.1206, allocations: 19.89 kB / 414.3 MB, free: 2.117 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.1208, allocations: 51.78 kB / 414.3 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.121, allocations: 79.72 kB / 414.4 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.1211, allocations: 4 kB / 414.4 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.1214, allocations: 63.89 kB / 414.5 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.1215, allocations: 35.89 kB / 414.5 MB, free: 1.887 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.897e-05/0.1216, allocations: 33.64 kB / 414.5 MB, free: 1.848 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.1219, allocations: 83.81 kB / 414.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1219, allocations: 3.938 kB / 414.6 MB, free: 1.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.122, allocations: 4 kB / 414.6 MB, free: 1.758 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.122, allocations: 0 / 414.6 MB, free: 1.758 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009455/0.1229, allocations: 399.1 kB / 415 MB, free: 1.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.123, allocations: 12.03 kB / 415 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.655e-05/0.1231, allocations: 42.55 kB / 415.1 MB, free: 1.258 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006664/0.1238, allocations: 35.86 kB / 415.1 MB, free: 1.223 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.1242, allocations: 186.9 kB / 415.3 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.1242, allocations: 8 kB / 415.3 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.1243, allocations: 8 kB / 415.3 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000804/0.1251, allocations: 189.3 kB / 415.5 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1251, allocations: 0 / 415.5 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.1252, allocations: 7.984 kB / 415.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-05/0.1253, allocations: 8 kB / 415.5 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007995/0.1261, allocations: 147.8 kB / 415.6 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.1278, allocations: 0.6483 MB / 416.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/0.1286, allocations: 118.6 kB / 416.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.1289, allocations: 40.83 kB / 416.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.129, allocations: 0 / 416.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.129, allocations: 34.56 kB / 416.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.345e-06/0.129, allocations: 0 / 416.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009945/0.13, allocations: 165.4 kB / 416.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.1301, allocations: 51.41 kB / 416.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.1303, allocations: 126 kB / 416.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.1304, allocations: 25.7 kB / 416.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1305, allocations: 132 kB / 417 MB, free: 15.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.1306, allocations: 19.59 kB / 417 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/0.1306, allocations: 8 kB / 417 MB, free: 15.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.1309, allocations: 322.8 kB / 417.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.1312, allocations: 43.97 kB / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.1316, allocations: 99.62 kB / 417.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.1319, allocations: 51.97 kB / 417.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.132, allocations: 4 kB / 417.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008807/0.1329, allocations: 169.6 kB / 417.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.1329, allocations: 8 kB / 417.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.1329, allocations: 4 kB / 417.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.133, allocations: 0 / 417.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.1334, allocations: 47.91 kB / 417.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.1335, allocations: 4 kB / 417.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.1337, allocations: 19.84 kB / 417.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.1338, allocations: 8 kB / 417.8 MB, free: 14.33 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000207/0.1341, allocations: 134.8 kB / 417.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.1341, allocations: 7.906 kB / 417.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007523/0.1349, allocations: 138 kB / 418 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1349, allocations: 0 / 418 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.135, allocations: 0 / 418 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.135, allocations: 4 kB / 418 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.1355, allocations: 205.5 kB / 418.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1355, allocations: 0 / 418.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.1359, allocations: 27.92 kB / 418.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.1359, allocations: 7.984 kB / 418.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1359, allocations: 0 / 418.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1359, allocations: 4 kB / 418.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1359, allocations: 0 / 418.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.1367, allocations: 223.8 kB / 418.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.1368, allocations: 85.02 kB / 418.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.1368, allocations: 4 kB / 418.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.1371, allocations: 15.92 kB / 418.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.1372, allocations: 7.984 kB / 418.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.1372, allocations: 0 / 418.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1373, allocations: 95.27 kB / 418.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.985e-06/0.1374, allocations: 0 / 418.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006678/0.138, allocations: 27.94 kB / 418.7 MB, free: 13.26 MB / 330.7 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001241/0.1393, allocations: 0.7631 MB / 419.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007481/0.1401, allocations: 104.3 kB / 419.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1401, allocations: 4 kB / 419.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.1404, allocations: 51.94 kB / 419.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006286/0.1411, allocations: 4 kB / 419.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.1439, allocations: 0.755 MB / 420.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.1445, allocations: 0.7199 MB / 421.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002634/0.1448, allocations: 28.39 kB / 421.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.1449, allocations: 27.42 kB / 421.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1449, allocations: 0 / 421.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.1718, allocations: 1.99 MB / 423.2 MB, free: 8.766 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003507/0.1722, allocations: 233.8 kB / 423.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/3.004, allocations: 8 kB / 423.4 MB, free: 8.52 MB / 330.7 MB "" Variables in the reference:time,MIN,A_cross,roughness,d_hyd,K[1],L,eta,rho,input_mdot[1],input_dp[1],M_FLOW[1],DP[1],velocity[1],Re[1],DP_plot[1],zeta_TOT[1],lambda_FRI[1],input_DP.y Variables in the result:A_cross,DP[1],DP_plot[1],K[1],L,MIN,M_FLOW[1],Re[1],d_hyd,dp_IN_con[1].L,dp_IN_con[1].d_hyd,dp_IN_var[1].eta,dp_IN_var[1].rho,eta,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_mdot[1],lambda_FRI[1],m_flow_IN_con[1].L,m_flow_IN_con[1].d_hyd,m_flow_IN_var[1].eta,m_flow_IN_var[1].rho,n,rho,roughness,time,velocity[1],zeta_TOT[1]