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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 187.4 kB / 7.807 MB, free: 2.488 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.484/1.484, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0009903/0.0009905, allocations: 94.06 kB / 261.4 MB, free: 13.55 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.2266/0.2266, allocations: 43.5 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2293/0.456, allocations: 64.99 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.7781, allocations: 58.84 MB / 476.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.9328, allocations: 101.7 MB / 0.5648 GB, free: 13.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.9331, allocations: 95.92 kB / 0.5649 GB, free: 13.11 MB / 410.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: 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.05851/0.9916, allocations: 18.11 MB / 0.5826 GB, free: 10.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.9917, allocations: 8 kB / 0.5826 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.9918, allocations: 31.62 kB / 0.5826 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.9922, allocations: 242.6 kB / 0.5828 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.9923, allocations: 11.91 kB / 0.5829 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.9923, allocations: 16 kB / 0.5829 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007066/0.9931, allocations: 417.2 kB / 0.5833 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/0.9938, allocations: 401.4 kB / 0.5837 GB, free: 9.688 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.9938, allocations: 4 kB / 0.5837 GB, free: 9.684 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.9939, allocations: 4 kB / 0.5837 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.9939, allocations: 40.73 kB / 0.5837 GB, free: 9.641 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.9962, allocations: 1.289 MB / 0.585 GB, free: 8.238 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.9968, allocations: 265.3 kB / 0.5852 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.9969, allocations: 80.83 kB / 0.5853 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.997, allocations: 8.375 kB / 0.5853 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.997, allocations: 38.5 kB / 0.5853 GB, free: 7.836 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.854e-06/0.997, allocations: 4 kB / 0.5853 GB, free: 7.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004858/0.9975, allocations: 213.8 kB / 0.5855 GB, free: 7.617 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.9976, allocations: 55.41 kB / 0.5856 GB, free: 7.551 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.9977, allocations: 117.3 kB / 0.5857 GB, free: 7.426 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.9977, allocations: 25.7 kB / 0.5857 GB, free: 7.395 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.9979, allocations: 191.8 kB / 0.5859 GB, free: 7.199 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.563e-05/0.998, allocations: 90.69 kB / 0.586 GB, free: 7.109 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.998, allocations: 0 / 0.586 GB, free: 7.109 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.9982, allocations: 326.7 kB / 0.5863 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.9983, allocations: 71.97 kB / 0.5864 GB, free: 6.711 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.9985, allocations: 154.4 kB / 0.5865 GB, free: 6.523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.9987, allocations: 104.1 kB / 0.5866 GB, free: 6.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9987, allocations: 0 / 0.5866 GB, free: 6.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004689/0.9992, allocations: 273.1 kB / 0.5869 GB, free: 6.148 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.9992, allocations: 8 kB / 0.5869 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.9992, allocations: 0 / 0.5869 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.9993, allocations: 15.91 kB / 0.5869 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/0.9999, allocations: 132.2 kB / 0.587 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/1.002, allocations: 2.387 MB / 0.5894 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/1.002, allocations: 31.67 kB / 0.5894 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/1.002, allocations: 20.19 kB / 0.5894 GB, free: 3.465 MB / 426.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.0001105/1.002, allocations: 106.3 kB / 0.5895 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/1.002, allocations: 15.81 kB / 0.5895 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008511/1.003, allocations: 377.7 kB / 0.5899 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/1.003, allocations: 4 kB / 0.5899 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.003, allocations: 4 kB / 0.5899 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.003, allocations: 3.938 kB / 0.5899 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/1.003, allocations: 270 kB / 0.5902 GB, free: 2.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.003, allocations: 0 / 0.5902 GB, free: 2.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/1.004, allocations: 119.8 kB / 0.5903 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/1.004, allocations: 3.984 kB / 0.5903 GB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/1.004, allocations: 8 kB / 0.5903 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/1.005, allocations: 2.379 MB / 0.5926 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.005, allocations: 0 / 0.5926 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004264/1.006, allocations: 339.4 kB / 0.5929 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005457/1.006, allocations: 0.7033 MB / 0.5936 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/1.006, allocations: 96.84 kB / 0.5937 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/1.006, allocations: 0 / 0.5937 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/1.007, allocations: 11.91 kB / 0.5937 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/1.007, allocations: 27.95 kB / 0.5938 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/1.007, allocations: 8 kB / 0.5938 GB, free: 14.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.231e-05/1.007, allocations: 100.1 kB / 0.5939 GB, free: 14.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001535/1.008, allocations: 263.3 kB / 0.5941 GB, free: 14.47 MB / 442.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.00106/1.009, allocations: 396.4 kB / 0.5945 GB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006731/1.01, allocations: 267.7 kB / 0.5947 GB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.01, allocations: 0 / 0.5947 GB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/1.01, allocations: 164.5 kB / 0.5949 GB, free: 13.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/1.011, allocations: 7.859 kB / 0.5949 GB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008485/1.012, allocations: 392.9 kB / 0.5953 GB, free: 13.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/1.012, allocations: 0.837 MB / 0.5961 GB, free: 12.37 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/1.012, allocations: 0 / 0.5961 GB, free: 12.37 MB / 442.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