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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008792/0.0008791, allocations: 99.66 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1944/0.1944, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.454e-05/1.456e-05, allocations: 4.219 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 61.91 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.541, allocations: 91.43 MB / 0.5841 GB, free: 4.891 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.5413, allocations: 100.8 kB / 0.5842 GB, free: 4.793 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01645/0.5578, allocations: 6.018 MB / 0.5901 GB, free: 14.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5578, allocations: 0 / 0.5901 GB, free: 14.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.5579, allocations: 8 kB / 0.5901 GB, free: 14.69 MB / 410.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.000553/0.5584, allocations: 486.3 kB / 0.5905 GB, free: 14.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5585, allocations: 15.92 kB / 0.5905 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.5597, allocations: 199.3 kB / 0.5907 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.5601, allocations: 262.8 kB / 0.591 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.5601, allocations: 15.98 kB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.5602, allocations: 19.89 kB / 0.591 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007514/0.5609, allocations: 0.5007 MB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.5616, allocations: 407.5 kB / 0.5919 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5616, allocations: 0 / 0.5919 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.5616, allocations: 0 / 0.5919 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.002e-05/0.5617, allocations: 32.53 kB / 0.5919 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.5636, allocations: 1.077 MB / 0.593 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.5639, allocations: 110.5 kB / 0.5931 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.564, allocations: 48.83 kB / 0.5931 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.564, allocations: 12.08 kB / 0.5931 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.5641, allocations: 34.56 kB / 0.5932 GB, free: 11.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.5641, allocations: 0 / 0.5932 GB, free: 11.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003913/0.5645, allocations: 133.5 kB / 0.5933 GB, free: 11.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.5645, allocations: 51.41 kB / 0.5933 GB, free: 11.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.5646, allocations: 129.1 kB / 0.5935 GB, free: 10.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.5647, allocations: 26.55 kB / 0.5935 GB, free: 10.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.5648, allocations: 183.6 kB / 0.5937 GB, free: 10.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.5648, allocations: 27.64 kB / 0.5937 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.5649, allocations: 4 kB / 0.5937 GB, free: 10.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.565, allocations: 318.8 kB / 0.594 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.5651, allocations: 47.97 kB / 0.594 GB, free: 10.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.5652, allocations: 87.39 kB / 0.5941 GB, free: 10.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.5653, allocations: 63.83 kB / 0.5942 GB, free: 10.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5653, allocations: 4 kB / 0.5942 GB, free: 10.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003184/0.5657, allocations: 177.3 kB / 0.5944 GB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5657, allocations: 4 kB / 0.5944 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5657, allocations: 80 / 0.5944 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5657, allocations: 4 kB / 0.5944 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005055/0.5708, allocations: 452.2 kB / 0.5948 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.5735, allocations: 1.914 MB / 0.5967 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.5739, allocations: 36.08 kB / 0.5967 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.574, allocations: 8 kB / 0.5967 GB, free: 7.547 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 () * 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.0001358/0.5741, allocations: 105 kB / 0.5968 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003241/0.5745, allocations: 141.4 kB / 0.597 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.5745, allocations: 7.906 kB / 0.597 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.5746, allocations: 16.61 kB / 0.597 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.5746, allocations: 4 kB / 0.597 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.5746, allocations: 0 / 0.597 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5746, allocations: 0 / 0.597 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.575, allocations: 261.9 kB / 0.5972 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.575, allocations: 0 / 0.5972 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004813/0.5799, allocations: 431.4 kB / 0.5976 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5799, allocations: 4 kB / 0.5976 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.5799, allocations: 7.984 kB / 0.5977 GB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/0.5824, allocations: 1.918 MB / 0.5995 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5824, allocations: 0 / 0.5995 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.5828, allocations: 243.5 kB / 0.5998 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.5829, allocations: 85.02 kB / 0.5998 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.5829, allocations: 0 / 0.5998 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.5833, allocations: 19.97 kB / 0.5999 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.5833, allocations: 7.984 kB / 0.5999 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.5834, allocations: 3.984 kB / 0.5999 GB, free: 4.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.31e-05/0.5834, allocations: 107.3 kB / 0.6 GB, free: 4.055 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5834, allocations: 0 / 0.6 GB, free: 4.055 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004128/0.5839, allocations: 83.69 kB / 0.6 GB, free: 3.973 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.0007561/0.5846, allocations: 0.8092 MB / 0.6008 GB, free: 3.141 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004623/0.5893, allocations: 451.3 kB / 0.6013 GB, free: 2.699 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5893, allocations: 0 / 0.6013 GB, free: 2.699 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004329/0.5936, allocations: 395.5 kB / 0.6016 GB, free: 2.312 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.5939, allocations: 15.88 kB / 0.6017 GB, free: 2.297 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007899/0.5947, allocations: 355.9 kB / 0.602 GB, free: 1.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.595, allocations: 0.7782 MB / 0.6028 GB, free: 1.105 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.5952, allocations: 36.39 kB / 0.6028 GB, free: 1.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.5953, allocations: 60.61 kB / 0.6029 GB, free: 1.012 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5953, allocations: 0 / 0.6029 GB, free: 1.012 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.6179, allocations: 5.473 MB / 0.6082 GB, free: 11.57 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.6181, allocations: 204.6 kB / 0.6084 GB, free: 11.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.486, allocations: 0 / 0.6084 GB, free: 11.29 MB / 426.7 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