Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001551/0.00155, allocations: 185.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001133/0.001133, allocations: 89.3 kB / 270.9 MB, free: 8.379 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.5317/0.5317, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004821, allocations: 12 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1333, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4812/0.6146, allocations: 90.99 MB / 0.5677 GB, free: 11.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/0.615, allocations: 98.38 kB / 0.5678 GB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02677/0.6418, allocations: 5.974 MB / 0.5736 GB, free: 5.406 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.6418, allocations: 4 kB / 0.5736 GB, free: 5.402 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.6419, allocations: 0 / 0.5736 GB, free: 5.402 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.0008478/0.6427, allocations: 0.4972 MB / 0.5741 GB, free: 4.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.6428, allocations: 8.031 kB / 0.5741 GB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.937e-05/0.6429, allocations: 75.34 kB / 0.5742 GB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.6452, allocations: 202.8 kB / 0.5744 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.6457, allocations: 259.8 kB / 0.5746 GB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.855e-05/0.6458, allocations: 28.55 kB / 0.5747 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.861e-05/0.6459, allocations: 24 kB / 0.5747 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.6475, allocations: 492.5 kB / 0.5752 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.6476, allocations: 0 / 0.5752 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.293e-05/0.6476, allocations: 12 kB / 0.5752 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/0.6477, allocations: 21.58 kB / 0.5752 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/0.65, allocations: 0.5924 MB / 0.5758 GB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003434/0.6534, allocations: 1.176 MB / 0.5769 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.6547, allocations: 182.3 kB / 0.5771 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.6547, allocations: 0 / 0.5771 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.6548, allocations: 30.56 kB / 0.5771 GB, free: 1.648 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.6548, allocations: 0 / 0.5771 GB, free: 1.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.002252/0.657, allocations: 305.2 kB / 0.5774 GB, free: 1.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.6571, allocations: 55.41 kB / 0.5775 GB, free: 1.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.6575, allocations: 253.6 kB / 0.5777 GB, free: 1.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.6576, allocations: 32.89 kB / 0.5777 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.6577, allocations: 221.9 kB / 0.578 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/0.6578, allocations: 27.8 kB / 0.578 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.6579, allocations: 4 kB / 0.578 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.658, allocations: 322.7 kB / 0.5783 GB, free: 420 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000686/0.6587, allocations: 91.91 kB / 0.5784 GB, free: 328 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007014/0.6594, allocations: 125.7 kB / 0.5785 GB, free: 192 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006991/0.6602, allocations: 95.92 kB / 0.5786 GB, free: 96 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6602, allocations: 7.938 kB / 0.5786 GB, free: 88 kB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001572/0.6618, allocations: 249.4 kB / 0.5788 GB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.6618, allocations: 12.09 kB / 0.5788 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6618, allocations: 0 / 0.5788 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.6618, allocations: 4 kB / 0.5789 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009983/0.6718, allocations: 435.4 kB / 0.5793 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005172/0.6771, allocations: 1.953 MB / 0.5812 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007654/0.6779, allocations: 51.83 kB / 0.5812 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.6779, allocations: 7.953 kB / 0.5812 GB, free: 13.31 MB / 410.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 () * 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.0002829/0.6782, allocations: 157.8 kB / 0.5814 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.6783, allocations: 19.8 kB / 0.5814 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.6784, allocations: 25.7 kB / 0.5814 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6784, allocations: 4 kB / 0.5814 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6784, allocations: 0 / 0.5814 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.6785, allocations: 8.734 kB / 0.5814 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.679, allocations: 293.4 kB / 0.5817 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.6791, allocations: 0 / 0.5817 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00993/0.689, allocations: 436.1 kB / 0.5821 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/0.6891, allocations: 3.984 kB / 0.5821 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.6891, allocations: 4 kB / 0.5821 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005259/0.6944, allocations: 1.941 MB / 0.584 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6945, allocations: 0 / 0.584 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.6961, allocations: 331.2 kB / 0.5844 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.6962, allocations: 96.84 kB / 0.5844 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/0.6963, allocations: 0 / 0.5844 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/0.697, allocations: 23.97 kB / 0.5845 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.956e-05/0.6971, allocations: 11.98 kB / 0.5845 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.6972, allocations: 7.984 kB / 0.5845 GB, free: 9.812 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003395/0.6975, allocations: 201.9 kB / 0.5847 GB, free: 9.617 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6975, allocations: 3.938 kB / 0.5847 GB, free: 9.613 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005318/0.6981, allocations: 79.83 kB / 0.5848 GB, free: 9.535 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 () * 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.002164/0.7002, allocations: 0.8971 MB / 0.5856 GB, free: 8.617 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01026/0.7105, allocations: 0.5382 MB / 0.5862 GB, free: 8.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.7106, allocations: 0 / 0.5862 GB, free: 8.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009491/0.7201, allocations: 439.5 kB / 0.5866 GB, free: 7.648 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.7206, allocations: 37.34 kB / 0.5866 GB, free: 7.617 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/0.7262, allocations: 2.139 MB / 0.5887 GB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.7268, allocations: 0.7908 MB / 0.5895 GB, free: 4.594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.727, allocations: 67.34 kB / 0.5895 GB, free: 4.527 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.727, allocations: 4 kB / 0.5895 GB, free: 4.523 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.83/3.557, allocations: 7.862 MB / 0.5972 GB, free: 12.68 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat