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_curvedOverall_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_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.001448/0.001447, 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.001331/0.001331, 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.511/1.511, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2302/0.2302, allocations: 46.11 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.002295/0.002295, allocations: 75.47 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1473, allocations: 62.44 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.004605/0.152, allocations: 2.075 MB / 482.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00384/0.1559, allocations: 1.994 MB / 484.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.156, allocations: 4 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1563, allocations: 59.66 kB / 484.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.1567, allocations: 143.3 kB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1579, allocations: 0.5876 MB / 485.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.1584, allocations: 382.2 kB / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.099e-05/0.1585, allocations: 32.73 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.1587, allocations: 171.2 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.159, allocations: 191.2 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.1591, allocations: 12 kB / 485.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.1613, allocations: 1.63 MB / 487.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.1615, allocations: 99.58 kB / 487.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.1617, allocations: 147.1 kB / 487.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.1633, allocations: 1.064 MB / 488.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1633, allocations: 0 / 488.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1633, allocations: 0 / 488.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1633, allocations: 3.938 kB / 488.8 MB, free: 12.52 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001272/0.1646, allocations: 0.6746 MB / 489.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1646, allocations: 8.031 kB / 489.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.1648, allocations: 86.69 kB / 489.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.879e-05/0.1648, allocations: 32.56 kB / 489.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.1652, allocations: 271.6 kB / 489.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.1653, allocations: 25.02 kB / 489.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.1653, allocations: 31.94 kB / 489.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008476/0.1662, allocations: 0.4999 MB / 490.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1662, allocations: 4 kB / 490.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.1663, allocations: 15.97 kB / 490.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.44e-05/0.1663, allocations: 44.97 kB / 490.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008643/0.1672, allocations: 0.5308 MB / 491 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.1694, allocations: 1.29 MB / 492.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008074/0.1702, allocations: 387.8 kB / 492.7 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.1704, allocations: 128.7 kB / 492.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.1705, allocations: 7.984 kB / 492.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1705, allocations: 34.56 kB / 492.8 MB, free: 8.242 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.444e-06/0.1705, allocations: 4 kB / 492.9 MB, free: 8.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009917/0.1715, allocations: 437.6 kB / 493.3 MB, free: 7.805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.1716, allocations: 55.34 kB / 493.3 MB, free: 7.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.172, allocations: 306.5 kB / 493.6 MB, free: 7.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.172, allocations: 29.7 kB / 493.7 MB, free: 7.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1722, allocations: 196.1 kB / 493.9 MB, free: 7.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/0.1723, allocations: 94.67 kB / 493.9 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.1725, allocations: 77.59 kB / 494 MB, free: 7.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.1727, allocations: 334.8 kB / 494.3 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.1729, allocations: 123.9 kB / 494.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.1733, allocations: 158.6 kB / 494.6 MB, free: 6.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.1738, allocations: 296.8 kB / 494.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1739, allocations: 0 / 494.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007533/0.1746, allocations: 371 kB / 495.3 MB, free: 5.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1746, allocations: 10.66 kB / 495.3 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1747, allocations: 0 / 495.3 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1747, allocations: 4.062 kB / 495.3 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.1752, allocations: 127.9 kB / 495.4 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.1774, allocations: 3.004 MB / 498.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.1776, allocations: 39.61 kB / 498.5 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.1777, allocations: 16.28 kB / 498.5 MB, free: 2.426 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.1779, allocations: 181.7 kB / 498.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.178, allocations: 27.66 kB / 498.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009695/0.179, allocations: 455.2 kB / 499.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.179, allocations: 4 kB / 499.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.179, allocations: 0 / 499.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.179, allocations: 3.984 kB / 499.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.1795, allocations: 377.3 kB / 499.5 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1795, allocations: 0 / 499.5 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/0.18, allocations: 119.8 kB / 499.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.18, allocations: 3.938 kB / 499.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.1801, allocations: 12 kB / 499.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.1821, allocations: 3.016 MB / 0.4909 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1821, allocations: 0 / 0.4909 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/0.1828, allocations: 439.7 kB / 0.4913 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.183, allocations: 112.7 kB / 0.4914 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.183, allocations: 7.938 kB / 0.4914 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.1832, allocations: 15.98 kB / 0.4914 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.1833, allocations: 23.97 kB / 0.4914 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.1834, allocations: 15.98 kB / 0.4915 GB, free: 13.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.1836, allocations: 221.9 kB / 0.4917 GB, free: 13.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1836, allocations: 0 / 0.4917 GB, free: 13.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006429/0.1843, allocations: 191.7 kB / 0.4918 GB, free: 13.03 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001457/0.1858, allocations: 1.122 MB / 0.4929 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.1868, allocations: 427.8 kB / 0.4934 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1868, allocations: 4.062 kB / 0.4934 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005694/0.1874, allocations: 223.7 kB / 0.4936 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.188, allocations: 64.45 kB / 0.4936 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.1931, allocations: 3.535 MB / 0.4971 GB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.1937, allocations: 0.8496 MB / 0.4979 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003457/0.194, allocations: 114.8 kB / 0.498 GB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.1942, allocations: 115.4 kB / 0.4981 GB, free: 6.441 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.1942, allocations: 4 kB / 0.4981 GB, free: 6.438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2217/0.4159, allocations: 10.99 MB / 0.5089 GB, free: 41.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.28, allocations: 14.41 kB / 0.5089 GB, free: 41.93 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1)