Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 182.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008404/0.0008407, allocations: 90.66 kB / 267 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4038/0.4038, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.783e-05, allocations: 0 / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.561, allocations: 97.96 MB / 0.5686 GB, free: 7.629 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/0.5615, allocations: 98.31 kB / 0.5687 GB, free: 7.574 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4809:11-4812: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 3.2.3+maint.om/Fluid/Dissipation.mo:4822:11-4825: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.04433/0.6058, allocations: 15.18 MB / 0.5835 GB, free: 10.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6058, allocations: 0 / 0.5835 GB, free: 10.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.6059, allocations: 8 kB / 0.5835 GB, free: 10.48 MB / 410.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.0009059/0.6068, allocations: 0.5531 MB / 0.5841 GB, free: 9.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.6068, allocations: 12.03 kB / 0.5841 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.644e-05/0.6069, allocations: 59.86 kB / 0.5841 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.607, allocations: 31.62 kB / 0.5842 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.6073, allocations: 234.9 kB / 0.5844 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.6073, allocations: 27.17 kB / 0.5844 GB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.6073, allocations: 19.5 kB / 0.5844 GB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.6079, allocations: 352.6 kB / 0.5848 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.6079, allocations: 0 / 0.5848 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.6079, allocations: 11.69 kB / 0.5848 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.453e-05/0.608, allocations: 28.75 kB / 0.5848 GB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.6085, allocations: 366 kB / 0.5851 GB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.61, allocations: 1.043 MB / 0.5862 GB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.6105, allocations: 270.1 kB / 0.5864 GB, free: 7.684 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.6106, allocations: 82.45 kB / 0.5865 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.6107, allocations: 12.23 kB / 0.5865 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.6107, allocations: 34.75 kB / 0.5865 GB, free: 7.566 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.154e-06/0.6107, allocations: 0 / 0.5865 GB, free: 7.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000442/0.6112, allocations: 215.2 kB / 0.5868 GB, free: 7.383 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.6112, allocations: 59.41 kB / 0.5868 GB, free: 7.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.6114, allocations: 201 kB / 0.587 GB, free: 7.133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.6115, allocations: 29.64 kB / 0.587 GB, free: 7.098 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.6116, allocations: 158.5 kB / 0.5872 GB, free: 6.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.6116, allocations: 67.17 kB / 0.5872 GB, free: 6.902 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.6117, allocations: 3.312 kB / 0.5872 GB, free: 6.902 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6118, allocations: 335.6 kB / 0.5876 GB, free: 6.574 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.6119, allocations: 59.66 kB / 0.5876 GB, free: 6.527 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.612, allocations: 97.72 kB / 0.5877 GB, free: 6.438 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.6122, allocations: 78.44 kB / 0.5878 GB, free: 6.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6122, allocations: 0 / 0.5878 GB, free: 6.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003771/0.6126, allocations: 230.3 kB / 0.588 GB, free: 6.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.6126, allocations: 11.98 kB / 0.588 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6126, allocations: 0 / 0.588 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.6126, allocations: 8 kB / 0.588 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.6131, allocations: 91.86 kB / 0.5881 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.6144, allocations: 2.377 MB / 0.5904 GB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.6146, allocations: 35.33 kB / 0.5905 GB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.6146, allocations: 8 kB / 0.5905 GB, free: 3.578 MB / 410.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 0.000106/0.6148, allocations: 124.5 kB / 0.5906 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.6148, allocations: 19.72 kB / 0.5906 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006731/0.6155, allocations: 328.8 kB / 0.5909 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6155, allocations: 4 kB / 0.5909 GB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6155, allocations: 0 / 0.5909 GB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.6155, allocations: 4 kB / 0.5909 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.6159, allocations: 317.4 kB / 0.5912 GB, free: 2.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.616, allocations: 0 / 0.5912 GB, free: 2.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/0.6164, allocations: 91.91 kB / 0.5913 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.6164, allocations: 4 kB / 0.5913 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.6164, allocations: 7.625 kB / 0.5913 GB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.6177, allocations: 2.385 MB / 0.5937 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6177, allocations: 4.844 kB / 0.5937 GB, free: 280 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.6182, allocations: 342.9 kB / 0.594 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.6183, allocations: 128.2 kB / 0.5941 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.6184, allocations: 11.5 kB / 0.5941 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.6185, allocations: 15.61 kB / 0.5942 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/0.6186, allocations: 19.41 kB / 0.5942 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.6186, allocations: 8 kB / 0.5942 GB, free: 15.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.6188, allocations: 174.7 kB / 0.5943 GB, free: 15.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6188, allocations: 0 / 0.5943 GB, free: 15.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006264/0.6194, allocations: 185.6 kB / 0.5945 GB, free: 15.46 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.001167/0.6206, allocations: 1.027 MB / 0.5955 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006224/0.6212, allocations: 214.6 kB / 0.5957 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6213, allocations: 0 / 0.5957 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.6216, allocations: 151 kB / 0.5959 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.622, allocations: 31.58 kB / 0.5959 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009987/0.623, allocations: 0.5077 MB / 0.5964 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.6233, allocations: 0.7978 MB / 0.5972 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000249/0.6236, allocations: 85.89 kB / 0.5973 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.6237, allocations: 79.53 kB / 0.5973 GB, free: 12.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6237, allocations: 0 / 0.5973 GB, free: 12.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.6454, allocations: 8.029 MB / 0.6052 GB, free: 4.742 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.6457, allocations: 221.4 kB / 0.6054 GB, free: 4.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.655, allocations: 4.062 kB / 0.6054 GB, free: 4.516 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat