Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002471/0.002471, allocations: 180.2 kB / 13.65 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.326/2.326, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.00155/0.00155, allocations: 90.64 kB / 267.5 MB, free: 14.11 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.279/0.279, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.339e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 58.85 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.546/0.662, allocations: 95.04 MB / 0.5657 GB, free: 8.523 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/0.6625, allocations: 94.5 kB / 0.5658 GB, free: 8.469 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.06259/0.7251, allocations: 11.31 MB / 0.5769 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.7251, allocations: 0 / 0.5769 GB, free: 14.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.444e-05/0.7251, allocations: 4 kB / 0.5769 GB, free: 14.75 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.001262/0.7264, allocations: 0.5847 MB / 0.5774 GB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.7265, allocations: 8.031 kB / 0.5774 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.7266, allocations: 75.53 kB / 0.5775 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.464e-05/0.7267, allocations: 35.56 kB / 0.5776 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.7271, allocations: 244 kB / 0.5778 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.7272, allocations: 19.53 kB / 0.5778 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.7272, allocations: 26.98 kB / 0.5778 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.7283, allocations: 443.7 kB / 0.5783 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.7283, allocations: 0 / 0.5783 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.7283, allocations: 9.5 kB / 0.5783 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.403e-05/0.7284, allocations: 44.69 kB / 0.5783 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.7296, allocations: 0.5147 MB / 0.5788 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.7326, allocations: 1.35 MB / 0.5801 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008263/0.7335, allocations: 272.5 kB / 0.5804 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.7337, allocations: 86.12 kB / 0.5805 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-05/0.7338, allocations: 4 kB / 0.5805 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.7339, allocations: 38.31 kB / 0.5805 GB, free: 11.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.935e-06/0.7339, allocations: 0 / 0.5805 GB, free: 11.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.000668/0.7346, allocations: 225.9 kB / 0.5807 GB, free: 11.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.7346, allocations: 59.34 kB / 0.5808 GB, free: 11.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.7348, allocations: 125.3 kB / 0.5809 GB, free: 10.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.7348, allocations: 33.33 kB / 0.5809 GB, free: 10.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.735, allocations: 253.3 kB / 0.5812 GB, free: 10.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.569e-05/0.7351, allocations: 93.61 kB / 0.5813 GB, free: 10.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.7351, allocations: 10.88 kB / 0.5813 GB, free: 10.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7353, allocations: 322 kB / 0.5816 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.7355, allocations: 70.47 kB / 0.5816 GB, free: 10.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.7358, allocations: 162.7 kB / 0.5818 GB, free: 10.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.7361, allocations: 101.4 kB / 0.5819 GB, free: 9.945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7362, allocations: 0 / 0.5819 GB, free: 9.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007707/0.7369, allocations: 291.2 kB / 0.5822 GB, free: 9.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.737, allocations: 4 kB / 0.5822 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.737, allocations: 7.938 kB / 0.5822 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.737, allocations: 8.344 kB / 0.5822 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.7382, allocations: 130.5 kB / 0.5823 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.7399, allocations: 2.366 MB / 0.5846 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.7402, allocations: 38.88 kB / 0.5847 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.7403, allocations: 16.16 kB / 0.5847 GB, free: 7.062 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 () * 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.0001304/0.7404, allocations: 124 kB / 0.5848 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-05/0.7405, allocations: 15.89 kB / 0.5848 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.7417, allocations: 334.9 kB / 0.5851 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.7417, allocations: 0 / 0.5851 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.7417, allocations: 0 / 0.5851 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.7417, allocations: 4 kB / 0.5851 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.7423, allocations: 345.7 kB / 0.5855 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.7423, allocations: 0 / 0.5855 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009601/0.7433, allocations: 123.8 kB / 0.5856 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/0.7433, allocations: 7.984 kB / 0.5856 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.7434, allocations: 11.42 kB / 0.5856 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.7451, allocations: 2.364 MB / 0.5879 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.7451, allocations: 0 / 0.5879 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.7458, allocations: 336.2 kB / 0.5882 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.7459, allocations: 108.7 kB / 0.5883 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.746, allocations: 7.688 kB / 0.5883 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.7462, allocations: 15.39 kB / 0.5884 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.7463, allocations: 23.72 kB / 0.5884 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.7464, allocations: 11.98 kB / 0.5884 GB, free: 3.254 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.17e-05/0.7465, allocations: 106.2 kB / 0.5885 GB, free: 3.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7465, allocations: 0 / 0.5885 GB, free: 3.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008331/0.7473, allocations: 186.2 kB / 0.5887 GB, free: 2.988 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.001533/0.7489, allocations: 1.03 MB / 0.5897 GB, free: 1.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000968/0.7499, allocations: 248.2 kB / 0.5899 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7499, allocations: 0 / 0.5899 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006184/0.7505, allocations: 157.3 kB / 0.5901 GB, free: 1.641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.7508, allocations: 21.77 kB / 0.5901 GB, free: 1.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.7523, allocations: 0.5724 MB / 0.5906 GB, free: 1.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.7529, allocations: 0.8016 MB / 0.5914 GB, free: 240 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.7531, allocations: 92.67 kB / 0.5915 GB, free: 204 kB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7531, allocations: 4 kB / 0.5915 GB, free: 200 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.023/3.777, allocations: 10.03 MB / 0.6013 GB, free: 6.176 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat