Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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.001048/0.001048, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009059/0.0009059, allocations: 99.41 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1832/0.1832, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.437e-05/2.447e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.09688, allocations: 63.24 MB / 0.5115 GB, free: 6.676 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4562, allocations: 97.29 MB / 0.6065 GB, free: 12.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4565, allocations: 95.44 kB / 0.6066 GB, free: 12.54 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6132:11-6138:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6140:11-6143: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 trunk/Fluid/Dissipation.mo:6146:11-6152:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6154:11-6157:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03354/0.49, allocations: 11.47 MB / 0.6178 GB, free: 2.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4901, allocations: 0 / 0.6178 GB, free: 2.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.4901, allocations: 8 kB / 0.6178 GB, free: 2.656 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00092/0.491, allocations: 0.5779 MB / 0.6183 GB, free: 2.051 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4911, allocations: 15.95 kB / 0.6184 GB, free: 2.035 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.152e-05/0.4912, allocations: 79.58 kB / 0.6184 GB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.4912, allocations: 35.58 kB / 0.6185 GB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.4915, allocations: 241.6 kB / 0.6187 GB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.4916, allocations: 22.47 kB / 0.6187 GB, free: 1.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/0.4916, allocations: 29.73 kB / 0.6188 GB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.4922, allocations: 440.5 kB / 0.6192 GB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4923, allocations: 0 / 0.6192 GB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.4923, allocations: 10.98 kB / 0.6192 GB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.4924, allocations: 44.69 kB / 0.6192 GB, free: 1.262 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.493, allocations: 0.5168 MB / 0.6197 GB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.495, allocations: 1.347 MB / 0.621 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.4956, allocations: 269.9 kB / 0.6213 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.4957, allocations: 81.83 kB / 0.6214 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.4958, allocations: 12.08 kB / 0.6214 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.4958, allocations: 45.86 kB / 0.6214 GB, free: 15.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/0.4958, allocations: 0 / 0.6214 GB, free: 15.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004452/0.4963, allocations: 213.2 kB / 0.6216 GB, free: 15.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.4963, allocations: 59.34 kB / 0.6217 GB, free: 14.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.4964, allocations: 130 kB / 0.6218 GB, free: 14.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.4965, allocations: 33.39 kB / 0.6219 GB, free: 14.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.4966, allocations: 188.7 kB / 0.622 GB, free: 14.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.4967, allocations: 88.98 kB / 0.6221 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.4967, allocations: 7.062 kB / 0.6221 GB, free: 14.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4968, allocations: 326.2 kB / 0.6224 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.497, allocations: 81.14 kB / 0.6225 GB, free: 14.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.4972, allocations: 162.2 kB / 0.6227 GB, free: 13.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.4973, allocations: 97.94 kB / 0.6228 GB, free: 13.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4973, allocations: 4 kB / 0.6228 GB, free: 13.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004477/0.4978, allocations: 287.2 kB / 0.623 GB, free: 13.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4978, allocations: 8.938 kB / 0.623 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4978, allocations: 0 / 0.623 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.4979, allocations: 8 kB / 0.6231 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.4985, allocations: 139.4 kB / 0.6232 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.4998, allocations: 2.361 MB / 0.6255 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.5, allocations: 34.77 kB / 0.6255 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.5, allocations: 19.42 kB / 0.6255 GB, free: 11.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * 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 9.543e-05/0.5001, allocations: 130.6 kB / 0.6257 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.5002, allocations: 15.83 kB / 0.6257 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006622/0.5008, allocations: 333.8 kB / 0.626 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5008, allocations: 4 kB / 0.626 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5009, allocations: 7.922 kB / 0.626 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5009, allocations: 0 / 0.626 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003688/0.5012, allocations: 350.8 kB / 0.6264 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5012, allocations: 0 / 0.6264 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.5018, allocations: 119.8 kB / 0.6265 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.5018, allocations: 4 kB / 0.6265 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.5018, allocations: 7.875 kB / 0.6265 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.5029, allocations: 2.362 MB / 0.6288 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5029, allocations: 0 / 0.6288 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.5033, allocations: 343.2 kB / 0.6291 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.5034, allocations: 100.8 kB / 0.6292 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.5034, allocations: 4 kB / 0.6292 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.5036, allocations: 23.12 kB / 0.6292 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.5036, allocations: 19.97 kB / 0.6293 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.5037, allocations: 15.92 kB / 0.6293 GB, free: 7.203 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.4e-05/0.5037, allocations: 92.66 kB / 0.6294 GB, free: 7.117 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5037, allocations: 0 / 0.6294 GB, free: 7.117 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005854/0.5043, allocations: 197.2 kB / 0.6295 GB, free: 6.938 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 (29): * Single equations (assignments): 25 * 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.00107/0.5054, allocations: 1.047 MB / 0.6306 GB, free: 5.914 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005589/0.506, allocations: 254.3 kB / 0.6308 GB, free: 5.699 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.506, allocations: 0 / 0.6308 GB, free: 5.699 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.5063, allocations: 153.5 kB / 0.631 GB, free: 5.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.5065, allocations: 8.203 kB / 0.631 GB, free: 5.566 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.5076, allocations: 0.5614 MB / 0.6315 GB, free: 5.012 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.508, allocations: 0.8088 MB / 0.6323 GB, free: 4.184 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003002/0.5083, allocations: 97.86 kB / 0.6324 GB, free: 4.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.5084, allocations: 92.08 kB / 0.6325 GB, free: 4.055 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5084, allocations: 4 kB / 0.6325 GB, free: 4.051 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.5286, allocations: 6.805 MB / 0.6391 GB, free: 13.49 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.5289, allocations: 238.9 kB / 0.6394 GB, free: 13.21 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.266, allocations: 3.438 kB / 0.6394 GB, free: 13.21 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat