Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 96.67 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 176.6 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.517/0.517, allocations: 43.53 MB / 314.5 MB, free: 9.008 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006996/0.0006997, allocations: 20 kB / 384 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1629, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.002555/0.1656, allocations: 1.498 MB / 444.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.1686, allocations: 1.593 MB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1688, allocations: 0 / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.1691, allocations: 39.81 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.1694, allocations: 63.81 kB / 446.1 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.171, allocations: 0.5144 MB / 446.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.1714, allocations: 159.7 kB / 446.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.1715, allocations: 25.67 kB / 446.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.1718, allocations: 83.62 kB / 446.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.172, allocations: 87.61 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.172, allocations: 4 kB / 446.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.174, allocations: 1.147 MB / 448.1 MB, free: 7.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1741, allocations: 51.81 kB / 448.1 MB, free: 7.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1743, allocations: 61.58 kB / 448.2 MB, free: 7.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009703/0.1752, allocations: 447.4 kB / 448.6 MB, free: 7.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1752, allocations: 0 / 448.6 MB, free: 7.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1753, allocations: 0 / 448.6 MB, free: 7.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.1753, allocations: 0 / 448.6 MB, free: 7.387 MB / 382.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.001054/0.1763, allocations: 0.5536 MB / 449.2 MB, free: 6.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1764, allocations: 12.03 kB / 449.2 MB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.1765, allocations: 62.53 kB / 449.3 MB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.1766, allocations: 31.58 kB / 449.3 MB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.1769, allocations: 230.7 kB / 449.5 MB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.177, allocations: 16.44 kB / 449.5 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.177, allocations: 23.98 kB / 449.5 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.1776, allocations: 376.4 kB / 449.9 MB, free: 6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1776, allocations: 0 / 449.9 MB, free: 6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.1777, allocations: 8 kB / 449.9 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/0.1777, allocations: 40.64 kB / 450 MB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.1784, allocations: 406.2 kB / 450.4 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.1803, allocations: 1.043 MB / 451.4 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.181, allocations: 282.8 kB / 451.7 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.1811, allocations: 4.188 kB / 451.7 MB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1811, allocations: 30.75 kB / 451.7 MB, free: 4.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.994e-06/0.1811, allocations: 4 kB / 451.7 MB, free: 4.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.000763/0.1819, allocations: 338.8 kB / 452 MB, free: 3.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.1819, allocations: 55.39 kB / 452.1 MB, free: 3.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1822, allocations: 227.8 kB / 452.3 MB, free: 3.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.1822, allocations: 29.7 kB / 452.4 MB, free: 3.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1824, allocations: 144.4 kB / 452.5 MB, free: 3.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.803e-05/0.1824, allocations: 86.91 kB / 452.6 MB, free: 3.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.1825, allocations: 4 kB / 452.6 MB, free: 3.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1826, allocations: 326.8 kB / 452.9 MB, free: 2.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.1828, allocations: 87.92 kB / 453 MB, free: 2.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.1831, allocations: 110.5 kB / 453.1 MB, free: 2.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.1833, allocations: 87.94 kB / 453.2 MB, free: 2.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.1833, allocations: 4 kB / 453.2 MB, free: 2.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005387/0.1838, allocations: 273.9 kB / 453.5 MB, free: 2.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1839, allocations: 4 kB / 453.5 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1839, allocations: 0 / 453.5 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1839, allocations: 12 kB / 453.5 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.1844, allocations: 91.86 kB / 453.6 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2795/0.4638, allocations: 2.376 MB / 455.9 MB, free: 46.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.4641, allocations: 31.47 kB / 456 MB, free: 46.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.4642, allocations: 13.86 kB / 456 MB, free: 46.08 MB / 382.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 (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.4644, allocations: 159.1 kB / 456.1 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.4644, allocations: 17.75 kB / 456.2 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007709/0.4652, allocations: 370 kB / 456.5 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4652, allocations: 3.422 kB / 456.5 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.4652, allocations: 2.344 kB / 456.5 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.4652, allocations: 3.234 kB / 456.5 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.4656, allocations: 309.1 kB / 456.8 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.4656, allocations: 3.062 kB / 456.8 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.466, allocations: 94.59 kB / 456.9 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.466, allocations: 2.906 kB / 456.9 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.466, allocations: 6.75 kB / 456.9 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007431/0.4668, allocations: 2.392 MB / 459.3 MB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4668, allocations: 0 / 459.3 MB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.4673, allocations: 377.8 kB / 459.7 MB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.4674, allocations: 127.8 kB / 459.8 MB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.4675, allocations: 9 kB / 459.8 MB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4676, allocations: 12.53 kB / 459.8 MB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.4677, allocations: 19.09 kB / 459.9 MB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.4677, allocations: 9.875 kB / 459.9 MB, free: 43.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.4679, allocations: 166.2 kB / 460 MB, free: 43.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4679, allocations: 0 / 460 MB, free: 43.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005479/0.4684, allocations: 167.3 kB / 460.2 MB, free: 43.07 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.4694, allocations: 1.043 MB / 461.2 MB, free: 42.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006768/0.4701, allocations: 268.8 kB / 461.5 MB, free: 42.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4702, allocations: 3 kB / 461.5 MB, free: 42.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.4706, allocations: 171.5 kB / 461.7 MB, free: 42.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.471, allocations: 40.34 kB / 461.7 MB, free: 42.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.4733, allocations: 1.929 MB / 463.6 MB, free: 41.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.4737, allocations: 0.7896 MB / 464.4 MB, free: 40.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000231/0.4739, allocations: 89.03 kB / 464.5 MB, free: 40.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.4741, allocations: 79.41 kB / 464.6 MB, free: 40.77 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4741, allocations: 4 kB / 464.6 MB, free: 40.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.5005, allocations: 7.986 MB / 472.6 MB, free: 40.1 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.5007, allocations: 258 kB / 472.8 MB, free: 39.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.532, allocations: 3.938 kB / 472.8 MB, free: 39.76 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat