Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 185.9 kB / 15.76 MB, free: 6.363 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.578/1.578, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.000823/0.000823, allocations: 86.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2287/0.2287, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003882, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 58.85 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4472/0.5916, allocations: 95.13 MB / 0.5718 GB, free: 4.648 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004488/0.5921, allocations: 98.91 kB / 0.5719 GB, free: 4.594 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6216:11-6222: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 3.2.3+maint.om/Fluid/Dissipation.mo:6224:11-6227: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:6230:11-6236: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 3.2.3+maint.om/Fluid/Dissipation.mo:6238:11-6241: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.03614/0.6282, allocations: 11.34 MB / 0.5829 GB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6283, allocations: 0 / 0.5829 GB, free: 10.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.6283, allocations: 4 kB / 0.5829 GB, free: 10.84 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001042/0.6294, allocations: 0.5808 MB / 0.5835 GB, free: 10.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.6294, allocations: 12.02 kB / 0.5835 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.584e-05/0.6295, allocations: 81.64 kB / 0.5836 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.6296, allocations: 31.58 kB / 0.5836 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.6299, allocations: 241.9 kB / 0.5839 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.63, allocations: 20.28 kB / 0.5839 GB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.63, allocations: 27.69 kB / 0.5839 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008639/0.6309, allocations: 468.3 kB / 0.5844 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.6309, allocations: 3.938 kB / 0.5844 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.631, allocations: 19.78 kB / 0.5844 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.377e-05/0.631, allocations: 36.97 kB / 0.5844 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/0.6319, allocations: 0.5599 MB / 0.585 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.634, allocations: 1.343 MB / 0.5863 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.6346, allocations: 300.4 kB / 0.5866 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.6347, allocations: 12.36 kB / 0.5866 GB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.6347, allocations: 30.56 kB / 0.5866 GB, free: 7.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.976e-06/0.6347, allocations: 0 / 0.5866 GB, free: 7.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008043/0.6355, allocations: 343.2 kB / 0.5869 GB, free: 7.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.6356, allocations: 55.41 kB / 0.587 GB, free: 7.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.6357, allocations: 129.2 kB / 0.5871 GB, free: 6.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.6358, allocations: 33.5 kB / 0.5871 GB, free: 6.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.6359, allocations: 187.2 kB / 0.5873 GB, free: 6.695 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/0.636, allocations: 94.36 kB / 0.5874 GB, free: 6.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.636, allocations: 7.812 kB / 0.5874 GB, free: 6.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.6362, allocations: 326.4 kB / 0.5877 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.6364, allocations: 91.3 kB / 0.5878 GB, free: 6.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.6367, allocations: 177.2 kB / 0.588 GB, free: 6.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.637, allocations: 119 kB / 0.5881 GB, free: 5.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.637, allocations: 3.953 kB / 0.5881 GB, free: 5.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005771/0.6376, allocations: 328.5 kB / 0.5884 GB, free: 5.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.6376, allocations: 11.44 kB / 0.5884 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.6376, allocations: 4.344 kB / 0.5884 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.6376, allocations: 11.94 kB / 0.5884 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.6382, allocations: 131.8 kB / 0.5886 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.6397, allocations: 2.358 MB / 0.5909 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.6399, allocations: 43.66 kB / 0.5909 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.6399, allocations: 15.56 kB / 0.5909 GB, free: 3.016 MB / 394.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 () * Number of clocked 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 0.0002046/0.6401, allocations: 176.3 kB / 0.5911 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.6402, allocations: 15.81 kB / 0.5911 GB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008995/0.6411, allocations: 382.9 kB / 0.5915 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.6411, allocations: 4 kB / 0.5915 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6411, allocations: 4 kB / 0.5915 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.6411, allocations: 3.984 kB / 0.5915 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.6416, allocations: 346.5 kB / 0.5918 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6416, allocations: 0 / 0.5918 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.6421, allocations: 115.7 kB / 0.5919 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.6421, allocations: 0 / 0.5919 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.6421, allocations: 11.11 kB / 0.5919 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.6435, allocations: 2.368 MB / 0.5942 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6435, allocations: 0 / 0.5942 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.644, allocations: 375.7 kB / 0.5946 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.6441, allocations: 92.86 kB / 0.5947 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.6442, allocations: 7.562 kB / 0.5947 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.6443, allocations: 18.92 kB / 0.5947 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.6444, allocations: 26.48 kB / 0.5947 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.6444, allocations: 10.88 kB / 0.5947 GB, free: 15.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.63e-05/0.6445, allocations: 103 kB / 0.5948 GB, free: 15.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6445, allocations: 4 kB / 0.5949 GB, free: 15.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007854/0.6453, allocations: 189.3 kB / 0.595 GB, free: 14.83 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 () * Number of clocked 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.001285/0.6466, allocations: 1.065 MB / 0.5961 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007402/0.6473, allocations: 298.9 kB / 0.5964 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6474, allocations: 0 / 0.5964 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.6478, allocations: 175.4 kB / 0.5965 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.648, allocations: 14.89 kB / 0.5965 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/0.6514, allocations: 3.146 MB / 0.5996 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.652, allocations: 0.8054 MB / 0.6004 GB, free: 9.441 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003625/0.6524, allocations: 101.7 kB / 0.6005 GB, free: 9.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.6526, allocations: 97.39 kB / 0.6006 GB, free: 9.301 MB / 410.7 MB Notification: Performance of SimCode: time 1.814e-06/0.6526, allocations: 0 / 0.6006 GB, free: 9.301 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.6749, allocations: 6.625 MB / 0.6071 GB, free: 2.742 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/0.6753, allocations: 260 kB / 0.6073 GB, free: 2.383 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.599, allocations: 12 kB / 0.6073 GB, free: 2.371 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat