Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001009, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009436/0.0009437, allocations: 90.59 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4042/0.4042, allocations: 43.46 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.014e-05, allocations: 4 kB / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1434, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4833/0.6267, allocations: 90.9 MB / 0.5617 GB, free: 14.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003611/0.6272, allocations: 96.25 kB / 0.5618 GB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.6426, allocations: 5.974 MB / 0.5676 GB, free: 9.332 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6427, allocations: 0 / 0.5676 GB, free: 9.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.6427, allocations: 0 / 0.5676 GB, free: 9.332 MB / 394.7 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.0006261/0.6434, allocations: 499.5 kB / 0.5681 GB, free: 8.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.6434, allocations: 12.03 kB / 0.5681 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.37e-05/0.6435, allocations: 65.52 kB / 0.5682 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.6448, allocations: 201.8 kB / 0.5684 GB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.6451, allocations: 266.2 kB / 0.5686 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.6452, allocations: 24.3 kB / 0.5686 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.6452, allocations: 23.88 kB / 0.5687 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.6459, allocations: 450.1 kB / 0.5691 GB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.6459, allocations: 4 kB / 0.5691 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.6459, allocations: 13.05 kB / 0.5691 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/0.646, allocations: 24.55 kB / 0.5691 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006598/0.6466, allocations: 0.509 MB / 0.5696 GB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.6485, allocations: 1.175 MB / 0.5708 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.6488, allocations: 114 kB / 0.5709 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.6489, allocations: 52.39 kB / 0.5709 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.6489, allocations: 4.141 kB / 0.5709 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.6489, allocations: 30.56 kB / 0.571 GB, free: 6.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.6489, allocations: 4 kB / 0.571 GB, free: 6.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004037/0.6494, allocations: 145 kB / 0.5711 GB, free: 6.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.6494, allocations: 51.41 kB / 0.5712 GB, free: 6.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.6496, allocations: 253.2 kB / 0.5714 GB, free: 5.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.6496, allocations: 28.05 kB / 0.5714 GB, free: 5.781 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.6497, allocations: 173.8 kB / 0.5716 GB, free: 5.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.6497, allocations: 19.53 kB / 0.5716 GB, free: 5.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.6497, allocations: 7.812 kB / 0.5716 GB, free: 5.621 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.409e-05/0.6498, allocations: 330.4 kB / 0.5719 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.6499, allocations: 55.84 kB / 0.572 GB, free: 5.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.6501, allocations: 83.78 kB / 0.5721 GB, free: 5.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.6502, allocations: 59.45 kB / 0.5721 GB, free: 5.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6502, allocations: 0 / 0.5721 GB, free: 5.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003666/0.6506, allocations: 196.2 kB / 0.5723 GB, free: 4.949 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6506, allocations: 4 kB / 0.5723 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.6506, allocations: 1.312 kB / 0.5723 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.6506, allocations: 4 kB / 0.5723 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004988/0.6556, allocations: 443.2 kB / 0.5727 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.658, allocations: 1.924 MB / 0.5746 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.6584, allocations: 51.83 kB / 0.5747 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.6584, allocations: 7.984 kB / 0.5747 GB, free: 2.492 MB / 394.7 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 () * 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.0001181/0.6586, allocations: 108.8 kB / 0.5748 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.6586, allocations: 15.81 kB / 0.5748 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.6587, allocations: 25.45 kB / 0.5748 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.6587, allocations: 0 / 0.5748 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.6587, allocations: 4 kB / 0.5748 GB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.6587, allocations: 0 / 0.5748 GB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.659, allocations: 296.1 kB / 0.5751 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.659, allocations: 4 kB / 0.5751 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004711/0.6638, allocations: 436.5 kB / 0.5755 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.6638, allocations: 0 / 0.5755 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.6638, allocations: 7.938 kB / 0.5755 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.6662, allocations: 1.909 MB / 0.5774 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6662, allocations: 4.031 kB / 0.5774 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.6666, allocations: 251.8 kB / 0.5776 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.6668, allocations: 97.09 kB / 0.5777 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.6668, allocations: 0 / 0.5777 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.6672, allocations: 26.91 kB / 0.5778 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.6673, allocations: 3.984 kB / 0.5778 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.6673, allocations: 7.984 kB / 0.5778 GB, free: 15.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002195/0.6675, allocations: 200.4 kB / 0.578 GB, free: 15.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6675, allocations: 0 / 0.578 GB, free: 15.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004163/0.668, allocations: 86.39 kB / 0.578 GB, free: 15.01 MB / 410.7 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 () * 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.0009365/0.6689, allocations: 0.8123 MB / 0.5788 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00473/0.6737, allocations: 473.7 kB / 0.5793 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6737, allocations: 0 / 0.5793 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004362/0.678, allocations: 394.1 kB / 0.5797 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.6787, allocations: 44.98 kB / 0.5797 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.6799, allocations: 383.3 kB / 0.5801 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.6805, allocations: 0.7823 MB / 0.5808 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.6807, allocations: 54.17 kB / 0.5809 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.6808, allocations: 63.53 kB / 0.5809 GB, free: 12.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.6808, allocations: 0 / 0.5809 GB, free: 12.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.7045, allocations: 8.029 MB / 0.5888 GB, free: 4.148 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.7048, allocations: 248.4 kB / 0.589 GB, free: 3.828 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/2.962, allocations: 0 / 0.589 GB, free: 3.828 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat