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_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_cpp_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_cpp_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.001501/0.001501, allocations: 185.8 kB / 16.4 MB, free: 5.695 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.005/2.005, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001531/0.001531, allocations: 90.05 kB / 270.9 MB, free: 8.379 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.6078/0.6078, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004644, allocations: 12 kB / 431.5 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1314, allocations: 58.84 MB / 490.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5377/0.6691, allocations: 102.5 MB / 0.5789 GB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004006/0.6696, allocations: 96.48 kB / 0.579 GB, free: 15.73 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: Performance of FrontEnd - DAE generated: time 0.1003/0.77, allocations: 17.88 MB / 0.5965 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.77, allocations: 0 / 0.5965 GB, free: 13.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.77, allocations: 4 kB / 0.5965 GB, free: 13.8 MB / 426.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.001788/0.7718, allocations: 0.6494 MB / 0.5971 GB, free: 13.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.7719, allocations: 8.031 kB / 0.5971 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.7721, allocations: 82.47 kB / 0.5972 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/0.7722, allocations: 31.62 kB / 0.5972 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.7726, allocations: 234.7 kB / 0.5975 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.7727, allocations: 20.66 kB / 0.5975 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.85e-05/0.7728, allocations: 27.98 kB / 0.5975 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.774, allocations: 465 kB / 0.598 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.7741, allocations: 3.984 kB / 0.598 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.7741, allocations: 12 kB / 0.598 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.959e-05/0.7743, allocations: 44.97 kB / 0.598 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.7758, allocations: 0.562 MB / 0.5986 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.7792, allocations: 1.349 MB / 0.5999 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.7803, allocations: 282.4 kB / 0.6002 GB, free: 9.836 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.461e-05/0.7804, allocations: 8 kB / 0.6002 GB, free: 9.828 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.7805, allocations: 38.56 kB / 0.6002 GB, free: 9.781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.156e-06/0.7805, allocations: 0 / 0.6002 GB, free: 9.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001281/0.7818, allocations: 343.2 kB / 0.6005 GB, free: 9.441 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.7819, allocations: 59.41 kB / 0.6006 GB, free: 9.371 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.782, allocations: 121.2 kB / 0.6007 GB, free: 9.242 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.7821, allocations: 33.7 kB / 0.6007 GB, free: 9.203 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.7823, allocations: 262.6 kB / 0.601 GB, free: 8.945 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.7824, allocations: 82.75 kB / 0.6011 GB, free: 8.863 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.7824, allocations: 11.94 kB / 0.6011 GB, free: 8.852 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.7826, allocations: 330.7 kB / 0.6014 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.783, allocations: 93.41 kB / 0.6015 GB, free: 8.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.7835, allocations: 178.2 kB / 0.6016 GB, free: 8.219 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.7839, allocations: 121.6 kB / 0.6018 GB, free: 8.102 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.784, allocations: 0 / 0.6018 GB, free: 8.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001063/0.785, allocations: 329.1 kB / 0.6021 GB, free: 7.773 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.7851, allocations: 4 kB / 0.6021 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.7851, allocations: 4 kB / 0.6021 GB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.7851, allocations: 4 kB / 0.6021 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.7862, allocations: 144.1 kB / 0.6022 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.788, allocations: 2.364 MB / 0.6045 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.7883, allocations: 35.67 kB / 0.6046 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.7884, allocations: 20 kB / 0.6046 GB, free: 5.109 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 () * Number of clocked 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.0003296/0.7887, allocations: 181.8 kB / 0.6048 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.7888, allocations: 15.81 kB / 0.6048 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.7903, allocations: 381 kB / 0.6051 GB, free: 4.527 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.7903, allocations: 11.92 kB / 0.6052 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7903, allocations: 0 / 0.6052 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.7903, allocations: 3.953 kB / 0.6052 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006444/0.791, allocations: 341.3 kB / 0.6055 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.791, allocations: 0 / 0.6055 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.792, allocations: 123.8 kB / 0.6056 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.792, allocations: 4 kB / 0.6056 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.7921, allocations: 11.98 kB / 0.6056 GB, free: 3.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.7938, allocations: 2.36 MB / 0.6079 GB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7939, allocations: 288 / 0.6079 GB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009757/0.7949, allocations: 375.6 kB / 0.6083 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.795, allocations: 92.86 kB / 0.6084 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.795, allocations: 8 kB / 0.6084 GB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.7953, allocations: 23.94 kB / 0.6084 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.7954, allocations: 19.97 kB / 0.6084 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.7955, allocations: 8 kB / 0.6084 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.675e-05/0.7956, allocations: 106 kB / 0.6085 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7956, allocations: 4 kB / 0.6085 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001182/0.7968, allocations: 259.3 kB / 0.6088 GB, free: 0.6289 MB / 426.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 () * Number of clocked 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.002554/0.7994, allocations: 1.198 MB / 0.6099 GB, free: 15.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.8007, allocations: 290 kB / 0.6102 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.8007, allocations: 4 kB / 0.6102 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007597/0.8015, allocations: 171.8 kB / 0.6104 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.8018, allocations: 15.94 kB / 0.6104 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.8066, allocations: 3.222 MB / 0.6136 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.8072, allocations: 0.8103 MB / 0.6143 GB, free: 10.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.8075, allocations: 95.39 kB / 0.6144 GB, free: 10.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8075, allocations: 4 kB / 0.6144 GB, free: 10.69 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.93/3.737, allocations: 11.14 MB / 0.6253 GB, free: 15.55 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat