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.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001349/0.001348, 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.001566/0.001566, 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.508/1.508, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2281/0.2281, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.003776/0.003777, allocations: 81 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1335, allocations: 62.44 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.00406/0.1376, allocations: 1.844 MB / 482.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005543/0.1432, allocations: 2.94 MB / 485 MB, free: 344 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1434, allocations: 3.938 kB / 485 MB, free: 340 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1437, allocations: 47.75 kB / 485.1 MB, free: 292 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.1441, allocations: 83.56 kB / 485.1 MB, free: 208 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.1466, allocations: 0.716 MB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.147, allocations: 250.8 kB / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.1471, allocations: 28.39 kB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.1474, allocations: 111.4 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1476, allocations: 115.5 kB / 486.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1476, allocations: 11.94 kB / 486.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.1497, allocations: 1.232 MB / 487.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1498, allocations: 75.61 kB / 487.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1499, allocations: 107.2 kB / 487.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.1517, allocations: 0.9274 MB / 488.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1517, allocations: 0 / 488.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1517, allocations: 0 / 488.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1517, allocations: 0 / 488.7 MB, free: 12.63 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001323/0.1531, allocations: 0.6785 MB / 489.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1531, allocations: 12.03 kB / 489.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.1532, allocations: 70.7 kB / 489.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/0.1533, allocations: 32.56 kB / 489.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.1536, allocations: 247.1 kB / 489.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1537, allocations: 16.56 kB / 489.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.1537, allocations: 27.98 kB / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008255/0.1546, allocations: 467.3 kB / 490.2 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1546, allocations: 4 kB / 490.2 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.1546, allocations: 8 kB / 490.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.556e-05/0.1547, allocations: 52.95 kB / 490.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.1556, allocations: 0.5426 MB / 490.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.1577, allocations: 1.311 MB / 492.2 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.1584, allocations: 280.5 kB / 492.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.1586, allocations: 104.7 kB / 492.5 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.1587, allocations: 16.3 kB / 492.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1587, allocations: 30.56 kB / 492.6 MB, free: 8.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.734e-06/0.1587, allocations: 0 / 492.6 MB, free: 8.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008317/0.1595, allocations: 333.2 kB / 492.9 MB, free: 8.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.1596, allocations: 55.41 kB / 493 MB, free: 8.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1598, allocations: 144.7 kB / 493.1 MB, free: 7.969 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1598, allocations: 29.7 kB / 493.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1599, allocations: 195.7 kB / 493.3 MB, free: 7.738 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.16, allocations: 86.75 kB / 493.4 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.1602, allocations: 65.69 kB / 493.5 MB, free: 7.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1603, allocations: 330.8 kB / 493.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.1605, allocations: 91.78 kB / 493.9 MB, free: 7.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.1609, allocations: 178.1 kB / 494.1 MB, free: 6.949 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.1614, allocations: 286 kB / 494.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1614, allocations: 0 / 494.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006378/0.1621, allocations: 329.8 kB / 494.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1621, allocations: 4 kB / 494.7 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1621, allocations: 4 kB / 494.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1621, allocations: 4 kB / 494.7 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.1626, allocations: 124.2 kB / 494.8 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.1641, allocations: 2.364 MB / 497.2 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.1643, allocations: 43.61 kB / 497.2 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.1643, allocations: 12 kB / 497.2 MB, free: 3.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.1645, allocations: 169.9 kB / 497.4 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.1646, allocations: 11.91 kB / 497.4 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008645/0.1655, allocations: 374.4 kB / 497.7 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1655, allocations: 7.938 kB / 497.8 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1655, allocations: 0 / 497.8 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.1655, allocations: 7.922 kB / 497.8 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.166, allocations: 337.3 kB / 498.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.166, allocations: 0 / 498.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.1664, allocations: 103.9 kB / 498.2 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.1664, allocations: 7.938 kB / 498.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.1664, allocations: 16 kB / 498.2 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.1678, allocations: 2.356 MB / 0.4888 GB, free: 136 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1678, allocations: 0 / 0.4888 GB, free: 136 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.1685, allocations: 375.2 kB / 0.4892 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.1685, allocations: 97.08 kB / 0.4893 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.1686, allocations: 11.98 kB / 0.4893 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.1688, allocations: 8 kB / 0.4893 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.1689, allocations: 23.97 kB / 0.4893 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1689, allocations: 8 kB / 0.4893 GB, free: 15.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.229e-05/0.169, allocations: 103.2 kB / 0.4894 GB, free: 15.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.169, allocations: 0 / 0.4894 GB, free: 15.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007139/0.1697, allocations: 251.4 kB / 0.4897 GB, free: 15.23 MB / 382.1 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00148/0.1712, allocations: 1.153 MB / 0.4908 GB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008785/0.1721, allocations: 359.5 kB / 0.4911 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1721, allocations: 0 / 0.4911 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004745/0.1726, allocations: 184.4 kB / 0.4913 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.173, allocations: 16 kB / 0.4913 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.1767, allocations: 2.569 MB / 0.4938 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.1772, allocations: 0.7909 MB / 0.4946 GB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003196/0.1775, allocations: 105.7 kB / 0.4947 GB, free: 9.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.1777, allocations: 95.39 kB / 0.4948 GB, free: 9.789 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1777, allocations: 0 / 0.4948 GB, free: 9.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.2136, allocations: 8.774 MB / 0.5034 GB, free: 1.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.18, allocations: 19.14 kB / 0.5034 GB, free: 1.211 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1)