Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.00148/0.00148, 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.491/1.491, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009881/0.000988, allocations: 97.23 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3611/0.3611, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002804, allocations: 8 kB / 468.5 MB, free: 7.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3782, allocations: 63.24 MB / 0.5193 GB, free: 37.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.5193, allocations: 103.7 MB / 0.6206 GB, free: 15.65 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005037/0.5199, allocations: 107.8 kB / 0.6207 GB, free: 15.55 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4562:11-4565:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4589:11-4592:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4549:11-4552:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4576:11-4579:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.07419/0.5941, allocations: 23.1 MB / 0.6433 GB, free: 8.285 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.029e-06/0.5942, allocations: 0 / 0.6433 GB, free: 8.285 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.5942, allocations: 7.938 kB / 0.6433 GB, free: 8.277 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00136/0.5956, allocations: 0.6356 MB / 0.6439 GB, free: 7.594 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.5956, allocations: 8.031 kB / 0.6439 GB, free: 7.586 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.5958, allocations: 86.5 kB / 0.644 GB, free: 7.492 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.621e-05/0.5959, allocations: 39.53 kB / 0.644 GB, free: 7.453 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.5963, allocations: 266.5 kB / 0.6443 GB, free: 7.152 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.5964, allocations: 24.98 kB / 0.6443 GB, free: 7.129 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.5964, allocations: 36 kB / 0.6443 GB, free: 7.094 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008881/0.5973, allocations: 0.4905 MB / 0.6448 GB, free: 6.598 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.5974, allocations: 0 / 0.6448 GB, free: 6.598 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.5974, allocations: 19.94 kB / 0.6448 GB, free: 6.578 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.496e-05/0.5975, allocations: 40.97 kB / 0.6449 GB, free: 6.535 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009177/0.5984, allocations: 0.5387 MB / 0.6454 GB, free: 6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.6007, allocations: 1.321 MB / 0.6467 GB, free: 4.562 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/0.6016, allocations: 384.6 kB / 0.647 GB, free: 4.176 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.6016, allocations: 11.97 kB / 0.6471 GB, free: 4.164 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.6017, allocations: 38.73 kB / 0.6471 GB, free: 4.117 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 2.565e-06/0.6017, allocations: 0 / 0.6471 GB, free: 4.117 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009728/0.6026, allocations: 441.4 kB / 0.6475 GB, free: 3.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.6027, allocations: 51.41 kB / 0.6476 GB, free: 3.617 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.603, allocations: 281.7 kB / 0.6478 GB, free: 3.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.6031, allocations: 33.64 kB / 0.6479 GB, free: 3.301 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.6032, allocations: 200.1 kB / 0.6481 GB, free: 3.102 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.6033, allocations: 94.64 kB / 0.6481 GB, free: 3.008 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.6034, allocations: 4 kB / 0.6481 GB, free: 3.004 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.6035, allocations: 338.8 kB / 0.6485 GB, free: 2.664 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.6038, allocations: 123.9 kB / 0.6486 GB, free: 2.543 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.6041, allocations: 167.4 kB / 0.6487 GB, free: 2.367 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.6044, allocations: 149.3 kB / 0.6489 GB, free: 2.223 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6044, allocations: 0 / 0.6489 GB, free: 2.223 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007229/0.6051, allocations: 379.2 kB / 0.6493 GB, free: 1.848 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.6052, allocations: 4 kB / 0.6493 GB, free: 1.844 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6052, allocations: 4 kB / 0.6493 GB, free: 1.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.6052, allocations: 3.953 kB / 0.6493 GB, free: 1.836 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.6059, allocations: 131.8 kB / 0.6494 GB, free: 1.707 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.6078, allocations: 3.012 MB / 0.6523 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.6081, allocations: 39.53 kB / 0.6524 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.6082, allocations: 24.22 kB / 0.6524 GB, free: 14.52 MB / 474.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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002751/0.6085, allocations: 185.7 kB / 0.6526 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.6085, allocations: 27.62 kB / 0.6526 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009791/0.6095, allocations: 467.6 kB / 0.653 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.6095, allocations: 4 kB / 0.653 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6095, allocations: 8 kB / 0.6531 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.6096, allocations: 3.984 kB / 0.6531 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.6101, allocations: 365.2 kB / 0.6534 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.6101, allocations: 4 kB / 0.6534 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/0.6107, allocations: 111.9 kB / 0.6535 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.6107, allocations: 7.938 kB / 0.6535 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.6107, allocations: 11.98 kB / 0.6535 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.6124, allocations: 3.004 MB / 0.6565 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6125, allocations: 7.922 kB / 0.6565 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.6132, allocations: 447.2 kB / 0.6569 GB, free: 9.695 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.6133, allocations: 116.6 kB / 0.657 GB, free: 9.562 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.6134, allocations: 4 kB / 0.657 GB, free: 9.559 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.6136, allocations: 19.92 kB / 0.657 GB, free: 9.539 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.6137, allocations: 23.97 kB / 0.6571 GB, free: 9.516 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.6138, allocations: 11.98 kB / 0.6571 GB, free: 9.504 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002838/0.6141, allocations: 225.9 kB / 0.6573 GB, free: 9.281 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6141, allocations: 0 / 0.6573 GB, free: 9.281 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001071/0.6151, allocations: 227.6 kB / 0.6575 GB, free: 9.059 MB / 474.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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002193/0.6173, allocations: 1.19 MB / 0.6587 GB, free: 7.844 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009112/0.6183, allocations: 359.6 kB / 0.659 GB, free: 7.492 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6183, allocations: 0 / 0.659 GB, free: 7.492 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005522/0.6188, allocations: 207.9 kB / 0.6592 GB, free: 7.289 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.6192, allocations: 48.47 kB / 0.6593 GB, free: 7.242 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.6232, allocations: 2.493 MB / 0.6617 GB, free: 4.691 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.6237, allocations: 0.8419 MB / 0.6625 GB, free: 3.824 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003701/0.6241, allocations: 114.8 kB / 0.6626 GB, free: 3.711 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.6244, allocations: 115.4 kB / 0.6627 GB, free: 3.598 MB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6244, allocations: 4 kB / 0.6627 GB, free: 3.594 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.6554, allocations: 10.54 MB / 0.673 GB, free: 9.324 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/0.6557, allocations: 259 kB / 0.6733 GB, free: 8.988 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.835, allocations: 8 kB / 0.6733 GB, free: 8.98 MB / 490.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat