Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000952/0.0009521, allocations: 177.8 kB / 8.743 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.5 MB / 230.7 MB, free: 7.535 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009314/0.0009313, allocations: 83.48 kB / 281.6 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2578/0.2578, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.629e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.348/0.4592, allocations: 91.08 MB / 0.5837 GB, free: 5.297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4594, allocations: 94.25 kB / 0.5838 GB, free: 5.207 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03336/0.4928, allocations: 12.04 MB / 0.5956 GB, free: 9.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4929, allocations: 3.938 kB / 0.5956 GB, free: 9.086 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.4929, allocations: 8 kB / 0.5956 GB, free: 9.078 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0005995/0.4935, allocations: 0.4947 MB / 0.5961 GB, free: 8.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4935, allocations: 15.98 kB / 0.5961 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.4936, allocations: 27.62 kB / 0.5961 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.4939, allocations: 236 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.4939, allocations: 11.95 kB / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.4939, allocations: 12 kB / 0.5964 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004464/0.4944, allocations: 321.1 kB / 0.5967 GB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.4948, allocations: 309 kB / 0.597 GB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4949, allocations: 0 / 0.597 GB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.4949, allocations: 0 / 0.597 GB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.4949, allocations: 20.77 kB / 0.597 GB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.4962, allocations: 0.7603 MB / 0.5977 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.4965, allocations: 227.8 kB / 0.5979 GB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.4967, allocations: 76.86 kB / 0.598 GB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.4967, allocations: 7.984 kB / 0.598 GB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.4967, allocations: 30.56 kB / 0.598 GB, free: 6.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.4967, allocations: 8.938 kB / 0.5981 GB, free: 6.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003713/0.4971, allocations: 204 kB / 0.5983 GB, free: 6.191 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.4972, allocations: 55.41 kB / 0.5983 GB, free: 6.125 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.4973, allocations: 165.4 kB / 0.5985 GB, free: 5.953 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.4973, allocations: 25.7 kB / 0.5985 GB, free: 5.922 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.4974, allocations: 183.8 kB / 0.5987 GB, free: 5.738 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.4975, allocations: 51.2 kB / 0.5987 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.4975, allocations: 0 / 0.5987 GB, free: 5.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4977, allocations: 330.8 kB / 0.599 GB, free: 5.355 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.4978, allocations: 80.41 kB / 0.5991 GB, free: 5.273 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.498, allocations: 175.6 kB / 0.5993 GB, free: 5.062 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.4981, allocations: 111.9 kB / 0.5994 GB, free: 4.953 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4981, allocations: 0 / 0.5994 GB, free: 4.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004226/0.4986, allocations: 281 kB / 0.5996 GB, free: 4.672 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.4986, allocations: 5.094 kB / 0.5996 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4986, allocations: 4 kB / 0.5997 GB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.4986, allocations: 4 kB / 0.5997 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.4993, allocations: 124.2 kB / 0.5998 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.5013, allocations: 3.664 MB / 0.6034 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.5015, allocations: 32.06 kB / 0.6034 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.5015, allocations: 8 kB / 0.6034 GB, free: 0.6953 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.5016, allocations: 112.9 kB / 0.6035 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000319/0.502, allocations: 207.3 kB / 0.6037 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.502, allocations: 15.81 kB / 0.6037 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005078/0.5025, allocations: 292 kB / 0.604 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.5025, allocations: 3.953 kB / 0.604 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5026, allocations: 0 / 0.604 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.5026, allocations: 0 / 0.604 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.5029, allocations: 254.1 kB / 0.6042 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5029, allocations: 0 / 0.6042 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.5034, allocations: 103.9 kB / 0.6043 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.5034, allocations: 4 kB / 0.6043 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.5034, allocations: 3.984 kB / 0.6043 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.5054, allocations: 3.664 MB / 0.6079 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5054, allocations: 3.953 kB / 0.6079 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.5058, allocations: 309.3 kB / 0.6082 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.5059, allocations: 96.84 kB / 0.6083 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.5059, allocations: 0 / 0.6083 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.5061, allocations: 8 kB / 0.6083 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.5061, allocations: 11.97 kB / 0.6083 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.5061, allocations: 15.95 kB / 0.6083 GB, free: 11.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.56e-05/0.5063, allocations: 132.3 kB / 0.6085 GB, free: 11.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5063, allocations: 0 / 0.6085 GB, free: 11.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004505/0.5067, allocations: 83.67 kB / 0.6086 GB, free: 11.18 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007593/0.5075, allocations: 0.8812 MB / 0.6094 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006936/0.5082, allocations: 257.6 kB / 0.6097 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5082, allocations: 0.75 kB / 0.6097 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.5086, allocations: 147.8 kB / 0.6098 GB, free: 9.879 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.5089, allocations: 23.89 kB / 0.6098 GB, free: 9.855 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/0.5098, allocations: 443.5 kB / 0.6102 GB, free: 9.383 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.5102, allocations: 0.8024 MB / 0.611 GB, free: 8.555 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.5104, allocations: 57.78 kB / 0.6111 GB, free: 8.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.5105, allocations: 67.41 kB / 0.6112 GB, free: 8.434 MB / 426.7 MB Notification: Performance of SimCode: time 4.8e-07/0.5105, allocations: 4 kB / 0.6112 GB, free: 8.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.5343, allocations: 5.001 MB / 0.616 GB, free: 3.461 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.5346, allocations: 202.3 kB / 0.6162 GB, free: 3.254 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.272, allocations: 0 / 0.6162 GB, free: 3.254 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat