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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.01019/0.01019, allocations: 162.9 kB / 15.12 MB, free: 6.027 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.858/1.858, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001693/0.001693, allocations: 102.5 kB / 226.2 MB, free: 10.1 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.5566/0.5566, allocations: 38.05 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004879, allocations: 16 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002611/0.1118, allocations: 1.437 MB / 413.2 MB, free: 3.242 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.1139, allocations: 0.9126 MB / 414.1 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.114, allocations: 0 / 414.1 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.1143, allocations: 35.8 kB / 414.1 MB, free: 2.293 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.1146, allocations: 67.67 kB / 414.2 MB, free: 2.227 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.115, allocations: 95.62 kB / 414.3 MB, free: 2.133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.1154, allocations: 222.9 kB / 414.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.1155, allocations: 29.66 kB / 414.5 MB, free: 1.887 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1157, allocations: 71.59 kB / 414.6 MB, free: 1.816 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1159, allocations: 103.5 kB / 414.7 MB, free: 1.715 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.116, allocations: 4 kB / 414.7 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.1165, allocations: 195.7 kB / 414.9 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1166, allocations: 59.73 kB / 414.9 MB, free: 1.461 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.1167, allocations: 57.58 kB / 415 MB, free: 1.398 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.1171, allocations: 187.9 kB / 415.2 MB, free: 1.215 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1171, allocations: 0 / 415.2 MB, free: 1.215 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1171, allocations: 0 / 415.2 MB, free: 1.215 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1172, allocations: 0 / 415.2 MB, free: 1.215 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009803/0.1181, allocations: 0.5106 MB / 415.7 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1182, allocations: 12.03 kB / 415.7 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.969e-05/0.1183, allocations: 62.53 kB / 415.8 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.1196, allocations: 131.4 kB / 415.9 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.1201, allocations: 254.7 kB / 416.1 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.1202, allocations: 16.42 kB / 416.2 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.1202, allocations: 16 kB / 416.2 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.1214, allocations: 441.9 kB / 416.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1214, allocations: 0 / 416.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.1215, allocations: 8 kB / 416.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.178e-05/0.1216, allocations: 32.44 kB / 416.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.1228, allocations: 405.8 kB / 417 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003202/0.126, allocations: 1.484 MB / 418.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.1265, allocations: 90.52 kB / 418.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.1268, allocations: 60.81 kB / 418.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.1268, allocations: 8.141 kB / 418.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.1269, allocations: 38.55 kB / 418.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 3.436e-06/0.1269, allocations: 0 / 418.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001011/0.1279, allocations: 205.2 kB / 418.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.128, allocations: 55.34 kB / 419 MB, free: 13.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005599/0.1286, allocations: 334.5 kB / 419.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.1286, allocations: 29.7 kB / 419.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1288, allocations: 179.2 kB / 419.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.1289, allocations: 23.66 kB / 419.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.1289, allocations: 4 kB / 419.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1291, allocations: 338.8 kB / 419.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.1294, allocations: 67.94 kB / 419.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.1298, allocations: 125.9 kB / 420.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.1302, allocations: 95.88 kB / 420.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1302, allocations: 4 kB / 420.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009297/0.1312, allocations: 241.2 kB / 420.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.1312, allocations: 4 kB / 420.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.1312, allocations: 8.188 kB / 420.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.1313, allocations: 7.953 kB / 420.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/0.134, allocations: 123.8 kB / 420.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.1372, allocations: 1.84 MB / 422.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.1378, allocations: 31.69 kB / 422.4 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.1378, allocations: 16.17 kB / 422.4 MB, free: 9.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0002499/0.1381, allocations: 166.1 kB / 422.6 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.1382, allocations: 19.72 kB / 422.6 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008741/0.1391, allocations: 211.1 kB / 422.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.1391, allocations: 3.953 kB / 422.8 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.1391, allocations: 4 kB / 422.8 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1391, allocations: 0 / 422.8 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.1396, allocations: 273.4 kB / 423.1 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1396, allocations: 0 / 423.1 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/0.1418, allocations: 111.8 kB / 423.2 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.1419, allocations: 0 / 423.2 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.1419, allocations: 8 kB / 423.2 MB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.1437, allocations: 1.785 MB / 425 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.1438, allocations: 3.953 kB / 425 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007783/0.1446, allocations: 275.3 kB / 425.2 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.1447, allocations: 100.8 kB / 425.3 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/0.1448, allocations: 4 kB / 425.4 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.1452, allocations: 11.98 kB / 425.4 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.1453, allocations: 11.94 kB / 425.4 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.1453, allocations: 4 kB / 425.4 MB, free: 6.441 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004165/0.1457, allocations: 249.8 kB / 425.6 MB, free: 6.195 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1458, allocations: 0 / 425.6 MB, free: 6.195 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005042/0.1463, allocations: 60 kB / 425.7 MB, free: 6.137 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.001204/0.1475, allocations: 0.8061 MB / 426.5 MB, free: 5.301 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004631/0.1521, allocations: 267.5 kB / 426.7 MB, free: 5.039 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.1522, allocations: 384 / 426.7 MB, free: 5.039 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.1541, allocations: 119.9 kB / 426.9 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.1547, allocations: 40.81 kB / 426.9 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.1589, allocations: 1.628 MB / 428.5 MB, free: 3.188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.1594, allocations: 0.783 MB / 429.3 MB, free: 2.379 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.1597, allocations: 54.25 kB / 429.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.16, allocations: 75.41 kB / 429.4 MB, free: 2.246 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.16, allocations: 0 / 429.4 MB, free: 2.246 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2945/0.4545, allocations: 7.07 MB / 436.5 MB, free: 46.54 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/0.4548, allocations: 263.6 kB / 436.8 MB, free: 46.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.083/3.538, allocations: 0 / 436.8 MB, free: 46.18 MB / 330.7 MB "" Variables in the reference:time,frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],dp_nom[1],dp_nom[2],dp_nom[3],p_2[1],p_2[2],p_2[3],m_flow_nom[1],m_flow_nom[2],m_flow_nom[3],Km[1],Km[2],Km[3],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:DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],Km[1],Km[2],Km[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],R_s,T_m,dp_IN_con[1].Km,dp_IN_con[1].R_s,dp_IN_con[1].dp_smooth,dp_IN_con[1].exp,dp_IN_con[2].Km,dp_IN_con[2].R_s,dp_IN_con[2].dp_smooth,dp_IN_con[2].exp,dp_IN_con[3].Km,dp_IN_con[3].R_s,dp_IN_con[3].dp_smooth,dp_IN_con[3].exp,dp_IN_var[1].T_m,dp_IN_var[1].p_m,dp_IN_var[1].rho_m,dp_IN_var[2].T_m,dp_IN_var[2].p_m,dp_IN_var[2].rho_m,dp_IN_var[3].T_m,dp_IN_var[3].p_m,dp_IN_var[3].rho_m,dp_nom[1],dp_nom[2],dp_nom[3],exp,frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],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].Km,m_flow_IN_con[1].R_s,m_flow_IN_con[1].dp_smooth,m_flow_IN_con[1].exp,m_flow_IN_con[2].Km,m_flow_IN_con[2].R_s,m_flow_IN_con[2].dp_smooth,m_flow_IN_con[2].exp,m_flow_IN_con[3].Km,m_flow_IN_con[3].R_s,m_flow_IN_con[3].dp_smooth,m_flow_IN_con[3].exp,m_flow_IN_var[1].T_m,m_flow_IN_var[1].p_m,m_flow_IN_var[1].rho_m,m_flow_IN_var[2].T_m,m_flow_IN_var[2].p_m,m_flow_IN_var[2].rho_m,m_flow_IN_var[3].T_m,m_flow_IN_var[3].p_m,m_flow_IN_var[3].rho_m,m_flow_nom[1],m_flow_nom[2],m_flow_nom[3],n,p_1,p_2[1],p_2[2],p_2[3],p_m,rho_m,time