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_curvedOverall_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_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.389/1.389, allocations: 221.3 MB / 236 MB, free: 2.969 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.001095/0.001095, allocations: 87.86 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1971/0.1971, allocations: 44.15 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.778e-05, allocations: 4.203 kB / 452 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1256, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.574, allocations: 102.6 MB / 0.602 GB, free: 2.617 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.5744, allocations: 95.94 kB / 0.6021 GB, free: 2.523 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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.07113/0.6455, allocations: 22.99 MB / 0.6246 GB, free: 11.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.6456, allocations: 0 / 0.6246 GB, free: 11.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.6456, allocations: 4 kB / 0.6246 GB, free: 11.39 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001051/0.6466, allocations: 0.6151 MB / 0.6252 GB, free: 10.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6467, allocations: 8.031 kB / 0.6252 GB, free: 10.72 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.967e-05/0.6468, allocations: 82.52 kB / 0.6253 GB, free: 10.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.6469, allocations: 31.62 kB / 0.6253 GB, free: 10.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.6472, allocations: 274.5 kB / 0.6255 GB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.6473, allocations: 24.78 kB / 0.6256 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.6473, allocations: 31.98 kB / 0.6256 GB, free: 10.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.648, allocations: 480.8 kB / 0.6261 GB, free: 9.766 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.648, allocations: 3.938 kB / 0.6261 GB, free: 9.762 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.6481, allocations: 15.98 kB / 0.6261 GB, free: 9.746 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.357e-05/0.6482, allocations: 44.97 kB / 0.6261 GB, free: 9.699 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006439/0.6488, allocations: 0.4919 MB / 0.6266 GB, free: 9.211 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.6508, allocations: 1.337 MB / 0.6279 GB, free: 7.758 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/0.6515, allocations: 360.6 kB / 0.6283 GB, free: 7.395 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.6517, allocations: 108.8 kB / 0.6284 GB, free: 7.285 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-05/0.6518, allocations: 12.42 kB / 0.6284 GB, free: 7.273 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.6518, allocations: 34.59 kB / 0.6284 GB, free: 7.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.6518, allocations: 0 / 0.6284 GB, free: 7.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006077/0.6524, allocations: 281.2 kB / 0.6287 GB, free: 6.949 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.6525, allocations: 55.34 kB / 0.6287 GB, free: 6.883 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.6529, allocations: 283 kB / 0.629 GB, free: 6.598 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.6529, allocations: 29.7 kB / 0.629 GB, free: 6.559 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.6531, allocations: 203.8 kB / 0.6292 GB, free: 6.355 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.6532, allocations: 90.66 kB / 0.6293 GB, free: 6.266 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.6532, allocations: 4 kB / 0.6293 GB, free: 6.262 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6534, allocations: 342.8 kB / 0.6296 GB, free: 5.918 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.6536, allocations: 103.9 kB / 0.6297 GB, free: 5.816 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.6538, allocations: 146.8 kB / 0.6299 GB, free: 5.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.6541, allocations: 129.2 kB / 0.63 GB, free: 5.535 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6541, allocations: 0 / 0.63 GB, free: 5.535 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005786/0.6547, allocations: 339.3 kB / 0.6303 GB, free: 5.199 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.6547, allocations: 8.938 kB / 0.6303 GB, free: 5.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6547, allocations: 0 / 0.6303 GB, free: 5.191 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.6547, allocations: 4 kB / 0.6303 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.6553, allocations: 127.9 kB / 0.6305 GB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.6571, allocations: 3 MB / 0.6334 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.6574, allocations: 51.55 kB / 0.6334 GB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.6575, allocations: 20.27 kB / 0.6334 GB, free: 1.875 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 () * 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.0001147/0.6576, allocations: 120.8 kB / 0.6336 GB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.6576, allocations: 27.72 kB / 0.6336 GB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008642/0.6585, allocations: 430.8 kB / 0.634 GB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.6585, allocations: 4 kB / 0.634 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6585, allocations: 0 / 0.634 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.6585, allocations: 0 / 0.634 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.659, allocations: 381.2 kB / 0.6344 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6591, allocations: 3.953 kB / 0.6344 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.6596, allocations: 111.8 kB / 0.6345 GB, free: 0.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.6596, allocations: 8 kB / 0.6345 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.6596, allocations: 11.98 kB / 0.6345 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.6612, allocations: 3.008 MB / 0.6374 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6612, allocations: 0 / 0.6374 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/0.6618, allocations: 415.3 kB / 0.6378 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-05/0.6619, allocations: 108.7 kB / 0.6379 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.6619, allocations: 4 kB / 0.6379 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.6621, allocations: 19.98 kB / 0.638 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.6622, allocations: 27.92 kB / 0.638 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.6622, allocations: 11.98 kB / 0.638 GB, free: 13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000223/0.6625, allocations: 223.1 kB / 0.6382 GB, free: 12.78 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6625, allocations: 4 kB / 0.6382 GB, free: 12.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000803/0.6633, allocations: 207.6 kB / 0.6384 GB, free: 12.57 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 () * 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.001345/0.6646, allocations: 1.133 MB / 0.6395 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007991/0.6655, allocations: 323.9 kB / 0.6398 GB, free: 11.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6655, allocations: 0 / 0.6398 GB, free: 11.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.666, allocations: 183.9 kB / 0.64 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.6663, allocations: 69 kB / 0.6401 GB, free: 10.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.6676, allocations: 0.6467 MB / 0.6407 GB, free: 10.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.668, allocations: 0.8419 MB / 0.6415 GB, free: 9.297 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003316/0.6683, allocations: 134.6 kB / 0.6416 GB, free: 9.164 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.6685, allocations: 108.7 kB / 0.6418 GB, free: 9.059 MB / 458.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6685, allocations: 0 / 0.6418 GB, free: 9.059 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.6944, allocations: 10.44 MB / 0.652 GB, free: 14.86 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.6946, allocations: 227 kB / 0.6522 GB, free: 14.63 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/2.916, allocations: 0 / 0.6522 GB, free: 14.63 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat