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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.0009418/0.0009418, allocations: 170.6 kB / 8.739 MB, free: 340 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.584/1.584, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0009281/0.0009278, allocations: 95.36 kB / 281.6 MB, free: 5.336 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.2063/0.2063, allocations: 44.16 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.183e-05, allocations: 4 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 61.93 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4185/0.5477, allocations: 90.49 MB / 0.5832 GB, free: 5.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.548, allocations: 95.94 kB / 0.5833 GB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01651/0.5645, allocations: 5.924 MB / 0.589 GB, free: 15.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5645, allocations: 0 / 0.589 GB, free: 15.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.5646, allocations: 4 kB / 0.589 GB, free: 15.87 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006459/0.5652, allocations: 498.1 kB / 0.5895 GB, free: 15.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.5653, allocations: 11.98 kB / 0.5895 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.5663, allocations: 163.5 kB / 0.5897 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.5667, allocations: 258.7 kB / 0.5899 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.5667, allocations: 15.89 kB / 0.5899 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.5667, allocations: 12 kB / 0.59 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004494/0.5672, allocations: 320.8 kB / 0.5903 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.5677, allocations: 388.4 kB / 0.5906 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5677, allocations: 0 / 0.5906 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.5677, allocations: 7.984 kB / 0.5906 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.5678, allocations: 20.5 kB / 0.5907 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.5696, allocations: 1.63 MB / 0.5923 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.5698, allocations: 79.41 kB / 0.5923 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/0.5698, allocations: 32.84 kB / 0.5924 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.5699, allocations: 4 kB / 0.5924 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.5699, allocations: 38.52 kB / 0.5924 GB, free: 12.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.5699, allocations: 4 kB / 0.5924 GB, free: 12.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002622/0.5702, allocations: 101.7 kB / 0.5925 GB, free: 12.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.5702, allocations: 51.41 kB / 0.5926 GB, free: 12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.5704, allocations: 197.7 kB / 0.5927 GB, free: 11.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.5704, allocations: 25.7 kB / 0.5928 GB, free: 11.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.5705, allocations: 195.6 kB / 0.593 GB, free: 11.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.5706, allocations: 27.64 kB / 0.593 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.5706, allocations: 0 / 0.593 GB, free: 11.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.5707, allocations: 322.8 kB / 0.5933 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.923e-05/0.5708, allocations: 51.97 kB / 0.5933 GB, free: 11.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.5709, allocations: 97.97 kB / 0.5934 GB, free: 11.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.571, allocations: 73.56 kB / 0.5935 GB, free: 10.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.571, allocations: 0 / 0.5935 GB, free: 10.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003108/0.5713, allocations: 193.2 kB / 0.5937 GB, free: 10.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5714, allocations: 12.17 kB / 0.5937 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.5714, allocations: 4 kB / 0.5937 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.5714, allocations: 4 kB / 0.5937 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.5728, allocations: 115.8 kB / 0.5938 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.5744, allocations: 1.848 MB / 0.5956 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.5746, allocations: 27.73 kB / 0.5956 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.5746, allocations: 8.188 kB / 0.5957 GB, free: 8.703 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * 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 8.621e-05/0.5747, allocations: 108.9 kB / 0.5958 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002023/0.5749, allocations: 110.3 kB / 0.5959 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.575, allocations: 19.81 kB / 0.5959 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.5753, allocations: 155.3 kB / 0.596 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5754, allocations: 4 kB / 0.596 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5754, allocations: 0 / 0.596 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.5754, allocations: 7.922 kB / 0.596 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.5756, allocations: 238 kB / 0.5963 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.5757, allocations: 3.953 kB / 0.5963 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.5768, allocations: 95.88 kB / 0.5964 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5768, allocations: 0 / 0.5964 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.5768, allocations: 8 kB / 0.5964 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.5779, allocations: 1.793 MB / 0.5981 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5779, allocations: 0 / 0.5981 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.5782, allocations: 215.4 kB / 0.5983 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.5782, allocations: 92.88 kB / 0.5984 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.5783, allocations: 0 / 0.5984 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.5785, allocations: 11.98 kB / 0.5984 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.5785, allocations: 12.08 kB / 0.5984 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.5785, allocations: 4 kB / 0.5984 GB, free: 5.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.5787, allocations: 160.2 kB / 0.5986 GB, free: 5.523 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5787, allocations: 0 / 0.5986 GB, free: 5.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.579, allocations: 79.67 kB / 0.5987 GB, free: 5.445 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 (11): * Single equations (assignments): 8 * 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.0005905/0.5796, allocations: 0.7786 MB / 0.5994 GB, free: 4.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.581, allocations: 196.1 kB / 0.5996 GB, free: 4.449 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.581, allocations: 0 / 0.5996 GB, free: 4.449 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000777/0.5818, allocations: 85.72 kB / 0.5997 GB, free: 4.367 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.582, allocations: 12.28 kB / 0.5997 GB, free: 4.355 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.5828, allocations: 383 kB / 0.6001 GB, free: 3.941 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.5832, allocations: 0.7943 MB / 0.6009 GB, free: 3.121 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.5833, allocations: 37.17 kB / 0.6009 GB, free: 3.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.5834, allocations: 63.42 kB / 0.6009 GB, free: 3.023 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5834, allocations: 0 / 0.6009 GB, free: 3.023 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.608, allocations: 5.272 MB / 0.6061 GB, free: 13.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.6082, allocations: 194.2 kB / 0.6063 GB, free: 13.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.442, allocations: 0 / 0.6063 GB, free: 13.57 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat