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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001076/0.001076, allocations: 177.6 kB / 8.002 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.635/1.635, allocations: 205.3 MB / 213.7 MB, free: 1.746 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.0008381/0.0008381, allocations: 87.98 kB / 261.8 MB, free: 1.688 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.2135/0.2135, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.881e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1249, allocations: 58.86 MB / 477.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4697/0.5947, allocations: 101.7 MB / 0.5654 GB, free: 9.398 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005542/0.5954, allocations: 103.8 kB / 0.5655 GB, free: 9.344 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6094:11-6097: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:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6108:11-6111: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.06775/0.6632, allocations: 17.72 MB / 0.5828 GB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.6632, allocations: 0 / 0.5828 GB, free: 10.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.6632, allocations: 7.938 kB / 0.5828 GB, free: 10.38 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.001174/0.6644, allocations: 0.6278 MB / 0.5834 GB, free: 9.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.6645, allocations: 12.03 kB / 0.5834 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.6646, allocations: 31.58 kB / 0.5835 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.6649, allocations: 241.8 kB / 0.5837 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.6649, allocations: 11.94 kB / 0.5837 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.6649, allocations: 16 kB / 0.5837 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005281/0.6655, allocations: 405.5 kB / 0.5841 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.666, allocations: 394.6 kB / 0.5845 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.666, allocations: 4 kB / 0.5845 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.6661, allocations: 0 / 0.5845 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-05/0.6661, allocations: 44.7 kB / 0.5845 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.6679, allocations: 1.265 MB / 0.5858 GB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.6684, allocations: 251.8 kB / 0.586 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.6685, allocations: 76.14 kB / 0.5861 GB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.6685, allocations: 11.98 kB / 0.5861 GB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.6686, allocations: 34.31 kB / 0.5861 GB, free: 7.211 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.6686, allocations: 4 kB / 0.5861 GB, free: 7.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.000407/0.669, allocations: 213.6 kB / 0.5863 GB, free: 7.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.669, allocations: 51.41 kB / 0.5864 GB, free: 6.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.6692, allocations: 129.7 kB / 0.5865 GB, free: 6.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.6692, allocations: 25.7 kB / 0.5865 GB, free: 6.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.6693, allocations: 195.5 kB / 0.5867 GB, free: 6.613 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.6694, allocations: 82.58 kB / 0.5868 GB, free: 6.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.6694, allocations: 0 / 0.5868 GB, free: 6.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6695, allocations: 326.6 kB / 0.5871 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.6696, allocations: 71.41 kB / 0.5872 GB, free: 6.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.6698, allocations: 153.5 kB / 0.5873 GB, free: 6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.67, allocations: 99.64 kB / 0.5874 GB, free: 5.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.67, allocations: 0 / 0.5874 GB, free: 5.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003865/0.6704, allocations: 263.2 kB / 0.5877 GB, free: 5.684 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.6704, allocations: 8 kB / 0.5877 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6704, allocations: 3.938 kB / 0.5877 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.6704, allocations: 4.344 kB / 0.5877 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.6711, allocations: 139.6 kB / 0.5878 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.6723, allocations: 2.363 MB / 0.5901 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.6725, allocations: 31.7 kB / 0.5902 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.6725, allocations: 15.75 kB / 0.5902 GB, free: 3.051 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.0001145/0.6726, allocations: 121 kB / 0.5903 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003213/0.673, allocations: 207.1 kB / 0.5905 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.673, allocations: 7.906 kB / 0.5905 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006409/0.6736, allocations: 327.1 kB / 0.5908 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.6737, allocations: 4 kB / 0.5908 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6737, allocations: 0 / 0.5908 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.6737, allocations: 11.88 kB / 0.5908 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.674, allocations: 269 kB / 0.5911 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.674, allocations: 0 / 0.5911 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.6746, allocations: 115.9 kB / 0.5912 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6746, allocations: 3.938 kB / 0.5912 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.6746, allocations: 7.984 kB / 0.5912 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.6759, allocations: 2.367 MB / 0.5935 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6759, allocations: 0 / 0.5935 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.6763, allocations: 322 kB / 0.5938 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.6764, allocations: 108.8 kB / 0.5939 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.6764, allocations: 0 / 0.5939 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.6765, allocations: 7.953 kB / 0.5939 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.6766, allocations: 27.39 kB / 0.594 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.6766, allocations: 8 kB / 0.594 GB, free: 15.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.935e-05/0.6767, allocations: 100.4 kB / 0.5941 GB, free: 15.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6767, allocations: 0 / 0.5941 GB, free: 15.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008853/0.6776, allocations: 251 kB / 0.5943 GB, free: 14.82 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 (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.001308/0.6789, allocations: 1.141 MB / 0.5954 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005452/0.6795, allocations: 238.8 kB / 0.5956 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6795, allocations: 0 / 0.5956 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.6799, allocations: 143 kB / 0.5958 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.6801, allocations: 11.88 kB / 0.5958 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.6812, allocations: 0.5529 MB / 0.5963 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.6816, allocations: 0.8178 MB / 0.5971 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003088/0.6819, allocations: 97.86 kB / 0.5972 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.6821, allocations: 89.58 kB / 0.5973 GB, free: 11.83 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6821, allocations: 0 / 0.5973 GB, free: 11.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.7116, allocations: 7.506 MB / 0.6046 GB, free: 4.324 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.7119, allocations: 197.7 kB / 0.6048 GB, free: 4.125 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.634, allocations: 4 kB / 0.6048 GB, free: 4.121 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat