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.001534/0.001534, allocations: 181.1 kB / 13.66 MB, free: 1.66 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.204/2.204, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001504/0.001503, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3238/0.3238, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.569e-05/3.584e-05, allocations: 0 / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5119/0.631, allocations: 102.4 MB / 0.5729 GB, free: 1.148 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/0.6315, allocations: 99.66 kB / 0.573 GB, free: 1.094 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.09123/0.7227, allocations: 17.86 MB / 0.5905 GB, free: 1.707 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.7228, allocations: 0 / 0.5905 GB, free: 1.707 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.87e-05/0.7228, allocations: 4 kB / 0.5905 GB, free: 1.703 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.001595/0.7244, allocations: 0.637 MB / 0.5911 GB, free: 1.043 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.7245, allocations: 8.031 kB / 0.5911 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.7246, allocations: 75.28 kB / 0.5912 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.558e-05/0.7247, allocations: 31.58 kB / 0.5912 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.7251, allocations: 249.2 kB / 0.5914 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.7252, allocations: 19.27 kB / 0.5914 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.7253, allocations: 29.31 kB / 0.5915 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.7263, allocations: 438.8 kB / 0.5919 GB, free: 316 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.7264, allocations: 0 / 0.5919 GB, free: 316 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.7264, allocations: 10.75 kB / 0.5919 GB, free: 312 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.335e-05/0.7265, allocations: 40.2 kB / 0.5919 GB, free: 276 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.7277, allocations: 0.5226 MB / 0.5925 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/0.731, allocations: 1.346 MB / 0.5938 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000854/0.7319, allocations: 266.7 kB / 0.594 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.7322, allocations: 88.95 kB / 0.5941 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.21e-05/0.7323, allocations: 12.38 kB / 0.5941 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.7323, allocations: 34.38 kB / 0.5942 GB, free: 14.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.096e-06/0.7323, allocations: 0 / 0.5942 GB, free: 14.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007002/0.733, allocations: 217.3 kB / 0.5944 GB, free: 14.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.7331, allocations: 55.41 kB / 0.5944 GB, free: 13.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.7333, allocations: 137.1 kB / 0.5945 GB, free: 13.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.7333, allocations: 32.77 kB / 0.5946 GB, free: 13.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.7335, allocations: 259.3 kB / 0.5948 GB, free: 13.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.7336, allocations: 92.75 kB / 0.5949 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.7337, allocations: 3.5 kB / 0.5949 GB, free: 13.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7338, allocations: 326.3 kB / 0.5952 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.7341, allocations: 80.33 kB / 0.5953 GB, free: 13.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.7344, allocations: 154.8 kB / 0.5954 GB, free: 12.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.7347, allocations: 105.2 kB / 0.5955 GB, free: 12.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.7347, allocations: 0 / 0.5955 GB, free: 12.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007823/0.7355, allocations: 285.7 kB / 0.5958 GB, free: 12.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.7356, allocations: 4 kB / 0.5958 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.7356, allocations: 4.344 kB / 0.5958 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.7356, allocations: 8 kB / 0.5958 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.7367, allocations: 135.3 kB / 0.596 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.7385, allocations: 2.362 MB / 0.5983 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.7389, allocations: 35.34 kB / 0.5983 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.739, allocations: 24.08 kB / 0.5983 GB, free: 9.961 MB / 410.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.0001485/0.7391, allocations: 119.4 kB / 0.5984 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.7392, allocations: 11.91 kB / 0.5985 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.7404, allocations: 339.7 kB / 0.5988 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.7404, allocations: 4 kB / 0.5988 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7405, allocations: 3.938 kB / 0.5988 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.7405, allocations: 7.938 kB / 0.5988 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.7411, allocations: 341.3 kB / 0.5991 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.7411, allocations: 0 / 0.5991 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.7421, allocations: 123.3 kB / 0.5992 GB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.7422, allocations: 4 kB / 0.5992 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.7422, allocations: 7.5 kB / 0.5992 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.7438, allocations: 2.357 MB / 0.6015 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7438, allocations: 0 / 0.6015 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.7446, allocations: 351.8 kB / 0.6019 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.7447, allocations: 92.86 kB / 0.602 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.7447, allocations: 11.58 kB / 0.602 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.745, allocations: 15.17 kB / 0.602 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7452, allocations: 19.97 kB / 0.602 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.7452, allocations: 15.92 kB / 0.602 GB, free: 6.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.465e-05/0.7453, allocations: 93.78 kB / 0.6021 GB, free: 6.074 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7453, allocations: 0 / 0.6021 GB, free: 6.074 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001163/0.7465, allocations: 265.1 kB / 0.6024 GB, free: 5.828 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.002261/0.7488, allocations: 1.164 MB / 0.6035 GB, free: 4.688 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.75, allocations: 253.2 kB / 0.6038 GB, free: 4.477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.75, allocations: 4 kB / 0.6038 GB, free: 4.473 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006694/0.7507, allocations: 157.2 kB / 0.6039 GB, free: 4.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.751, allocations: 10.27 kB / 0.6039 GB, free: 4.336 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.753, allocations: 0.6122 MB / 0.6045 GB, free: 3.723 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.7537, allocations: 0.8045 MB / 0.6053 GB, free: 2.898 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.754, allocations: 93.08 kB / 0.6054 GB, free: 2.863 MB / 410.7 MB Notification: Performance of SimCode: time 1.804e-06/0.754, allocations: 0 / 0.6054 GB, free: 2.863 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.254/4.008, allocations: 11.23 MB / 0.6164 GB, free: 7.645 MB / 426.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