Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.001466/0.001466, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.359/1.359, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.0009478, allocations: 93.86 kB / 292.1 MB, free: 10.91 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.3899/0.3899, allocations: 44.22 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003315, allocations: 12 kB / 460 MB, free: 1.398 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.354, allocations: 61.9 MB / 0.5097 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4832, allocations: 91.23 MB / 0.5988 GB, free: 3.859 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004119/0.4836, allocations: 107.9 kB / 0.5989 GB, free: 3.762 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5884:11-5887:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5889:11-5892:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5895:11-5898:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5900:11-5903:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01477/0.4984, allocations: 3.603 MB / 0.6024 GB, free: 140 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4985, allocations: 3.938 kB / 0.6024 GB, free: 136 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.4985, allocations: 4 kB / 0.6024 GB, free: 132 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008051/0.4993, allocations: 404.3 kB / 0.6028 GB, free: 15.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.475e-05/0.4994, allocations: 20.02 kB / 0.6028 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.418e-05/0.4995, allocations: 42.55 kB / 0.6028 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.4998, allocations: 43.84 kB / 0.6029 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.5001, allocations: 186.8 kB / 0.603 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.5002, allocations: 8 kB / 0.6031 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.5002, allocations: 11.95 kB / 0.6031 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.5007, allocations: 181.2 kB / 0.6032 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.5008, allocations: 0 / 0.6032 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.5008, allocations: 11.98 kB / 0.6033 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.5009, allocations: 7.984 kB / 0.6033 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.5013, allocations: 147.8 kB / 0.6034 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.5027, allocations: 0.6371 MB / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.5032, allocations: 122.6 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.5032, allocations: 3.953 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.5033, allocations: 30.56 kB / 0.6042 GB, free: 14.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.5033, allocations: 0 / 0.6042 GB, free: 14.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006608/0.504, allocations: 153.5 kB / 0.6043 GB, free: 13.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.504, allocations: 55.41 kB / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.5042, allocations: 114.8 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.5043, allocations: 33.64 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.5044, allocations: 128 kB / 0.6046 GB, free: 13.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.5045, allocations: 23.66 kB / 0.6047 GB, free: 13.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.5045, allocations: 4 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.5047, allocations: 318.8 kB / 0.605 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.5049, allocations: 39.97 kB / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.5051, allocations: 101.9 kB / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.5054, allocations: 55.91 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.5054, allocations: 4 kB / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005151/0.5059, allocations: 169.3 kB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.5059, allocations: 7.953 kB / 0.6053 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.506, allocations: 8 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.506, allocations: 4 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.5063, allocations: 35.98 kB / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/0.5063, allocations: 7.984 kB / 0.6054 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.5065, allocations: 28.03 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.5065, allocations: 7.938 kB / 0.6054 GB, free: 12.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.5067, allocations: 126.4 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.5067, allocations: 7.906 kB / 0.6055 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.5072, allocations: 145.9 kB / 0.6057 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5072, allocations: 0 / 0.6057 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5073, allocations: 4 kB / 0.6057 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5073, allocations: 0 / 0.6057 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.5076, allocations: 197.6 kB / 0.6059 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5076, allocations: 0 / 0.6059 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.5078, allocations: 31.98 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5079, allocations: 0 / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.5079, allocations: 4 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.5079, allocations: 3.953 kB / 0.6059 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5079, allocations: 0 / 0.6059 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.5084, allocations: 227.8 kB / 0.6061 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.5084, allocations: 85.02 kB / 0.6062 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.5085, allocations: 0 / 0.6062 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.5086, allocations: 7.984 kB / 0.6062 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.5087, allocations: 11.94 kB / 0.6062 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.5088, allocations: 8 kB / 0.6062 GB, free: 11.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.866e-05/0.5088, allocations: 96.08 kB / 0.6063 GB, free: 11.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5089, allocations: 4 kB / 0.6063 GB, free: 11.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005163/0.5094, allocations: 24 kB / 0.6064 GB, free: 11.68 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009179/0.5103, allocations: 0.7719 MB / 0.6071 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.5108, allocations: 116.3 kB / 0.6072 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5108, allocations: 0 / 0.6072 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.511, allocations: 43.91 kB / 0.6073 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.5112, allocations: 14.39 kB / 0.6073 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.5138, allocations: 1.962 MB / 0.6092 GB, free: 8.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.5143, allocations: 0.7121 MB / 0.6099 GB, free: 7.922 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.5145, allocations: 32.52 kB / 0.6099 GB, free: 7.891 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.5146, allocations: 27.44 kB / 0.6099 GB, free: 7.863 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5146, allocations: 0 / 0.6099 GB, free: 7.863 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.5328, allocations: 2.338 MB / 0.6122 GB, free: 5.738 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/0.5332, allocations: 225.4 kB / 0.6124 GB, free: 5.504 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.162, allocations: 0 / 0.6124 GB, free: 5.504 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat