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.001064/0.001064, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009823/0.0009821, allocations: 98.16 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.193/0.193, allocations: 45.16 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.314e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.516, allocations: 103 MB / 0.6051 GB, free: 15.28 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5164, allocations: 102.7 kB / 0.6052 GB, free: 15.22 MB / 410.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.08294/0.5993, allocations: 22.93 MB / 0.6276 GB, free: 11.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5994, allocations: 0 / 0.6276 GB, free: 11.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.574e-05/0.5994, allocations: 4 kB / 0.6276 GB, free: 11.86 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001325/0.6007, allocations: 0.6191 MB / 0.6282 GB, free: 11.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.6008, allocations: 12.03 kB / 0.6282 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.6009, allocations: 31.62 kB / 0.6282 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.6014, allocations: 265.1 kB / 0.6285 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.6014, allocations: 12 kB / 0.6285 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.6014, allocations: 20 kB / 0.6285 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006142/0.6021, allocations: 438.6 kB / 0.6289 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.6028, allocations: 441.5 kB / 0.6293 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.6028, allocations: 0 / 0.6293 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.6028, allocations: 3.953 kB / 0.6293 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.474e-05/0.6029, allocations: 40.55 kB / 0.6294 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.6049, allocations: 1.216 MB / 0.6306 GB, free: 8.961 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.6055, allocations: 343.8 kB / 0.6309 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.6057, allocations: 106.6 kB / 0.631 GB, free: 8.582 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.6058, allocations: 12.41 kB / 0.631 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.6058, allocations: 33.62 kB / 0.631 GB, free: 8.531 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.823e-06/0.6058, allocations: 0 / 0.631 GB, free: 8.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.000522/0.6063, allocations: 267.9 kB / 0.6313 GB, free: 8.301 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.6064, allocations: 67.3 kB / 0.6313 GB, free: 8.223 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.6065, allocations: 163.3 kB / 0.6315 GB, free: 8.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.6066, allocations: 25.7 kB / 0.6315 GB, free: 8.039 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.6067, allocations: 201 kB / 0.6317 GB, free: 7.855 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.6068, allocations: 89.28 kB / 0.6318 GB, free: 7.777 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.6068, allocations: 0 / 0.6318 GB, free: 7.777 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.607, allocations: 332.8 kB / 0.6321 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.6071, allocations: 100.7 kB / 0.6322 GB, free: 7.375 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.6073, allocations: 131.3 kB / 0.6323 GB, free: 7.258 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.6075, allocations: 126.5 kB / 0.6325 GB, free: 7.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6075, allocations: 0 / 0.6325 GB, free: 7.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005045/0.6081, allocations: 316.2 kB / 0.6328 GB, free: 6.887 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6081, allocations: 8 kB / 0.6328 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6081, allocations: 0 / 0.6328 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6081, allocations: 0 / 0.6328 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/0.6088, allocations: 131.8 kB / 0.6329 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.6106, allocations: 3.022 MB / 0.6358 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.6108, allocations: 27.95 kB / 0.6359 GB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.6109, allocations: 19.62 kB / 0.6359 GB, free: 3.602 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 (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.0001109/0.611, allocations: 108.9 kB / 0.636 GB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004051/0.6114, allocations: 267.9 kB / 0.6363 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.6115, allocations: 19.81 kB / 0.6363 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007899/0.6123, allocations: 402.4 kB / 0.6367 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.6123, allocations: 4 kB / 0.6367 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6123, allocations: 0 / 0.6367 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.6123, allocations: 0 / 0.6367 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.6128, allocations: 315 kB / 0.637 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6128, allocations: 0 / 0.637 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.6133, allocations: 115.9 kB / 0.6371 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.6133, allocations: 0 / 0.6371 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.6134, allocations: 14.36 kB / 0.6371 GB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.6151, allocations: 3.011 MB / 0.64 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6151, allocations: 416 / 0.64 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.6156, allocations: 395.5 kB / 0.6404 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.6157, allocations: 104.7 kB / 0.6405 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.6158, allocations: 11.89 kB / 0.6405 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.6159, allocations: 7.984 kB / 0.6405 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.616, allocations: 22.97 kB / 0.6405 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.6161, allocations: 11.98 kB / 0.6406 GB, free: 14.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.6162, allocations: 125.9 kB / 0.6407 GB, free: 14.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6162, allocations: 0 / 0.6407 GB, free: 14.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000969/0.6172, allocations: 228.7 kB / 0.6409 GB, free: 14.5 MB / 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 () * 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.001532/0.6187, allocations: 1.115 MB / 0.642 GB, free: 13.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.6194, allocations: 304 kB / 0.6423 GB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6195, allocations: 0 / 0.6423 GB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004457/0.6199, allocations: 183.9 kB / 0.6424 GB, free: 13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.6202, allocations: 11.86 kB / 0.6425 GB, free: 12.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.6215, allocations: 0.625 MB / 0.6431 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.622, allocations: 0.8447 MB / 0.6439 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000312/0.6223, allocations: 105.8 kB / 0.644 GB, free: 11.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.6225, allocations: 110.9 kB / 0.6441 GB, free: 11.36 MB / 442.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6225, allocations: 4 kB / 0.6441 GB, free: 11.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.6529, allocations: 7.994 MB / 0.6519 GB, free: 3.395 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.6532, allocations: 187.5 kB / 0.6521 GB, free: 3.203 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.591, allocations: 0 / 0.6521 GB, free: 3.203 MB / 442.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