Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001396/0.001396, allocations: 174.4 kB / 8.74 MB, free: 348 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.318/1.318, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009001/0.0009, allocations: 102.8 kB / 281.6 MB, free: 5.309 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.1941/0.1941, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.814e-05, allocations: 224 / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.119, allocations: 61.92 MB / 0.4948 GB, free: 1.129 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3902/0.5093, allocations: 103 MB / 0.5953 GB, free: 9.363 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.5096, allocations: 95.94 kB / 0.5954 GB, free: 9.27 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6002:11-6008:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6010:11-6013:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6016:11-6022:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6024:11-6027:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05465/0.5643, allocations: 18.09 MB / 0.6131 GB, free: 7.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5643, allocations: 4 kB / 0.6131 GB, free: 7.086 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.5644, allocations: 4 kB / 0.6131 GB, free: 7.082 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001043/0.5654, allocations: 0.6307 MB / 0.6137 GB, free: 6.402 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5655, allocations: 15.98 kB / 0.6137 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/0.5655, allocations: 27.62 kB / 0.6138 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.5658, allocations: 246.6 kB / 0.614 GB, free: 6.078 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5658, allocations: 12 kB / 0.614 GB, free: 6.066 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.5659, allocations: 20 kB / 0.614 GB, free: 6.047 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005234/0.5664, allocations: 401.3 kB / 0.6144 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.5669, allocations: 398 kB / 0.6148 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.567, allocations: 0 / 0.6148 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.567, allocations: 0 / 0.6148 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/0.5671, allocations: 36.75 kB / 0.6148 GB, free: 5.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.5688, allocations: 1.27 MB / 0.6161 GB, free: 3.848 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.5692, allocations: 250.5 kB / 0.6163 GB, free: 3.594 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.5693, allocations: 80.83 kB / 0.6164 GB, free: 3.512 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.5694, allocations: 12.36 kB / 0.6164 GB, free: 3.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.5694, allocations: 30.56 kB / 0.6164 GB, free: 3.461 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.5694, allocations: 7.938 kB / 0.6164 GB, free: 3.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003711/0.5698, allocations: 205.7 kB / 0.6166 GB, free: 3.246 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.5698, allocations: 55.41 kB / 0.6167 GB, free: 3.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.5699, allocations: 135.1 kB / 0.6168 GB, free: 3.039 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.57, allocations: 25.7 kB / 0.6168 GB, free: 3.008 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.57, allocations: 188.1 kB / 0.617 GB, free: 2.816 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.5701, allocations: 82.75 kB / 0.6171 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.5701, allocations: 4 kB / 0.6171 GB, free: 2.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.5702, allocations: 326.8 kB / 0.6174 GB, free: 2.402 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.5703, allocations: 75.75 kB / 0.6175 GB, free: 2.328 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.5705, allocations: 146.1 kB / 0.6176 GB, free: 2.148 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.5706, allocations: 103.8 kB / 0.6177 GB, free: 2.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5707, allocations: 0 / 0.6177 GB, free: 2.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003967/0.5711, allocations: 269.4 kB / 0.618 GB, free: 1.777 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5711, allocations: 4 kB / 0.618 GB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5711, allocations: 4 kB / 0.618 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5711, allocations: 4 kB / 0.618 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.5717, allocations: 132.1 kB / 0.6181 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.5729, allocations: 2.375 MB / 0.6204 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.5731, allocations: 31.62 kB / 0.6205 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.5731, allocations: 15.98 kB / 0.6205 GB, free: 15.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.798e-05/0.5732, allocations: 112.9 kB / 0.6206 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003232/0.5735, allocations: 209.3 kB / 0.6208 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.5736, allocations: 16 kB / 0.6208 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000625/0.5742, allocations: 323.5 kB / 0.6211 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5742, allocations: 7.938 kB / 0.6211 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5742, allocations: 4 kB / 0.6211 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.5743, allocations: 7.984 kB / 0.6211 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.5746, allocations: 273.9 kB / 0.6214 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5746, allocations: 0 / 0.6214 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.5751, allocations: 111.9 kB / 0.6215 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.5751, allocations: 0 / 0.6215 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.5751, allocations: 4 kB / 0.6215 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.5762, allocations: 2.368 MB / 0.6238 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5762, allocations: 0 / 0.6238 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.5766, allocations: 335.5 kB / 0.6241 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.5766, allocations: 92.86 kB / 0.6242 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.5767, allocations: 3.984 kB / 0.6242 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.5768, allocations: 12.09 kB / 0.6242 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.5769, allocations: 23.97 kB / 0.6242 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.5769, allocations: 11.98 kB / 0.6243 GB, free: 11.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.732e-05/0.577, allocations: 95.27 kB / 0.6243 GB, free: 10.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.577, allocations: 4 kB / 0.6244 GB, free: 10.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007808/0.5778, allocations: 243.3 kB / 0.6246 GB, free: 10.72 MB / 442.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00149/0.5793, allocations: 1.143 MB / 0.6257 GB, free: 9.547 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005496/0.5798, allocations: 236.9 kB / 0.6259 GB, free: 9.316 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5798, allocations: 0 / 0.6259 GB, free: 9.316 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.5802, allocations: 147.8 kB / 0.6261 GB, free: 9.172 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.5804, allocations: 4 kB / 0.6261 GB, free: 9.168 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.5815, allocations: 0.5578 MB / 0.6266 GB, free: 8.574 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.5818, allocations: 0.8178 MB / 0.6274 GB, free: 7.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003048/0.5822, allocations: 93.86 kB / 0.6275 GB, free: 7.637 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.5823, allocations: 96.94 kB / 0.6276 GB, free: 7.543 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5823, allocations: 0 / 0.6276 GB, free: 7.543 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.6107, allocations: 7.505 MB / 0.6349 GB, free: 56 kB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.6109, allocations: 194 kB / 0.6351 GB, free: 15.86 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.425, allocations: 0 / 0.6351 GB, free: 15.86 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat