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.001059/0.001059, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000899/0.0008991, allocations: 93.17 kB / 292.1 MB, free: 5.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1742/0.1742, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.368e-05/5.395e-05, allocations: 0 / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 63.25 MB / 0.5115 GB, free: 6.668 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.378/0.4838, allocations: 100.2 MB / 0.6093 GB, free: 9.652 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4841, allocations: 95.19 kB / 0.6094 GB, free: 9.598 MB / 410.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.04538/0.5295, allocations: 15.44 MB / 0.6245 GB, free: 12.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.5295, allocations: 0 / 0.6245 GB, free: 12.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.5296, allocations: 4 kB / 0.6245 GB, free: 12.21 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008037/0.5304, allocations: 0.5707 MB / 0.625 GB, free: 11.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.5304, allocations: 12.03 kB / 0.625 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.5305, allocations: 67.28 kB / 0.6251 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.5306, allocations: 31.58 kB / 0.6251 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.5308, allocations: 233.9 kB / 0.6254 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.5308, allocations: 15.75 kB / 0.6254 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.5309, allocations: 27.41 kB / 0.6254 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.5314, allocations: 340.8 kB / 0.6257 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.5314, allocations: 4 kB / 0.6257 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.5314, allocations: 15.42 kB / 0.6257 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/0.5315, allocations: 32.02 kB / 0.6258 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.532, allocations: 368.1 kB / 0.6261 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.5333, allocations: 1.041 MB / 0.6271 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.5339, allocations: 266.9 kB / 0.6274 GB, free: 9.383 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.534, allocations: 83.31 kB / 0.6275 GB, free: 9.316 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.534, allocations: 7.812 kB / 0.6275 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.5341, allocations: 34.75 kB / 0.6275 GB, free: 9.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.5341, allocations: 0 / 0.6275 GB, free: 9.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004053/0.5345, allocations: 214.6 kB / 0.6277 GB, free: 9.086 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.5345, allocations: 62.78 kB / 0.6278 GB, free: 9.016 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.5347, allocations: 200.3 kB / 0.628 GB, free: 8.836 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.5348, allocations: 33.64 kB / 0.628 GB, free: 8.797 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.5348, allocations: 157.4 kB / 0.6281 GB, free: 8.664 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.5349, allocations: 73.56 kB / 0.6282 GB, free: 8.602 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.5349, allocations: 4 kB / 0.6282 GB, free: 8.598 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.535, allocations: 329.7 kB / 0.6285 GB, free: 8.277 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.5352, allocations: 66.39 kB / 0.6286 GB, free: 8.223 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.5353, allocations: 92.03 kB / 0.6287 GB, free: 8.141 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.5354, allocations: 78.48 kB / 0.6288 GB, free: 8.074 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5354, allocations: 0 / 0.6288 GB, free: 8.074 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003793/0.5358, allocations: 235.5 kB / 0.629 GB, free: 7.871 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5359, allocations: 4 kB / 0.629 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5359, allocations: 3.984 kB / 0.629 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5359, allocations: 4 kB / 0.629 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.5363, allocations: 87.86 kB / 0.6291 GB, free: 7.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.5376, allocations: 2.387 MB / 0.6314 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.5377, allocations: 30.98 kB / 0.6314 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.5378, allocations: 14.67 kB / 0.6315 GB, free: 5.273 MB / 426.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 () * 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 7.892e-05/0.5379, allocations: 115.2 kB / 0.6316 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.5379, allocations: 19.72 kB / 0.6316 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006005/0.5385, allocations: 333.5 kB / 0.6319 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5385, allocations: 0 / 0.6319 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5385, allocations: 0 / 0.6319 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5385, allocations: 7.984 kB / 0.6319 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.5389, allocations: 308.1 kB / 0.6322 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5389, allocations: 0 / 0.6322 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.5393, allocations: 91.92 kB / 0.6323 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5393, allocations: 4 kB / 0.6323 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.5393, allocations: 11.23 kB / 0.6323 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.5405, allocations: 2.38 MB / 0.6346 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5405, allocations: 0 / 0.6346 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.5409, allocations: 347.2 kB / 0.635 GB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.541, allocations: 135.4 kB / 0.6351 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.5411, allocations: 0 / 0.6351 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.5412, allocations: 15.92 kB / 0.6351 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.5413, allocations: 15.61 kB / 0.6351 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.5413, allocations: 11.98 kB / 0.6351 GB, free: 1.484 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.5415, allocations: 173.3 kB / 0.6353 GB, free: 1.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5415, allocations: 0 / 0.6353 GB, free: 1.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000601/0.5421, allocations: 198.2 kB / 0.6355 GB, free: 1.156 MB / 426.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 (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.00114/0.5432, allocations: 1.05 MB / 0.6365 GB, free: 124 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005699/0.5438, allocations: 218.2 kB / 0.6367 GB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5438, allocations: 0 / 0.6367 GB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.5442, allocations: 140.8 kB / 0.6369 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.5445, allocations: 42.84 kB / 0.6369 GB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009168/0.5454, allocations: 0.5144 MB / 0.6374 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.5458, allocations: 0.7939 MB / 0.6382 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.546, allocations: 85.89 kB / 0.6383 GB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.5461, allocations: 83.52 kB / 0.6383 GB, free: 14.34 MB / 442.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5461, allocations: 0 / 0.6383 GB, free: 14.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.5664, allocations: 8.141 MB / 0.6463 GB, free: 6.457 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.5666, allocations: 223.3 kB / 0.6465 GB, free: 6.234 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.483, allocations: 3.938 kB / 0.6465 GB, free: 6.23 MB / 442.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