Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.00119/0.00119, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.2 MB / 245 MB, free: 7.637 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009954/0.0009954, allocations: 99.7 kB / 297.2 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4896/0.4896, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002686/0.0002686, allocations: 8.219 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.394, allocations: 63.25 MB / 0.5193 GB, free: 43.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.5397, allocations: 100.2 MB / 0.6172 GB, free: 5.383 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.5401, allocations: 107.9 kB / 0.6173 GB, free: 5.281 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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.05016/0.5902, allocations: 15.46 MB / 0.6324 GB, free: 5.766 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5903, allocations: 0 / 0.6324 GB, free: 5.766 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.5903, allocations: 4 kB / 0.6324 GB, free: 5.762 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.001231/0.5915, allocations: 0.5808 MB / 0.6329 GB, free: 5.133 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5916, allocations: 8.031 kB / 0.6329 GB, free: 5.125 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.556e-05/0.5917, allocations: 70.52 kB / 0.633 GB, free: 5.047 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.5918, allocations: 31.58 kB / 0.633 GB, free: 5.016 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.5921, allocations: 234.7 kB / 0.6333 GB, free: 4.746 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.5921, allocations: 12.56 kB / 0.6333 GB, free: 4.734 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.5922, allocations: 24 kB / 0.6333 GB, free: 4.711 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.5928, allocations: 369.2 kB / 0.6336 GB, free: 4.344 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5928, allocations: 4 kB / 0.6337 GB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.5929, allocations: 8 kB / 0.6337 GB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/0.5929, allocations: 36.58 kB / 0.6337 GB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006343/0.5936, allocations: 402.3 kB / 0.6341 GB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.5952, allocations: 1.051 MB / 0.6351 GB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.5958, allocations: 284.3 kB / 0.6354 GB, free: 2.465 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.5959, allocations: 16.09 kB / 0.6354 GB, free: 2.449 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.5959, allocations: 34.75 kB / 0.6354 GB, free: 2.406 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 2.275e-06/0.5959, allocations: 0 / 0.6354 GB, free: 2.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008091/0.5967, allocations: 345.1 kB / 0.6358 GB, free: 2.066 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.5968, allocations: 51.41 kB / 0.6358 GB, free: 2.004 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.597, allocations: 202.9 kB / 0.636 GB, free: 1.797 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.5971, allocations: 25.7 kB / 0.636 GB, free: 1.766 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.5972, allocations: 160.3 kB / 0.6362 GB, free: 1.605 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/0.5973, allocations: 75.02 kB / 0.6362 GB, free: 1.531 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.5973, allocations: 0 / 0.6362 GB, free: 1.531 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5974, allocations: 334.8 kB / 0.6366 GB, free: 1.195 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.5976, allocations: 79.94 kB / 0.6366 GB, free: 1.117 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.5979, allocations: 111.5 kB / 0.6367 GB, free: 1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.5981, allocations: 105 kB / 0.6368 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5981, allocations: 0 / 0.6368 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005134/0.5986, allocations: 260 kB / 0.6371 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.5987, allocations: 12.02 kB / 0.6371 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.5987, allocations: 0 / 0.6371 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.5987, allocations: 7.938 kB / 0.6371 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.5992, allocations: 87.92 kB / 0.6372 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.6006, allocations: 2.387 MB / 0.6395 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.6008, allocations: 28.06 kB / 0.6396 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.6009, allocations: 15.98 kB / 0.6396 GB, free: 14.01 MB / 458.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.0001927/0.601, allocations: 161.7 kB / 0.6397 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.6011, allocations: 23.72 kB / 0.6397 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007888/0.6019, allocations: 363.1 kB / 0.6401 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.6019, allocations: 4 kB / 0.6401 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6019, allocations: 0 / 0.6401 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6019, allocations: 0 / 0.6401 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.6024, allocations: 313.3 kB / 0.6404 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6024, allocations: 0 / 0.6404 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.6028, allocations: 103.9 kB / 0.6405 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.6028, allocations: 4 kB / 0.6405 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.6029, allocations: 8 kB / 0.6405 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.6042, allocations: 2.379 MB / 0.6428 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6042, allocations: 0 / 0.6428 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.6047, allocations: 383.7 kB / 0.6432 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.6049, allocations: 128.8 kB / 0.6433 GB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.605, allocations: 4 kB / 0.6433 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.6051, allocations: 19.98 kB / 0.6433 GB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.675e-05/0.6052, allocations: 19.97 kB / 0.6434 GB, free: 9.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.6052, allocations: 8 kB / 0.6434 GB, free: 9.922 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.6054, allocations: 168.2 kB / 0.6435 GB, free: 9.758 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6054, allocations: 0 / 0.6435 GB, free: 9.758 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007093/0.6061, allocations: 195.5 kB / 0.6437 GB, free: 9.566 MB / 458.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.001543/0.6077, allocations: 1.08 MB / 0.6448 GB, free: 8.461 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007023/0.6084, allocations: 252.3 kB / 0.645 GB, free: 8.215 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6084, allocations: 8.125 kB / 0.645 GB, free: 8.207 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.6088, allocations: 163.6 kB / 0.6452 GB, free: 8.047 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.6092, allocations: 43.61 kB / 0.6452 GB, free: 8.008 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.612, allocations: 1.942 MB / 0.6471 GB, free: 6.012 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.6124, allocations: 0.787 MB / 0.6479 GB, free: 5.199 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.6127, allocations: 89.75 kB / 0.648 GB, free: 5.113 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.6129, allocations: 79.41 kB / 0.648 GB, free: 5.035 MB / 458.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6129, allocations: 0 / 0.648 GB, free: 5.035 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.6406, allocations: 8.1 MB / 0.656 GB, free: 13.21 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003535/0.641, allocations: 256.5 kB / 0.6562 GB, free: 12.88 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.562, allocations: 0 / 0.6562 GB, free: 12.88 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat