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.00131/0.00131, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 94.28 kB / 261.8 MB, free: 1.684 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.2417/0.2417, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.568e-05/1.57e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1366, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5139/0.6505, allocations: 94.37 MB / 0.5582 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.6509, allocations: 98.7 kB / 0.5583 GB, free: 0.7422 MB / 362.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.0353/0.6862, allocations: 11.23 MB / 0.5693 GB, free: 7.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6862, allocations: 4 kB / 0.5693 GB, free: 7.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.6863, allocations: 4 kB / 0.5693 GB, free: 7.285 MB / 378.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.001095/0.6874, allocations: 0.5804 MB / 0.5698 GB, free: 6.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.6874, allocations: 8.031 kB / 0.5698 GB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.6875, allocations: 35.58 kB / 0.5699 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.6879, allocations: 240.9 kB / 0.5701 GB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.6879, allocations: 8 kB / 0.5701 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.688, allocations: 24 kB / 0.5701 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006241/0.6886, allocations: 399.3 kB / 0.5705 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.6892, allocations: 398.5 kB / 0.5709 GB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.6893, allocations: 0 / 0.5709 GB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.6893, allocations: 0 / 0.5709 GB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.995e-05/0.6894, allocations: 39.94 kB / 0.5709 GB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.6913, allocations: 1.269 MB / 0.5722 GB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.6918, allocations: 259.9 kB / 0.5724 GB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.692, allocations: 75.52 kB / 0.5725 GB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.692, allocations: 8.375 kB / 0.5725 GB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.692, allocations: 38.5 kB / 0.5725 GB, free: 4.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.692, allocations: 4 kB / 0.5725 GB, free: 4.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004089/0.6925, allocations: 210.4 kB / 0.5727 GB, free: 3.969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.6925, allocations: 55.41 kB / 0.5728 GB, free: 3.902 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.6926, allocations: 122.5 kB / 0.5729 GB, free: 3.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.6927, allocations: 29.64 kB / 0.5729 GB, free: 3.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.6928, allocations: 187.6 kB / 0.5731 GB, free: 3.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.6929, allocations: 82.62 kB / 0.5732 GB, free: 3.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.6929, allocations: 0 / 0.5732 GB, free: 3.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6931, allocations: 334.5 kB / 0.5735 GB, free: 3.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.6932, allocations: 71.08 kB / 0.5736 GB, free: 3.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.6934, allocations: 148.6 kB / 0.5737 GB, free: 2.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.6935, allocations: 98.89 kB / 0.5738 GB, free: 2.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6935, allocations: 4 kB / 0.5738 GB, free: 2.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003879/0.6939, allocations: 267.1 kB / 0.5741 GB, free: 2.633 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6939, allocations: 8 kB / 0.5741 GB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6939, allocations: 4 kB / 0.5741 GB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.694, allocations: 4 kB / 0.5741 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.6945, allocations: 128 kB / 0.5742 GB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.6961, allocations: 2.37 MB / 0.5765 GB, free: 48 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.6963, allocations: 31.67 kB / 0.5766 GB, free: 16 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.6963, allocations: 19.86 kB / 0.5766 GB, free: 0 / 378.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 0.0001409/0.6965, allocations: 112.9 kB / 0.5767 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003566/0.6968, allocations: 208 kB / 0.5769 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.6969, allocations: 19.98 kB / 0.5769 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/0.6975, allocations: 315.9 kB / 0.5772 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6975, allocations: 8 kB / 0.5772 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.6975, allocations: 0 / 0.5772 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6975, allocations: 0 / 0.5772 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.6979, allocations: 276.7 kB / 0.5775 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6979, allocations: 0 / 0.5775 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.6984, allocations: 115.6 kB / 0.5776 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.6984, allocations: 0 / 0.5776 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.6985, allocations: 4 kB / 0.5776 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.6999, allocations: 2.37 MB / 0.5799 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6999, allocations: 0 / 0.5799 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.7003, allocations: 329.7 kB / 0.5802 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.7004, allocations: 92.86 kB / 0.5803 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.7004, allocations: 3.938 kB / 0.5803 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.7006, allocations: 20.02 kB / 0.5803 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-05/0.7007, allocations: 19.92 kB / 0.5803 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.7007, allocations: 15.92 kB / 0.5804 GB, free: 12.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.395e-05/0.7008, allocations: 96.84 kB / 0.5805 GB, free: 12.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7008, allocations: 0 / 0.5805 GB, free: 12.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007666/0.7016, allocations: 183.3 kB / 0.5806 GB, free: 11.84 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 (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.001155/0.7027, allocations: 1.008 MB / 0.5816 GB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005568/0.7033, allocations: 238.9 kB / 0.5818 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7033, allocations: 0 / 0.5818 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.7036, allocations: 139.4 kB / 0.582 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.7039, allocations: 11.83 kB / 0.582 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.7049, allocations: 0.5136 MB / 0.5825 GB, free: 9.984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.7054, allocations: 0.8097 MB / 0.5833 GB, free: 9.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003203/0.7057, allocations: 101.8 kB / 0.5834 GB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.7058, allocations: 89.02 kB / 0.5835 GB, free: 9.023 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.7058, allocations: 0 / 0.5835 GB, free: 9.023 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.743, allocations: 6.095 MB / 0.5894 GB, free: 2.934 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.7434, allocations: 200.3 kB / 0.5896 GB, free: 2.734 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.651, allocations: 0 / 0.5896 GB, free: 2.734 MB / 394.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