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.001542/0.001542, allocations: 178.3 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 87.86 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3405/0.3405, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.787e-05, allocations: 4 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4113, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2293/0.6407, allocations: 101.7 MB / 0.5654 GB, free: 13.42 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006045/0.6413, allocations: 103.4 kB / 0.5655 GB, free: 13.32 MB / 411.1 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.1207/0.7621, allocations: 17.72 MB / 0.5828 GB, free: 11.5 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.7621, allocations: 0 / 0.5828 GB, free: 11.5 MB / 427.1 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.7622, allocations: 7.938 kB / 0.5828 GB, free: 11.49 MB / 427.1 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.001597/0.7638, allocations: 0.6314 MB / 0.5834 GB, free: 10.82 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.7639, allocations: 8.031 kB / 0.5834 GB, free: 10.81 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.764, allocations: 39.58 kB / 0.5834 GB, free: 10.77 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.7644, allocations: 242.6 kB / 0.5837 GB, free: 10.49 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.7645, allocations: 8 kB / 0.5837 GB, free: 10.48 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.7645, allocations: 16 kB / 0.5837 GB, free: 10.47 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009472/0.7655, allocations: 401.3 kB / 0.5841 GB, free: 10.08 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009218/0.7664, allocations: 402 kB / 0.5845 GB, free: 9.676 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.7665, allocations: 0 / 0.5845 GB, free: 9.676 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.7665, allocations: 0 / 0.5845 GB, free: 9.676 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.221e-05/0.7666, allocations: 44.7 kB / 0.5845 GB, free: 9.633 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.7699, allocations: 1.262 MB / 0.5857 GB, free: 8.262 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.7707, allocations: 261.3 kB / 0.586 GB, free: 8 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.771, allocations: 72.83 kB / 0.5861 GB, free: 7.926 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.315e-05/0.771, allocations: 11.98 kB / 0.5861 GB, free: 7.914 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.7711, allocations: 38.5 kB / 0.5861 GB, free: 7.867 MB / 427.1 MB Notification: Performance of pre-optimization done (n=25): time 3.567e-06/0.7711, allocations: 0 / 0.5861 GB, free: 7.867 MB / 427.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006592/0.7718, allocations: 205.8 kB / 0.5863 GB, free: 7.66 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.7718, allocations: 55.41 kB / 0.5864 GB, free: 7.594 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.772, allocations: 129.1 kB / 0.5865 GB, free: 7.457 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.772, allocations: 25.7 kB / 0.5865 GB, free: 7.426 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.7722, allocations: 258.5 kB / 0.5868 GB, free: 7.168 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.761e-05/0.7723, allocations: 86.69 kB / 0.5868 GB, free: 7.082 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.7724, allocations: 0 / 0.5868 GB, free: 7.082 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7725, allocations: 326.8 kB / 0.5871 GB, free: 6.754 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.7727, allocations: 67.95 kB / 0.5872 GB, free: 6.688 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.773, allocations: 154.4 kB / 0.5874 GB, free: 6.5 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.7733, allocations: 100.1 kB / 0.5875 GB, free: 6.402 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7733, allocations: 0 / 0.5875 GB, free: 6.402 MB / 427.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006973/0.774, allocations: 269.3 kB / 0.5877 GB, free: 6.133 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.7741, allocations: 7.938 kB / 0.5877 GB, free: 6.125 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7741, allocations: 4 kB / 0.5877 GB, free: 6.121 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.7741, allocations: 4 kB / 0.5877 GB, free: 6.117 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.7751, allocations: 127.8 kB / 0.5878 GB, free: 5.992 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.7768, allocations: 2.376 MB / 0.5902 GB, free: 3.523 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.7772, allocations: 27.69 kB / 0.5902 GB, free: 3.496 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.7773, allocations: 19.98 kB / 0.5902 GB, free: 3.477 MB / 427.1 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.0001404/0.7774, allocations: 112.9 kB / 0.5903 GB, free: 3.359 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005479/0.778, allocations: 201.4 kB / 0.5905 GB, free: 3.156 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.778, allocations: 15.81 kB / 0.5905 GB, free: 3.141 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.7792, allocations: 329.9 kB / 0.5908 GB, free: 2.812 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.7792, allocations: 4 kB / 0.5908 GB, free: 2.809 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7792, allocations: 0 / 0.5908 GB, free: 2.809 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.7792, allocations: 11.94 kB / 0.5909 GB, free: 2.797 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.7798, allocations: 266.3 kB / 0.5911 GB, free: 2.5 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.7798, allocations: 0 / 0.5911 GB, free: 2.5 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000959/0.7808, allocations: 119.8 kB / 0.5912 GB, free: 2.383 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.7808, allocations: 0 / 0.5912 GB, free: 2.383 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.7808, allocations: 4 kB / 0.5912 GB, free: 2.379 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.7825, allocations: 2.371 MB / 0.5935 GB, free: 15.91 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.7825, allocations: 4 kB / 0.5936 GB, free: 15.91 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.7832, allocations: 323.3 kB / 0.5939 GB, free: 15.58 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.82e-05/0.7833, allocations: 96.8 kB / 0.594 GB, free: 15.46 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.7833, allocations: 7.984 kB / 0.594 GB, free: 15.46 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.7836, allocations: 7.953 kB / 0.594 GB, free: 15.45 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.7837, allocations: 24.06 kB / 0.594 GB, free: 15.43 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.7838, allocations: 15.98 kB / 0.594 GB, free: 15.41 MB / 443.1 MB Notification: Performance of sorting global known variables: time 8.962e-05/0.7839, allocations: 95.27 kB / 0.5941 GB, free: 15.32 MB / 443.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7839, allocations: 0 / 0.5941 GB, free: 15.32 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.001163/0.7851, allocations: 251.3 kB / 0.5943 GB, free: 15.07 MB / 443.1 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.002014/0.7871, allocations: 1.14 MB / 0.5954 GB, free: 13.9 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.0009765/0.7881, allocations: 239.9 kB / 0.5957 GB, free: 13.67 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7881, allocations: 0 / 0.5957 GB, free: 13.67 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.7887, allocations: 148.5 kB / 0.5958 GB, free: 13.52 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.789, allocations: 11.61 kB / 0.5958 GB, free: 13.52 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.7909, allocations: 0.579 MB / 0.5964 GB, free: 12.89 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.7914, allocations: 0.8023 MB / 0.5972 GB, free: 12.07 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.7917, allocations: 99.39 kB / 0.5973 GB, free: 11.97 MB / 443.1 MB Notification: Performance of SimCode: time 1.242e-06/0.7917, allocations: 0 / 0.5973 GB, free: 11.97 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.06/3.851, allocations: 11.29 MB / 0.6083 GB, free: 0.6797 MB / 443.1 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