Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001371/0.001371, allocations: 182.8 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.551/1.551, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008643/0.0008645, allocations: 91.09 kB / 267 MB, free: 9.281 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.4805/0.4805, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.212e-05, allocations: 3.984 kB / 425.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1563, allocations: 58.85 MB / 484.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.5882, allocations: 88.79 MB / 0.5596 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.5885, allocations: 96.53 kB / 0.5597 GB, free: 15.59 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01158/0.6001, allocations: 4.256 MB / 0.5639 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.6002, allocations: 0 / 0.5639 GB, free: 13.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.6002, allocations: 8 kB / 0.5639 GB, free: 13.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000384/0.6006, allocations: 434.1 kB / 0.5643 GB, free: 12.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.6006, allocations: 8.031 kB / 0.5643 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.6007, allocations: 60.16 kB / 0.5644 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000628/0.6013, allocations: 105.8 kB / 0.5645 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.6015, allocations: 208.7 kB / 0.5647 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.6015, allocations: 16.92 kB / 0.5647 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.6016, allocations: 15.11 kB / 0.5647 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.6019, allocations: 220.4 kB / 0.5649 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.6019, allocations: 3.984 kB / 0.5649 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.6019, allocations: 4.625 kB / 0.5649 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.602, allocations: 16 kB / 0.5649 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.6022, allocations: 193.2 kB / 0.5651 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008948/0.6031, allocations: 0.7497 MB / 0.5659 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.6032, allocations: 80.59 kB / 0.5659 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/0.6033, allocations: 31.72 kB / 0.566 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.6033, allocations: 0 / 0.566 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.6033, allocations: 34.56 kB / 0.566 GB, free: 10.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.6033, allocations: 0 / 0.566 GB, free: 10.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002246/0.6036, allocations: 99.8 kB / 0.5661 GB, free: 10.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.6036, allocations: 55.41 kB / 0.5661 GB, free: 10.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.6037, allocations: 173.6 kB / 0.5663 GB, free: 10.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.6038, allocations: 25.7 kB / 0.5663 GB, free: 10.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.6038, allocations: 140 kB / 0.5665 GB, free: 10.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.6038, allocations: 27.73 kB / 0.5665 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.6038, allocations: 0 / 0.5665 GB, free: 10.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.6039, allocations: 329 kB / 0.5668 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.604, allocations: 31.28 kB / 0.5668 GB, free: 10.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.124e-05/0.6041, allocations: 88.47 kB / 0.5669 GB, free: 9.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/0.6041, allocations: 54.64 kB / 0.567 GB, free: 9.898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6041, allocations: 1.312 kB / 0.567 GB, free: 9.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002043/0.6044, allocations: 165.8 kB / 0.5671 GB, free: 9.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.6044, allocations: 8 kB / 0.5671 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.6044, allocations: 0 / 0.5671 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6044, allocations: 4 kB / 0.5671 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.6052, allocations: 112 kB / 0.5672 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009122/0.6061, allocations: 1.819 MB / 0.569 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.6063, allocations: 19.84 kB / 0.569 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.6063, allocations: 10.73 kB / 0.5691 GB, free: 7.727 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.048e-05/0.6064, allocations: 120 kB / 0.5692 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.6065, allocations: 11.86 kB / 0.5692 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.6067, allocations: 162.3 kB / 0.5693 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6068, allocations: 0 / 0.5693 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6068, allocations: 0 / 0.5693 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6068, allocations: 0 / 0.5693 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.607, allocations: 227.1 kB / 0.5696 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.607, allocations: 0 / 0.5696 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/0.6076, allocations: 99.88 kB / 0.5696 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.6076, allocations: 7.891 kB / 0.5697 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.6077, allocations: 3.125 kB / 0.5697 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006531/0.6083, allocations: 1.774 MB / 0.5714 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6083, allocations: 0.9375 kB / 0.5714 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.6085, allocations: 223 kB / 0.5716 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.6086, allocations: 88.95 kB / 0.5717 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.6086, allocations: 11.95 kB / 0.5717 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.6087, allocations: 16.08 kB / 0.5717 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.6088, allocations: 7.547 kB / 0.5717 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.6088, allocations: 4 kB / 0.5717 GB, free: 4.918 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.513e-05/0.6089, allocations: 135.1 kB / 0.5719 GB, free: 4.801 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6089, allocations: 0 / 0.5719 GB, free: 4.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.6092, allocations: 50.78 kB / 0.5719 GB, free: 4.758 MB / 394.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004547/0.6097, allocations: 0.7843 MB / 0.5727 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008554/0.6105, allocations: 161.8 kB / 0.5728 GB, free: 3.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6106, allocations: 4 kB / 0.5728 GB, free: 3.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.6111, allocations: 90.66 kB / 0.5729 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.6114, allocations: 37.98 kB / 0.5729 GB, free: 3.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.6119, allocations: 282.6 kB / 0.5732 GB, free: 3.422 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.6121, allocations: 0.7392 MB / 0.5739 GB, free: 2.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.6122, allocations: 41.11 kB / 0.574 GB, free: 2.621 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.6123, allocations: 42.48 kB / 0.574 GB, free: 2.602 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6123, allocations: 0 / 0.574 GB, free: 2.602 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.6293, allocations: 4.977 MB / 0.5789 GB, free: 13.73 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/0.6296, allocations: 240.4 kB / 0.5791 GB, free: 13.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.397, allocations: 0 / 0.5791 GB, free: 13.42 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat