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.001523/0.001522, allocations: 169.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009659/0.0009662, allocations: 96.73 kB / 281.6 MB, free: 5.32 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.1877/0.1877, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.878e-05, allocations: 3.938 kB / 444.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 61.92 MB / 0.4948 GB, free: 1.129 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/0.4975, allocations: 90.49 MB / 0.5832 GB, free: 5.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.4979, allocations: 99.92 kB / 0.5833 GB, free: 5.84 MB / 394.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.01081/0.5087, allocations: 3.546 MB / 0.5867 GB, free: 2.289 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5088, allocations: 4 kB / 0.5867 GB, free: 2.285 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.5088, allocations: 0 / 0.5867 GB, free: 2.285 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004741/0.5092, allocations: 394.2 kB / 0.5871 GB, free: 1.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5093, allocations: 16.92 kB / 0.5871 GB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.5096, allocations: 39.86 kB / 0.5872 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.5098, allocations: 190.9 kB / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.5098, allocations: 3.938 kB / 0.5873 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.5098, allocations: 11.95 kB / 0.5874 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001963/0.51, allocations: 87.95 kB / 0.5874 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.5103, allocations: 152.1 kB / 0.5876 GB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5103, allocations: 0 / 0.5876 GB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.5103, allocations: 0 / 0.5876 GB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.5103, allocations: 11.98 kB / 0.5876 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008713/0.5112, allocations: 0.619 MB / 0.5882 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.5115, allocations: 90.7 kB / 0.5883 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.904e-05/0.5116, allocations: 28.78 kB / 0.5883 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.5116, allocations: 4.156 kB / 0.5883 GB, free: 500 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.5116, allocations: 42.5 kB / 0.5884 GB, free: 448 kB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.5116, allocations: 0 / 0.5884 GB, free: 448 kB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000181/0.5118, allocations: 73.58 kB / 0.5884 GB, free: 368 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.5118, allocations: 55.41 kB / 0.5885 GB, free: 300 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.5119, allocations: 109.2 kB / 0.5886 GB, free: 180 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.512, allocations: 25.7 kB / 0.5886 GB, free: 148 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.512, allocations: 123.8 kB / 0.5887 GB, free: 16 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.5121, allocations: 23.83 kB / 0.5888 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.5121, allocations: 4 kB / 0.5888 GB, free: 15.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5122, allocations: 318.8 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.5123, allocations: 23.98 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.693e-05/0.5123, allocations: 79.66 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.426e-05/0.5124, allocations: 27.98 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5124, allocations: 4 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001685/0.5126, allocations: 117.6 kB / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5126, allocations: 13.09 kB / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5126, allocations: 0 / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.5126, allocations: 7.781 kB / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.5128, allocations: 39.97 kB / 0.5894 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.5129, allocations: 7.938 kB / 0.5894 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.513, allocations: 19.83 kB / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.513, allocations: 19.94 kB / 0.5894 GB, free: 15.28 MB / 410.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 () * 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 6.874e-05/0.5131, allocations: 101 kB / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001367/0.5132, allocations: 88.16 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.5132, allocations: 7.953 kB / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.5134, allocations: 90.27 kB / 0.5897 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5134, allocations: 4 kB / 0.5897 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5134, allocations: 0 / 0.5897 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5134, allocations: 0 / 0.5897 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.5136, allocations: 174.1 kB / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5136, allocations: 0 / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.5138, allocations: 27.98 kB / 0.5899 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.5138, allocations: 0 / 0.5899 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.5138, allocations: 0 / 0.5899 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.5138, allocations: 3.953 kB / 0.5899 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5138, allocations: 0.75 kB / 0.5899 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.514, allocations: 187.7 kB / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.5141, allocations: 88.98 kB / 0.5901 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.5141, allocations: 0 / 0.5901 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.5142, allocations: 7.984 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.5142, allocations: 11.95 kB / 0.5902 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.5142, allocations: 4 kB / 0.5902 GB, free: 14.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.676e-05/0.5143, allocations: 97.52 kB / 0.5903 GB, free: 14.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5143, allocations: 0 / 0.5903 GB, free: 14.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002707/0.5146, allocations: 23.91 kB / 0.5903 GB, free: 14.29 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 () * 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.0004638/0.515, allocations: 0.7406 MB / 0.591 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.5152, allocations: 68.28 kB / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5152, allocations: 4.125 kB / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.434e-05/0.5153, allocations: 23.94 kB / 0.5911 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.5154, allocations: 11.95 kB / 0.5911 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.5159, allocations: 182.1 kB / 0.5913 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.5162, allocations: 0.7119 MB / 0.592 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.5163, allocations: 36.38 kB / 0.592 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.5164, allocations: 27.42 kB / 0.592 GB, free: 12.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5164, allocations: 0 / 0.592 GB, free: 12.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.5396, allocations: 1.815 MB / 0.5938 GB, free: 10.62 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003189/0.5399, allocations: 193.9 kB / 0.594 GB, free: 10.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.033, allocations: 0 / 0.594 GB, free: 10.43 MB / 410.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