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.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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",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.00164/0.00164, allocations: 169 kB / 8.742 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.378/1.378, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0009371/0.0009371, allocations: 95 kB / 281.6 MB, free: 5.316 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.1911/0.1911, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.84e-05, allocations: 4.219 kB / 444.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 61.91 MB / 0.4948 GB, free: 1.125 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3489/0.4604, allocations: 93.13 MB / 0.5857 GB, free: 3.188 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4607, allocations: 95.94 kB / 0.5858 GB, free: 3.094 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03763/0.4984, allocations: 13.62 MB / 0.5991 GB, free: 5.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4984, allocations: 0 / 0.5991 GB, free: 5.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.4984, allocations: 4 kB / 0.5991 GB, free: 5.383 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0007861/0.4992, allocations: 0.5608 MB / 0.5997 GB, free: 4.773 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4993, allocations: 15.98 kB / 0.5997 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.4994, allocations: 31.62 kB / 0.5997 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.4996, allocations: 250.5 kB / 0.6 GB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.4997, allocations: 12 kB / 0.6 GB, free: 4.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.4997, allocations: 16 kB / 0.6 GB, free: 4.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004041/0.5001, allocations: 233.2 kB / 0.6002 GB, free: 4.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.5007, allocations: 365.6 kB / 0.6006 GB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5007, allocations: 0 / 0.6006 GB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.5007, allocations: 0 / 0.6006 GB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.5008, allocations: 16.56 kB / 0.6006 GB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.5022, allocations: 1.022 MB / 0.6016 GB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.5026, allocations: 211.7 kB / 0.6018 GB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.5027, allocations: 78.53 kB / 0.6018 GB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.5027, allocations: 3.953 kB / 0.6019 GB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.5028, allocations: 42.55 kB / 0.6019 GB, free: 2.348 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.5028, allocations: 0 / 0.6019 GB, free: 2.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004387/0.5032, allocations: 185.4 kB / 0.6021 GB, free: 2.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.5033, allocations: 106.8 kB / 0.6022 GB, free: 2.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.5035, allocations: 219.8 kB / 0.6024 GB, free: 1.812 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.5035, allocations: 25.7 kB / 0.6024 GB, free: 1.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.5037, allocations: 207.7 kB / 0.6026 GB, free: 1.574 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.5037, allocations: 51.2 kB / 0.6027 GB, free: 1.523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.5038, allocations: 0 / 0.6027 GB, free: 1.523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5039, allocations: 326.8 kB / 0.603 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.504, allocations: 92.16 kB / 0.6031 GB, free: 1.102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.5043, allocations: 197.3 kB / 0.6032 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.5044, allocations: 115.8 kB / 0.6033 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5044, allocations: 0 / 0.6033 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005062/0.505, allocations: 317 kB / 0.6037 GB, free: 436 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.505, allocations: 4 kB / 0.6037 GB, free: 432 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.903e-05/0.505, allocations: 23.98 kB / 0.6037 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.5051, allocations: 4 kB / 0.6037 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.5053, allocations: 60.42 kB / 0.6037 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.5054, allocations: 11.92 kB / 0.6038 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.5056, allocations: 43.72 kB / 0.6038 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.5057, allocations: 16 kB / 0.6038 GB, free: 272 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.5058, allocations: 116.9 kB / 0.6039 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003989/0.5062, allocations: 193.3 kB / 0.6041 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.5063, allocations: 15.81 kB / 0.6041 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.5068, allocations: 247.1 kB / 0.6044 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.5068, allocations: 8.062 kB / 0.6044 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5068, allocations: 0 / 0.6044 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.5068, allocations: 4 kB / 0.6044 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.5073, allocations: 273.9 kB / 0.6046 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/0.5073, allocations: 15.98 kB / 0.6046 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.5075, allocations: 39.91 kB / 0.6047 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5075, allocations: 0 / 0.6047 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.5075, allocations: 4 kB / 0.6047 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5075, allocations: 8 kB / 0.6047 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5075, allocations: 4 kB / 0.6047 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.508, allocations: 461.1 kB / 0.6051 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.5081, allocations: 96.81 kB / 0.6052 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.5081, allocations: 8 kB / 0.6052 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.5084, allocations: 23.97 kB / 0.6053 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.5085, allocations: 19.97 kB / 0.6053 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.5085, allocations: 7.938 kB / 0.6053 GB, free: 14.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.5086, allocations: 164.5 kB / 0.6054 GB, free: 14.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5086, allocations: 0 / 0.6054 GB, free: 14.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005542/0.5092, allocations: 111.7 kB / 0.6055 GB, free: 14.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.5102, allocations: 1.199 MB / 0.6067 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004385/0.5107, allocations: 366.9 kB / 0.6071 GB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5107, allocations: 4.062 kB / 0.6071 GB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.5109, allocations: 238.2 kB / 0.6073 GB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.5112, allocations: 32.59 kB / 0.6073 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.5124, allocations: 0.4973 MB / 0.6078 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.5128, allocations: 0.8061 MB / 0.6086 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.513, allocations: 45.81 kB / 0.6086 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.5131, allocations: 79.41 kB / 0.6087 GB, free: 10.94 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5131, allocations: 0 / 0.6087 GB, free: 10.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.5372, allocations: 5.625 MB / 0.6142 GB, free: 5.355 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.5374, allocations: 190.7 kB / 0.6144 GB, free: 5.156 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.226, allocations: 0 / 0.6144 GB, free: 5.156 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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_res.mat does not exist to compare? outputFormat=mat