Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.001515/0.001514, allocations: 176.8 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008775/0.0008774, allocations: 102.6 kB / 292.1 MB, free: 10.93 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.3635/0.3635, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003871, allocations: 12 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3514, allocations: 61.89 MB / 0.5097 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4868, allocations: 99.17 MB / 0.6065 GB, free: 11.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.4872, allocations: 103.9 kB / 0.6066 GB, free: 11.83 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4725:11-4728: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:4738:11-4741:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.04945/0.5366, allocations: 15.46 MB / 0.6217 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5367, allocations: 0 / 0.6217 GB, free: 12.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.5367, allocations: 4 kB / 0.6217 GB, free: 12.26 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001024/0.5377, allocations: 0.5652 MB / 0.6223 GB, free: 11.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5378, allocations: 12.03 kB / 0.6223 GB, free: 11.63 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.712e-05/0.5379, allocations: 70.52 kB / 0.6223 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.075e-05/0.5379, allocations: 35.56 kB / 0.6224 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.5383, allocations: 234.7 kB / 0.6226 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.5383, allocations: 16.56 kB / 0.6226 GB, free: 11.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.5384, allocations: 20 kB / 0.6226 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006473/0.539, allocations: 373.2 kB / 0.623 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5391, allocations: 0 / 0.623 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.5391, allocations: 4 kB / 0.623 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-05/0.5392, allocations: 32.64 kB / 0.623 GB, free: 10.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000677/0.5398, allocations: 402.3 kB / 0.6234 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.5416, allocations: 1.055 MB / 0.6244 GB, free: 9.258 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005955/0.5422, allocations: 286.9 kB / 0.6247 GB, free: 8.969 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.5422, allocations: 8.172 kB / 0.6247 GB, free: 8.961 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.5423, allocations: 30.75 kB / 0.6247 GB, free: 8.922 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 1.973e-06/0.5423, allocations: 4 kB / 0.6247 GB, free: 8.918 MB / 442.7 MB Notification: Performance of matching and sorting (n=21): time 0.000765/0.543, allocations: 336.2 kB / 0.6251 GB, free: 8.586 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.5431, allocations: 63.3 kB / 0.6251 GB, free: 8.512 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.5433, allocations: 206.9 kB / 0.6253 GB, free: 8.301 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.5433, allocations: 29.7 kB / 0.6253 GB, free: 8.266 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5435, allocations: 148.4 kB / 0.6255 GB, free: 8.117 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.5435, allocations: 82.91 kB / 0.6256 GB, free: 8.035 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.5436, allocations: 0 / 0.6256 GB, free: 8.035 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5437, allocations: 330.8 kB / 0.6259 GB, free: 7.703 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.5439, allocations: 83.78 kB / 0.626 GB, free: 7.621 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.5441, allocations: 116.7 kB / 0.6261 GB, free: 7.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.5443, allocations: 98 kB / 0.6262 GB, free: 7.406 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.5444, allocations: 0 / 0.6262 GB, free: 7.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005084/0.5449, allocations: 265.2 kB / 0.6264 GB, free: 7.141 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5449, allocations: 8 kB / 0.6264 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5449, allocations: 0 / 0.6264 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5449, allocations: 0 / 0.6264 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.5454, allocations: 99.92 kB / 0.6265 GB, free: 7.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.5468, allocations: 2.383 MB / 0.6289 GB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.547, allocations: 35.61 kB / 0.6289 GB, free: 4.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.547, allocations: 11.98 kB / 0.6289 GB, free: 4.512 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 19 * 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 0.0001707/0.5472, allocations: 162.5 kB / 0.6291 GB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.5472, allocations: 23.67 kB / 0.6291 GB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007815/0.548, allocations: 364.2 kB / 0.6294 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.548, allocations: 4 kB / 0.6294 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5481, allocations: 0 / 0.6294 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5481, allocations: 0 / 0.6294 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.5485, allocations: 313.3 kB / 0.6297 GB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5485, allocations: 0 / 0.6297 GB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.5489, allocations: 91.92 kB / 0.6298 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.5489, allocations: 0 / 0.6298 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.5489, allocations: 15.95 kB / 0.6298 GB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.5503, allocations: 2.383 MB / 0.6322 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5504, allocations: 0 / 0.6322 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/0.5509, allocations: 381.5 kB / 0.6325 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.5511, allocations: 132.8 kB / 0.6326 GB, free: 488 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.5512, allocations: 0 / 0.6326 GB, free: 488 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.5513, allocations: 16 kB / 0.6327 GB, free: 472 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.5514, allocations: 19.97 kB / 0.6327 GB, free: 452 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.5515, allocations: 15.92 kB / 0.6327 GB, free: 436 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001623/0.5516, allocations: 168.2 kB / 0.6329 GB, free: 268 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5516, allocations: 0 / 0.6329 GB, free: 268 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007009/0.5523, allocations: 179.6 kB / 0.633 GB, free: 88 kB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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.001288/0.5536, allocations: 1.068 MB / 0.6341 GB, free: 14.99 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006712/0.5543, allocations: 257 kB / 0.6343 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5543, allocations: 0 / 0.6343 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.5548, allocations: 159.9 kB / 0.6345 GB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.5551, allocations: 39.95 kB / 0.6345 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.5575, allocations: 1.935 MB / 0.6364 GB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.5579, allocations: 0.7909 MB / 0.6372 GB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000244/0.5582, allocations: 85.77 kB / 0.6373 GB, free: 11.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.5584, allocations: 83.39 kB / 0.6373 GB, free: 11.57 MB / 458.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5584, allocations: 0 / 0.6373 GB, free: 11.57 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.5801, allocations: 7.987 MB / 0.6451 GB, free: 3.863 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.5803, allocations: 254.9 kB / 0.6454 GB, free: 3.527 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.608, allocations: 2.812 kB / 0.6454 GB, free: 3.527 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat