Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.009766/0.009771, allocations: 164 kB / 15.12 MB, free: 5.965 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.765/1.765, allocations: 170.8 MB / 186.7 MB, free: 1.105 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.00173/0.00173, allocations: 114.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.4607/0.4607, allocations: 38.06 MB / 303.7 MB, free: 42.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004815, allocations: 11.98 kB / 363 MB, free: 5.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 48.72 MB / 411.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003622/0.1245, allocations: 1.351 MB / 413.1 MB, free: 3.305 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.1272, allocations: 0.7487 MB / 413.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.1273, allocations: 3.938 kB / 413.8 MB, free: 2.551 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.1276, allocations: 27.89 kB / 413.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.1279, allocations: 55.73 kB / 413.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.1285, allocations: 79.72 kB / 414 MB, free: 2.391 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.129, allocations: 179.2 kB / 414.2 MB, free: 2.215 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.1291, allocations: 13.39 kB / 414.2 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.1293, allocations: 55.77 kB / 414.2 MB, free: 2.148 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.1296, allocations: 79.69 kB / 414.3 MB, free: 2.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.1297, allocations: 0 / 414.3 MB, free: 2.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000667/0.1304, allocations: 147.8 kB / 414.5 MB, free: 1.926 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.756e-05/0.1305, allocations: 39.83 kB / 414.5 MB, free: 1.887 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.236e-05/0.1306, allocations: 45.64 kB / 414.5 MB, free: 1.836 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.131, allocations: 135.7 kB / 414.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1311, allocations: 0 / 414.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1311, allocations: 0 / 414.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1311, allocations: 4 kB / 414.7 MB, free: 1.699 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009856/0.1321, allocations: 442.8 kB / 415.1 MB, free: 1.219 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.1322, allocations: 8.031 kB / 415.1 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.1323, allocations: 50.55 kB / 415.2 MB, free: 1.152 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.1334, allocations: 71.69 kB / 415.2 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.1339, allocations: 210.9 kB / 415.4 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.1339, allocations: 11.98 kB / 415.5 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.491e-05/0.134, allocations: 19.92 kB / 415.5 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009763/0.135, allocations: 238.5 kB / 415.7 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1351, allocations: 0 / 415.7 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.1351, allocations: 11.92 kB / 415.7 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.82e-05/0.1352, allocations: 19.98 kB / 415.7 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.1364, allocations: 235.6 kB / 416 MB, free: 312 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.1388, allocations: 0.7323 MB / 416.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.1395, allocations: 94.44 kB / 416.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/0.1399, allocations: 56.81 kB / 416.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1399, allocations: 4 kB / 416.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.14, allocations: 30.56 kB / 416.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 4.228e-06/0.14, allocations: 0 / 416.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001322/0.1413, allocations: 185.5 kB / 417.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.1414, allocations: 55.39 kB / 417.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.1419, allocations: 188 kB / 417.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.1419, allocations: 25.7 kB / 417.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1421, allocations: 135.5 kB / 417.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.1422, allocations: 31.58 kB / 417.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.1422, allocations: 4 kB / 417.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.1424, allocations: 326.8 kB / 417.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.1428, allocations: 51.94 kB / 417.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.1433, allocations: 106.8 kB / 418 MB, free: 14.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.1437, allocations: 59.95 kB / 418 MB, free: 14.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1438, allocations: 7.938 kB / 418 MB, free: 14.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.001107/0.1449, allocations: 197.3 kB / 418.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.145, allocations: 4.219 kB / 418.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.145, allocations: 8 kB / 418.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.145, allocations: 0 / 418.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/0.1473, allocations: 107.8 kB / 418.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.1497, allocations: 1.813 MB / 420.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.1502, allocations: 27.92 kB / 420.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.1503, allocations: 4 kB / 420.2 MB, free: 11.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.1506, allocations: 145.7 kB / 420.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.1507, allocations: 15.81 kB / 420.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.1518, allocations: 190.9 kB / 420.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.1518, allocations: 0 / 420.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1518, allocations: 0 / 420.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1518, allocations: 0 / 420.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.1525, allocations: 237.4 kB / 420.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1525, allocations: 3.938 kB / 420.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/0.1544, allocations: 95.83 kB / 420.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.1544, allocations: 4 kB / 420.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.1545, allocations: 0 / 420.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.1566, allocations: 1.778 MB / 422.6 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1566, allocations: 0 / 422.6 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.1576, allocations: 255.4 kB / 422.9 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.1578, allocations: 88.92 kB / 423 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.1578, allocations: 0 / 423 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.1582, allocations: 15.98 kB / 423 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.1584, allocations: 11.98 kB / 423 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.1584, allocations: 0 / 423 MB, free: 8.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002646/0.1587, allocations: 139.9 kB / 423.1 MB, free: 8.695 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-05/0.1587, allocations: 0 / 423.1 MB, free: 8.695 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007356/0.1595, allocations: 55.81 kB / 423.2 MB, free: 8.641 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 (11): * 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): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001619/0.1611, allocations: 0.7944 MB / 424 MB, free: 7.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.1643, allocations: 228 kB / 424.2 MB, free: 7.598 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.1643, allocations: 0 / 424.2 MB, free: 7.598 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.166, allocations: 111.9 kB / 424.3 MB, free: 7.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.1672, allocations: 37.27 kB / 424.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/0.171, allocations: 1.051 MB / 425.4 MB, free: 6.336 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.1717, allocations: 0.7475 MB / 426.2 MB, free: 5.562 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003428/0.172, allocations: 33.41 kB / 426.2 MB, free: 5.531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.1722, allocations: 43.42 kB / 426.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1723, allocations: 0 / 426.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/0.274, allocations: 4.57 MB / 430.8 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004462/0.2745, allocations: 275.3 kB / 431.1 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/3.009, allocations: 3.906 kB / 431.1 MB, free: 0.625 MB / 330.7 MB "" Variables in the reference:time,zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],rho,input_mdot[1],input_mdot[2],input_mdot[3],input_dp[1],input_dp[2],input_dp[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],input_DP.y Variables in the result:A_cross,DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],dp_IN_con[1].A_cross,dp_IN_con[1].dp_smooth,dp_IN_con[2].A_cross,dp_IN_con[2].dp_smooth,dp_IN_con[3].A_cross,dp_IN_con[3].dp_smooth,dp_IN_var[1].rho,dp_IN_var[1].zeta_TOT,dp_IN_var[2].rho,dp_IN_var[2].zeta_TOT,dp_IN_var[3].rho,dp_IN_var[3].zeta_TOT,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_mdot[1],input_mdot[2],input_mdot[3],m_flow_IN_con[1].A_cross,m_flow_IN_con[1].dp_smooth,m_flow_IN_con[2].A_cross,m_flow_IN_con[2].dp_smooth,m_flow_IN_con[3].A_cross,m_flow_IN_con[3].dp_smooth,m_flow_IN_var[1].rho,m_flow_IN_var[1].zeta_TOT,m_flow_IN_var[2].rho,m_flow_IN_var[2].zeta_TOT,m_flow_IN_var[3].rho,m_flow_IN_var[3].zeta_TOT,n,rho,time,zeta_TOT[1],zeta_TOT[2],zeta_TOT[3]