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.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.001388/0.001387, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.001301, allocations: 208.6 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.461/1.461, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2307/0.2307, allocations: 46.12 MB / 344.2 MB, free: 11.6 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.00232/0.00232, allocations: 76.64 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.138, allocations: 62.46 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.00353/0.1415, allocations: 1.79 MB / 482 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002932/0.1445, allocations: 1.906 MB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.1446, allocations: 4 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.1449, allocations: 47.73 kB / 484 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.1452, allocations: 67.66 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.1464, allocations: 0.5758 MB / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.1467, allocations: 234.8 kB / 484.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.094e-05/0.1468, allocations: 29.66 kB / 484.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.147, allocations: 103.5 kB / 485 MB, free: 388 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.1472, allocations: 111.5 kB / 485.1 MB, free: 276 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.1473, allocations: 8 kB / 485.1 MB, free: 268 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.1489, allocations: 1.177 MB / 486.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.149, allocations: 59.75 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1492, allocations: 107.3 kB / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.1503, allocations: 0.7951 MB / 487.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1503, allocations: 0 / 487.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1503, allocations: 0 / 487.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1504, allocations: 0 / 487.2 MB, free: 14.12 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009458/0.1513, allocations: 0.5966 MB / 487.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1514, allocations: 12.03 kB / 487.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.144e-05/0.1514, allocations: 66.66 kB / 487.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.1515, allocations: 28.56 kB / 487.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.1518, allocations: 239.7 kB / 488.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1518, allocations: 16.38 kB / 488.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.1519, allocations: 16 kB / 488.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.1525, allocations: 376.4 kB / 488.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1525, allocations: 3.938 kB / 488.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.1525, allocations: 12 kB / 488.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/0.1526, allocations: 36.62 kB / 488.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006598/0.1532, allocations: 386.3 kB / 489 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.1548, allocations: 1.02 MB / 490 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/0.1555, allocations: 282.3 kB / 490.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.1558, allocations: 96.73 kB / 490.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.1558, allocations: 12 kB / 490.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.1559, allocations: 38.56 kB / 490.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.695e-06/0.1559, allocations: 0 / 490.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007952/0.1567, allocations: 317.2 kB / 490.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.1567, allocations: 59.41 kB / 490.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.157, allocations: 231.6 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.157, allocations: 25.7 kB / 491.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1571, allocations: 152.4 kB / 491.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.951e-05/0.1572, allocations: 70.94 kB / 491.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.113e-05/0.1573, allocations: 53.7 kB / 491.3 MB, free: 9.754 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1575, allocations: 334.8 kB / 491.7 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.1577, allocations: 79.88 kB / 491.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1579, allocations: 106.5 kB / 491.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.1584, allocations: 201.8 kB / 492 MB, free: 9.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1584, allocations: 4 kB / 492 MB, free: 9.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000547/0.159, allocations: 257.1 kB / 492.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.159, allocations: 11.94 kB / 492.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.159, allocations: 0 / 492.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.159, allocations: 0 / 492.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.1595, allocations: 91.89 kB / 492.4 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.161, allocations: 2.387 MB / 494.8 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.1612, allocations: 27.7 kB / 494.8 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.1613, allocations: 12 kB / 494.8 MB, free: 6.141 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 19 * 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.0001794/0.1615, allocations: 157.7 kB / 495 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.1615, allocations: 23.8 kB / 495 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007892/0.1623, allocations: 351.3 kB / 495.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1623, allocations: 7.938 kB / 495.3 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1623, allocations: 0 / 495.3 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1623, allocations: 3.984 kB / 495.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.1628, allocations: 309.3 kB / 495.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1628, allocations: 0 / 495.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.1632, allocations: 103.9 kB / 495.8 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1632, allocations: 0 / 495.8 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.1632, allocations: 8 kB / 495.8 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.1648, allocations: 2.387 MB / 498.1 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1648, allocations: 0 / 498.1 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.1654, allocations: 363.8 kB / 498.5 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.1656, allocations: 132.7 kB / 498.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.1656, allocations: 4.094 kB / 498.6 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.1658, allocations: 11.98 kB / 498.6 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.1659, allocations: 19.98 kB / 498.7 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1659, allocations: 11.98 kB / 498.7 MB, free: 2.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.1661, allocations: 161.5 kB / 498.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1661, allocations: 0 / 498.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005852/0.1667, allocations: 171.7 kB / 499 MB, free: 1.758 MB / 366.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 (25): * Single equations (assignments): 21 * 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.001303/0.168, allocations: 1.04 MB / 0.4883 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007898/0.1688, allocations: 303.6 kB / 0.4886 GB, free: 404 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1688, allocations: 0 / 0.4886 GB, free: 404 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.1693, allocations: 172.2 kB / 0.4888 GB, free: 232 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.1698, allocations: 51.83 kB / 0.4888 GB, free: 180 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.1737, allocations: 2.823 MB / 0.4916 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.1742, allocations: 0.7947 MB / 0.4924 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002671/0.1745, allocations: 81.75 kB / 0.4924 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.1746, allocations: 87.41 kB / 0.4925 GB, free: 12.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.645e-06/0.1746, allocations: 0 / 0.4925 GB, free: 12.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.2091, allocations: 8.744 MB / 0.5011 GB, free: 3.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.17, allocations: 8 kB / 0.5011 GB, free: 3.758 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1)