Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001316, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.227/0.227, allocations: 46.1 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003548/0.003549, allocations: 80.64 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1491, allocations: 62.44 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003709/0.1529, allocations: 1.83 MB / 482.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.1553, allocations: 1.371 MB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1554, allocations: 0 / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.1558, allocations: 59.66 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.1561, allocations: 95.5 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.1566, allocations: 207.2 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004653/0.1571, allocations: 401.8 kB / 484.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1572, allocations: 52.66 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.1576, allocations: 167.2 kB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.1578, allocations: 171.1 kB / 484.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.1579, allocations: 12 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008084/0.1587, allocations: 467 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.1589, allocations: 127.4 kB / 485.2 MB, free: 172 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.1592, allocations: 186.8 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000836/0.16, allocations: 0.6229 MB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.16, allocations: 0 / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.16, allocations: 0 / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.16, allocations: 0 / 486 MB, free: 15.36 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00142/0.1615, allocations: 0.774 MB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1615, allocations: 15.97 kB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.1616, allocations: 102.7 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.563e-05/0.1618, allocations: 48.28 kB / 486.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.1622, allocations: 319.5 kB / 487.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.1622, allocations: 33.36 kB / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.1623, allocations: 43.94 kB / 487.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.1634, allocations: 0.6992 MB / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1634, allocations: 0 / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.1635, allocations: 16 kB / 488 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.849e-05/0.1636, allocations: 61.28 kB / 488.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.1648, allocations: 0.7195 MB / 488.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.1675, allocations: 1.708 MB / 490.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.1682, allocations: 370 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.1686, allocations: 145.2 kB / 491 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.841e-05/0.1686, allocations: 12.22 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.1687, allocations: 38.8 kB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 6.192e-06/0.1687, allocations: 0 / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.00117/0.1699, allocations: 499.5 kB / 491.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.1699, allocations: 55.41 kB / 491.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.1705, allocations: 457.4 kB / 492 MB, free: 9.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1706, allocations: 29.7 kB / 492.1 MB, free: 8.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.1708, allocations: 267.5 kB / 492.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1709, allocations: 98.59 kB / 492.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.1711, allocations: 81.69 kB / 492.5 MB, free: 8.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1713, allocations: 350.8 kB / 492.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.1716, allocations: 135.9 kB / 493 MB, free: 8.043 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.1721, allocations: 265.1 kB / 493.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.1733, allocations: 417.3 kB / 493.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.1733, allocations: 3.938 kB / 493.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001408/0.1748, allocations: 485.5 kB / 494.1 MB, free: 6.793 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1748, allocations: 4 kB / 494.1 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.1748, allocations: 7.984 kB / 494.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.1749, allocations: 8 kB / 494.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009775/0.1758, allocations: 156.3 kB / 494.3 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.1791, allocations: 3.606 MB / 497.9 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.1795, allocations: 67.55 kB / 498 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.1796, allocations: 27.94 kB / 498 MB, free: 2.781 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003829/0.18, allocations: 209.7 kB / 498.2 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1801, allocations: 43.61 kB / 498.2 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.1817, allocations: 0.5332 MB / 498.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.1818, allocations: 4 kB / 498.8 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1818, allocations: 0 / 498.8 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1818, allocations: 3.984 kB / 498.8 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000856/0.1827, allocations: 461 kB / 499.2 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1827, allocations: 0 / 499.2 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/0.1835, allocations: 139.9 kB / 499.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.168e-06/0.1835, allocations: 7.938 kB / 499.4 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.1835, allocations: 8 kB / 499.4 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003076/0.1866, allocations: 3.614 MB / 0.4912 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1866, allocations: 288 / 0.4912 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.1882, allocations: 0.6597 MB / 0.4918 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.1885, allocations: 152.5 kB / 0.492 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.522e-05/0.1887, allocations: 11.98 kB / 0.492 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.189, allocations: 15.94 kB / 0.492 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.1891, allocations: 31.91 kB / 0.492 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.1891, allocations: 16.05 kB / 0.4921 GB, free: 12.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005758/0.1897, allocations: 343.1 kB / 0.4924 GB, free: 12.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1897, allocations: 4 kB / 0.4924 GB, free: 12.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008367/0.1906, allocations: 167.6 kB / 0.4926 GB, free: 12.15 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/0.1929, allocations: 1.274 MB / 0.4938 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.1946, allocations: 0.4958 MB / 0.4943 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1947, allocations: 0 / 0.4943 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009527/0.1956, allocations: 256.7 kB / 0.4945 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.1962, allocations: 41.42 kB / 0.4946 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009278/0.2055, allocations: 4.975 MB / 0.4994 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000748/0.2063, allocations: 0.9054 MB / 0.5003 GB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006118/0.2069, allocations: 143 kB / 0.5004 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.2073, allocations: 159.4 kB / 0.5006 GB, free: 3.691 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2073, allocations: 3.938 kB / 0.5006 GB, free: 3.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2566/0.4639, allocations: 11.03 MB / 0.5114 GB, free: 42.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.4, allocations: 11.89 kB / 0.5114 GB, free: 42.34 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1)