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.001456/0.001456, allocations: 181.2 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.3 MB / 214.1 MB, free: 14.07 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 85.75 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2999/0.2999, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.909e-05, allocations: 4.219 kB / 418.4 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4095, allocations: 58.84 MB / 477.2 MB, free: 5.18 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.6068, allocations: 90.24 MB / 0.5541 GB, free: 8.961 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003783/0.6072, allocations: 91.94 kB / 0.5542 GB, free: 8.871 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02774/0.6349, allocations: 5.89 MB / 0.56 GB, free: 2.883 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.635, allocations: 0 / 0.56 GB, free: 2.883 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.635, allocations: 0 / 0.56 GB, free: 2.883 MB / 395.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.0008315/0.6359, allocations: 495 kB / 0.5604 GB, free: 2.352 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.6359, allocations: 12.03 kB / 0.5605 GB, free: 2.34 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.6383, allocations: 199.3 kB / 0.5607 GB, free: 2.145 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/0.639, allocations: 270.6 kB / 0.5609 GB, free: 1.84 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/0.6391, allocations: 12 kB / 0.5609 GB, free: 1.828 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/0.6392, allocations: 16 kB / 0.5609 GB, free: 1.812 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001273/0.6405, allocations: 0.4969 MB / 0.5614 GB, free: 1.316 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.6415, allocations: 411.5 kB / 0.5618 GB, free: 0.9062 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.6416, allocations: 0 / 0.5618 GB, free: 0.9062 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.6416, allocations: 0 / 0.5618 GB, free: 0.9062 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/0.6417, allocations: 24.55 kB / 0.5618 GB, free: 0.8828 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.6452, allocations: 1.076 MB / 0.5629 GB, free: 15.73 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.6457, allocations: 110.5 kB / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.6459, allocations: 56.81 kB / 0.563 GB, free: 15.55 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.6459, allocations: 0 / 0.563 GB, free: 15.55 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.646, allocations: 34.56 kB / 0.5631 GB, free: 15.51 MB / 411.1 MB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.646, allocations: 0 / 0.5631 GB, free: 15.51 MB / 411.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006468/0.6466, allocations: 141.6 kB / 0.5632 GB, free: 15.37 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.6467, allocations: 55.41 kB / 0.5633 GB, free: 15.3 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.6469, allocations: 120.4 kB / 0.5634 GB, free: 15.18 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.6469, allocations: 29.7 kB / 0.5634 GB, free: 15.14 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.6471, allocations: 254 kB / 0.5637 GB, free: 14.89 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.6472, allocations: 23.64 kB / 0.5637 GB, free: 14.87 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.6472, allocations: 0 / 0.5637 GB, free: 14.87 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6474, allocations: 318.8 kB / 0.564 GB, free: 14.55 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.6476, allocations: 55.97 kB / 0.564 GB, free: 14.5 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.6478, allocations: 79.39 kB / 0.5641 GB, free: 14.41 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.6481, allocations: 63.83 kB / 0.5642 GB, free: 14.34 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.6481, allocations: 4 kB / 0.5642 GB, free: 14.34 MB / 411.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000612/0.6487, allocations: 161.5 kB / 0.5643 GB, free: 14.18 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.6488, allocations: 4 kB / 0.5643 GB, free: 14.17 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.6488, allocations: 0 / 0.5643 GB, free: 14.17 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.6488, allocations: 4 kB / 0.5643 GB, free: 14.17 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/0.659, allocations: 447.4 kB / 0.5648 GB, free: 13.73 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004877/0.6639, allocations: 1.918 MB / 0.5666 GB, free: 11.74 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.6647, allocations: 27.91 kB / 0.5667 GB, free: 11.71 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/0.6648, allocations: 15.94 kB / 0.5667 GB, free: 11.7 MB / 411.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 () * 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.0001551/0.6649, allocations: 105 kB / 0.5668 GB, free: 11.59 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005597/0.6655, allocations: 141.5 kB / 0.5669 GB, free: 11.45 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.6656, allocations: 11.89 kB / 0.5669 GB, free: 11.43 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.831e-05/0.6656, allocations: 24.55 kB / 0.5669 GB, free: 11.41 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6657, allocations: 0 / 0.5669 GB, free: 11.41 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6657, allocations: 3.953 kB / 0.567 GB, free: 11.41 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6657, allocations: 0 / 0.567 GB, free: 11.41 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.6662, allocations: 246 kB / 0.5672 GB, free: 11.13 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6663, allocations: 0 / 0.5672 GB, free: 11.13 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01015/0.6764, allocations: 442.8 kB / 0.5676 GB, free: 10.7 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.6765, allocations: 0 / 0.5676 GB, free: 10.7 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.6765, allocations: 4 kB / 0.5676 GB, free: 10.7 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005055/0.6816, allocations: 1.922 MB / 0.5695 GB, free: 8.703 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.6817, allocations: 3.984 kB / 0.5695 GB, free: 8.699 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006384/0.6823, allocations: 231.4 kB / 0.5697 GB, free: 8.457 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.6824, allocations: 85.02 kB / 0.5698 GB, free: 8.355 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.6825, allocations: 0 / 0.5698 GB, free: 8.355 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007342/0.6833, allocations: 24.06 kB / 0.5698 GB, free: 8.332 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/0.6834, allocations: 7.984 kB / 0.5698 GB, free: 8.324 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.6834, allocations: 11.98 kB / 0.5698 GB, free: 8.312 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.6836, allocations: 99.22 kB / 0.5699 GB, free: 8.215 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6836, allocations: 7.938 kB / 0.5699 GB, free: 8.207 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005791/0.6842, allocations: 83.69 kB / 0.57 GB, free: 8.125 MB / 411.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 () * 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.001124/0.6853, allocations: 0.8063 MB / 0.5708 GB, free: 7.293 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.009311/0.6946, allocations: 455.3 kB / 0.5712 GB, free: 6.848 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6947, allocations: 4.188 kB / 0.5712 GB, free: 6.844 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008973/0.7037, allocations: 387.4 kB / 0.5716 GB, free: 6.465 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.7041, allocations: 11.31 kB / 0.5716 GB, free: 6.457 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.7053, allocations: 385.5 kB / 0.572 GB, free: 6.035 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.7057, allocations: 0.7743 MB / 0.5727 GB, free: 5.234 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.706, allocations: 59.41 kB / 0.5728 GB, free: 5.176 MB / 411.1 MB Notification: Performance of SimCode: time 1.413e-06/0.706, allocations: 4 kB / 0.5728 GB, free: 5.172 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.806/3.512, allocations: 6.978 MB / 0.5796 GB, free: 14.19 MB / 427.1 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