Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01005/0.01005, allocations: 177.4 kB / 15.13 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.994/1.994, allocations: 194.5 MB / 210.3 MB, free: 8.578 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00185/0.00185, allocations: 120.1 kB / 255.6 MB, free: 11.19 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2913/0.2913, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007506/0.0007508, allocations: 13.91 kB / 406.3 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1163, allocations: 54.88 MB / 461.2 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002022/0.1184, allocations: 1.484 MB / 462.7 MB, free: 1.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.1206, allocations: 1.264 MB / 463.9 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.1207, allocations: 0 / 463.9 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.1209, allocations: 31.83 kB / 464 MB, free: 476 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.1211, allocations: 39.75 kB / 464 MB, free: 436 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.1217, allocations: 203.3 kB / 464.2 MB, free: 232 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1219, allocations: 99.45 kB / 464.3 MB, free: 132 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.318e-05/0.1219, allocations: 5.125 kB / 464.3 MB, free: 128 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.1221, allocations: 47.72 kB / 464.3 MB, free: 80 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.1222, allocations: 47.77 kB / 464.4 MB, free: 32 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1222, allocations: 4 kB / 464.4 MB, free: 28 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.1232, allocations: 475 kB / 464.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.1233, allocations: 19.92 kB / 464.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.1234, allocations: 41.64 kB / 464.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.1239, allocations: 199.5 kB / 465.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1239, allocations: 0 / 465.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1239, allocations: 3.938 kB / 465.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1239, allocations: 0 / 465.1 MB, free: 15.3 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007012/0.1246, allocations: 427 kB / 465.5 MB, free: 14.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1247, allocations: 12.03 kB / 465.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.697e-05/0.1247, allocations: 46.55 kB / 465.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.1248, allocations: 11.91 kB / 465.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.125, allocations: 174.9 kB / 465.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.125, allocations: 11.98 kB / 465.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.125, allocations: 12 kB / 465.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.1255, allocations: 141.6 kB / 465.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1255, allocations: 4 kB / 465.9 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.1256, allocations: 7.953 kB / 465.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1256, allocations: 4 kB / 466 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.1261, allocations: 143.9 kB / 466.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.1273, allocations: 0.5105 MB / 466.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.1278, allocations: 114.5 kB / 466.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.128, allocations: 52.83 kB / 466.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.1281, allocations: 0 / 466.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1281, allocations: 46.48 kB / 466.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 3.466e-06/0.1281, allocations: 4 kB / 466.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007708/0.1289, allocations: 177.4 kB / 467 MB, free: 13.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.129, allocations: 51.41 kB / 467 MB, free: 13.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1291, allocations: 122 kB / 467.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.1291, allocations: 25.7 kB / 467.2 MB, free: 13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.1292, allocations: 119.6 kB / 467.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.1293, allocations: 39.44 kB / 467.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.1293, allocations: 4 kB / 467.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1295, allocations: 318.8 kB / 467.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.1297, allocations: 43.97 kB / 467.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.13, allocations: 89.05 kB / 467.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.1302, allocations: 47.98 kB / 467.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1302, allocations: 3.938 kB / 467.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006178/0.1309, allocations: 165.5 kB / 468 MB, free: 12.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.1309, allocations: 8 kB / 468 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1309, allocations: 0 / 468 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.131, allocations: 4 kB / 468 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.1314, allocations: 47.92 kB / 468.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004936/0.1319, allocations: 0.5938 MB / 468.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.1321, allocations: 19.95 kB / 468.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1321, allocations: 8 kB / 468.7 MB, free: 11.45 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * 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): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.1323, allocations: 113.8 kB / 468.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.1323, allocations: 19.78 kB / 468.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007056/0.1331, allocations: 186.2 kB / 469 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1331, allocations: 8 kB / 469 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1331, allocations: 0 / 469 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1331, allocations: 0 / 469 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.1335, allocations: 209.6 kB / 469.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1335, allocations: 0 / 469.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.1339, allocations: 43.97 kB / 469.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.1339, allocations: 3.953 kB / 469.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.134, allocations: 8 kB / 469.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003992/0.1344, allocations: 0.5899 MB / 469.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1344, allocations: 0 / 469.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008086/0.1352, allocations: 319.3 kB / 470.2 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.559e-05/0.1353, allocations: 89.06 kB / 470.2 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.1354, allocations: 0 / 470.2 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.1356, allocations: 12 kB / 470.3 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.1356, allocations: 7.984 kB / 470.3 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1357, allocations: 11.98 kB / 470.3 MB, free: 9.719 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.548e-05/0.1357, allocations: 99.22 kB / 470.4 MB, free: 9.621 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1358, allocations: 0 / 470.4 MB, free: 9.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005017/0.1363, allocations: 75.83 kB / 470.4 MB, free: 9.547 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.1377, allocations: 0.9115 MB / 471.4 MB, free: 8.609 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006428/0.1384, allocations: 135 kB / 471.5 MB, free: 8.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1384, allocations: 4.062 kB / 471.5 MB, free: 8.477 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.1388, allocations: 83.89 kB / 471.6 MB, free: 8.395 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.1392, allocations: 8 kB / 471.6 MB, free: 8.387 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.1413, allocations: 0.8253 MB / 472.4 MB, free: 7.504 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1417, allocations: 0.7043 MB / 473.1 MB, free: 6.773 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.1419, allocations: 24.94 kB / 473.1 MB, free: 6.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.142, allocations: 35.42 kB / 473.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of SimCode: time 9.31e-07/0.142, allocations: 0 / 473.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.1761, allocations: 3.398 MB / 476.6 MB, free: 3.43 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003627/0.1765, allocations: 278.3 kB / 476.8 MB, free: 3.059 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/2.951, allocations: 0 / 476.8 MB, free: 3.059 MB / 314.7 MB "" Variables in the reference:time,frac_A1toA2,frac_A1toA2,A_1,A_2,C_1,C_2,eta,rho,input_mdot,input_dp,M_FLOW,DP,d_hyd,velocity,Re,DP_plot,zeta_TOT,input_DP.y Variables in the result:A_1,A_2,C_1,C_2,DP,DP_plot,M_FLOW,Re,d_hyd,der(frac_A1toA2),dp_IN_con.A_1,dp_IN_con.A_2,dp_IN_con.C_1,dp_IN_con.C_2,dp_IN_var.eta,dp_IN_var.rho,dpoo,eta,frac_A1toA2,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp,input_mdot,m_flow_IN_con.A_1,m_flow_IN_con.A_2,m_flow_IN_con.C_1,m_flow_IN_con.C_2,m_flow_IN_var.eta,m_flow_IN_var.rho,rho,time,velocity,zeta_TOT