Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.0009732/0.0009732, allocations: 175.1 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.5 MB / 230.7 MB, free: 7.523 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.0008338/0.0008337, allocations: 93.86 kB / 281.6 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1818/0.1818, allocations: 44.16 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.096e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1226, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3875/0.5101, allocations: 89.8 MB / 0.5825 GB, free: 6.637 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5105, allocations: 100.6 kB / 0.5826 GB, free: 6.539 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5503:11-5506:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5514:11-5517:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02334/0.5338, allocations: 7.863 MB / 0.5903 GB, free: 14.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5339, allocations: 0 / 0.5903 GB, free: 14.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.5339, allocations: 7.938 kB / 0.5903 GB, free: 14.66 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006221/0.5345, allocations: 453.8 kB / 0.5907 GB, free: 14.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.5346, allocations: 15.98 kB / 0.5907 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006553/0.5352, allocations: 87.67 kB / 0.5908 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.5355, allocations: 226.8 kB / 0.591 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.5355, allocations: 4 kB / 0.591 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.5356, allocations: 15.95 kB / 0.591 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004342/0.536, allocations: 275.8 kB / 0.5913 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.5365, allocations: 261.4 kB / 0.5915 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.5365, allocations: 4 kB / 0.5915 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.5365, allocations: 0 / 0.5915 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.5366, allocations: 19.92 kB / 0.5916 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.538, allocations: 0.7802 MB / 0.5923 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.5383, allocations: 194.4 kB / 0.5925 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.5384, allocations: 68.8 kB / 0.5926 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.5385, allocations: 0 / 0.5926 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.5385, allocations: 34.56 kB / 0.5926 GB, free: 12.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.5385, allocations: 288 / 0.5926 GB, free: 12.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003745/0.5389, allocations: 177.3 kB / 0.5928 GB, free: 11.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.5389, allocations: 51.41 kB / 0.5928 GB, free: 11.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.539, allocations: 125.2 kB / 0.593 GB, free: 11.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.5391, allocations: 29.7 kB / 0.593 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.5392, allocations: 143.8 kB / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.5392, allocations: 31.56 kB / 0.5931 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.5392, allocations: 0 / 0.5931 GB, free: 11.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5393, allocations: 318.8 kB / 0.5935 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.5395, allocations: 63.94 kB / 0.5935 GB, free: 11.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.5396, allocations: 128.2 kB / 0.5936 GB, free: 10.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.5397, allocations: 79.86 kB / 0.5937 GB, free: 10.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5397, allocations: 0 / 0.5937 GB, free: 10.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003517/0.5401, allocations: 225.2 kB / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5401, allocations: 4 kB / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5402, allocations: 0 / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5402, allocations: 4 kB / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.5407, allocations: 83.83 kB / 0.594 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009684/0.5416, allocations: 1.793 MB / 0.5958 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.5418, allocations: 24.14 kB / 0.5958 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.5419, allocations: 19.97 kB / 0.5958 GB, free: 8.648 MB / 410.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 (17): * Single equations (assignments): 14 * 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 0.0001039/0.542, allocations: 101 kB / 0.5959 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003021/0.5423, allocations: 177.4 kB / 0.5961 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.5424, allocations: 7.906 kB / 0.5961 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.5428, allocations: 230 kB / 0.5963 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5428, allocations: 0 / 0.5963 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5428, allocations: 11.98 kB / 0.5963 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5428, allocations: 0 / 0.5963 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.5431, allocations: 218.1 kB / 0.5965 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.5431, allocations: 0 / 0.5965 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.5435, allocations: 67.91 kB / 0.5966 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.5435, allocations: 4 kB / 0.5966 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.5435, allocations: 7.984 kB / 0.5966 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009566/0.5445, allocations: 1.789 MB / 0.5983 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.5445, allocations: 7.891 kB / 0.5983 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.5448, allocations: 271.3 kB / 0.5986 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.5449, allocations: 89 kB / 0.5987 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.5449, allocations: 0 / 0.5987 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.5451, allocations: 11.98 kB / 0.5987 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.5452, allocations: 11.94 kB / 0.5987 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.5452, allocations: 20 kB / 0.5987 GB, free: 5.484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.188e-05/0.5453, allocations: 105.1 kB / 0.5988 GB, free: 5.383 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.244e-06/0.5453, allocations: 0 / 0.5988 GB, free: 5.383 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003968/0.5457, allocations: 71.72 kB / 0.5989 GB, free: 5.312 MB / 410.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 (10): * Single equations (assignments): 7 * 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.000726/0.5465, allocations: 0.8451 MB / 0.5997 GB, free: 4.441 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004959/0.547, allocations: 187.7 kB / 0.5999 GB, free: 4.258 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.547, allocations: 0 / 0.5999 GB, free: 4.258 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.5473, allocations: 99.89 kB / 0.6 GB, free: 4.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.5475, allocations: 8.438 kB / 0.6 GB, free: 4.152 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006855/0.5482, allocations: 302.6 kB / 0.6003 GB, free: 3.812 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.5485, allocations: 0.7392 MB / 0.601 GB, free: 3.047 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002193/0.5488, allocations: 68.89 kB / 0.6011 GB, free: 2.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.5489, allocations: 55.39 kB / 0.6011 GB, free: 2.926 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5489, allocations: 0 / 0.6011 GB, free: 2.926 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.5741, allocations: 3.634 MB / 0.6047 GB, free: 15.32 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/0.5744, allocations: 200.5 kB / 0.6049 GB, free: 15.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.159, allocations: 5.344 kB / 0.6049 GB, free: 15.11 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat