Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.00121/0.00121, allocations: 92.12 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 183.7 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2375/0.2375, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003197, allocations: 8.875 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 61.93 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001938/0.1399, allocations: 1.458 MB / 473 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009049/0.1408, allocations: 0.5497 MB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.1409, allocations: 3.938 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.1411, allocations: 39.81 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.1412, allocations: 59.81 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1415, allocations: 91.69 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1417, allocations: 159.6 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.94e-05/0.1418, allocations: 24.3 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.1419, allocations: 67.7 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.142, allocations: 83.61 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.142, allocations: 4 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.1424, allocations: 219.8 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.1424, allocations: 43.83 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.1425, allocations: 61.58 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1428, allocations: 215.7 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1428, allocations: 0 / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1428, allocations: 0 / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.1428, allocations: 0 / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0006174/0.1434, allocations: 0.4913 MB / 475.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1435, allocations: 8.031 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.1435, allocations: 66.53 kB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.1453, allocations: 207.3 kB / 475.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.1457, allocations: 266.7 kB / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.1457, allocations: 20.52 kB / 475.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.1458, allocations: 23.94 kB / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009443/0.1467, allocations: 0.4966 MB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1467, allocations: 0 / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.1468, allocations: 8 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/0.1468, allocations: 32.53 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.1481, allocations: 0.5876 MB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.1503, allocations: 1.185 MB / 478 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/0.151, allocations: 178.3 kB / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.151, allocations: 0 / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.151, allocations: 38.56 kB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.151, allocations: 0 / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001266/0.1523, allocations: 313.3 kB / 478.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1523, allocations: 59.41 kB / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1526, allocations: 278.5 kB / 478.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1527, allocations: 29.64 kB / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1528, allocations: 171.5 kB / 479 MB, free: 5.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.1528, allocations: 23.66 kB / 479.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.1529, allocations: 0 / 479.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.153, allocations: 330.8 kB / 479.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.1534, allocations: 99.89 kB / 479.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.1538, allocations: 123.3 kB / 479.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.1541, allocations: 107.9 kB / 479.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1542, allocations: 3.984 kB / 479.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008347/0.155, allocations: 265.3 kB / 480 MB, free: 4.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.155, allocations: 8 kB / 480 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.155, allocations: 0 / 480 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1551, allocations: 0 / 480 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005939/0.161, allocations: 475.2 kB / 480.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.1637, allocations: 1.945 MB / 482.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/0.1642, allocations: 47.62 kB / 482.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.1642, allocations: 11.98 kB / 482.5 MB, free: 2.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.1644, allocations: 158.4 kB / 482.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.1645, allocations: 19.8 kB / 482.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.1645, allocations: 21.72 kB / 482.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1645, allocations: 7.984 kB / 482.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1646, allocations: 3.984 kB / 482.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1646, allocations: 0 / 482.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.1649, allocations: 293.4 kB / 482.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1649, allocations: 0 / 482.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005869/0.1708, allocations: 463.2 kB / 483.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.1708, allocations: 0 / 483.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.1709, allocations: 3.984 kB / 483.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.1735, allocations: 1.945 MB / 485.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1735, allocations: 0 / 485.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008296/0.1744, allocations: 335.3 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.174e-05/0.1745, allocations: 100.9 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.1745, allocations: 0 / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.1749, allocations: 19.97 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.175, allocations: 19.92 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.175, allocations: 3.984 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.1752, allocations: 209.9 kB / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1752, allocations: 0 / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003756/0.1756, allocations: 71.83 kB / 486.1 MB, free: 14.54 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.1768, allocations: 0.8764 MB / 487 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006126/0.183, allocations: 0.6007 MB / 487.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.183, allocations: 4.188 kB / 487.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005546/0.1886, allocations: 0.5031 MB / 488.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1889, allocations: 40.66 kB / 488.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.1921, allocations: 2.12 MB / 490.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1925, allocations: 0.783 MB / 491 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.1926, allocations: 45.92 kB / 491.1 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.1928, allocations: 71.41 kB / 491.1 MB, free: 9.367 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1928, allocations: 4 kB / 491.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.2197, allocations: 7.186 MB / 498.3 MB, free: 2.477 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003433/0.2201, allocations: 282.1 kB / 498.6 MB, free: 2.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.238, allocations: 0 / 498.6 MB, free: 2.121 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat