Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.001611/0.001611, allocations: 184.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008392/0.0008392, allocations: 86.88 kB / 270.2 MB, free: 13.36 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.2098/0.2098, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003016, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1099, allocations: 58.85 MB / 490.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/0.5084, allocations: 99.31 MB / 0.5759 GB, free: 452 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5087, allocations: 101.9 kB / 0.576 GB, free: 388 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06555/0.5743, allocations: 24.16 MB / 0.5995 GB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5743, allocations: 0 / 0.5995 GB, free: 11.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.5743, allocations: 4 kB / 0.5995 GB, free: 11.55 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001631/0.576, allocations: 0.7724 MB / 0.6003 GB, free: 10.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.576, allocations: 8.562 kB / 0.6003 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.5762, allocations: 106.2 kB / 0.6004 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.5764, allocations: 55.3 kB / 0.6005 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.5769, allocations: 304.5 kB / 0.6008 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.577, allocations: 44.19 kB / 0.6008 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.5771, allocations: 52.94 kB / 0.6008 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5783, allocations: 0.7844 MB / 0.6016 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5784, allocations: 0 / 0.6016 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.5784, allocations: 20.81 kB / 0.6016 GB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/0.5785, allocations: 29.3 kB / 0.6017 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.5795, allocations: 0.5806 MB / 0.6022 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.5823, allocations: 1.696 MB / 0.6039 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006166/0.5829, allocations: 321.5 kB / 0.6042 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.234e-05/0.583, allocations: 8.141 kB / 0.6042 GB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.5831, allocations: 42.48 kB / 0.6042 GB, free: 7.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.855e-06/0.5831, allocations: 0 / 0.6042 GB, free: 7.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001489/0.5846, allocations: 0.766 MB / 0.605 GB, free: 6.453 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.5846, allocations: 110.8 kB / 0.6051 GB, free: 6.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007109/0.5854, allocations: 0.5643 MB / 0.6056 GB, free: 5.855 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.5854, allocations: 25.7 kB / 0.6057 GB, free: 5.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.5857, allocations: 291.5 kB / 0.6059 GB, free: 5.613 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.5858, allocations: 73.62 kB / 0.606 GB, free: 5.551 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.5858, allocations: 7.125 kB / 0.606 GB, free: 5.551 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.586, allocations: 372.1 kB / 0.6064 GB, free: 5.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.5865, allocations: 201.5 kB / 0.6066 GB, free: 5.023 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.5871, allocations: 473.6 kB / 0.607 GB, free: 4.477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.5876, allocations: 277 kB / 0.6073 GB, free: 4.246 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.5877, allocations: 4 kB / 0.6073 GB, free: 4.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001337/0.589, allocations: 0.7079 MB / 0.608 GB, free: 3.613 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.589, allocations: 12.12 kB / 0.608 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-05/0.5891, allocations: 51.95 kB / 0.608 GB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.5892, allocations: 12 kB / 0.6081 GB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.5895, allocations: 82.97 kB / 0.6081 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.5895, allocations: 19.92 kB / 0.6082 GB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.59, allocations: 90.83 kB / 0.6082 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/0.5901, allocations: 35.67 kB / 0.6083 GB, free: 3.328 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003107/0.5904, allocations: 252.6 kB / 0.6085 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.5906, allocations: 51.42 kB / 0.6086 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.5916, allocations: 490.2 kB / 0.609 GB, free: 2.613 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.5916, allocations: 4 kB / 0.609 GB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5916, allocations: 7.953 kB / 0.609 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.5916, allocations: 3.984 kB / 0.609 GB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006766/0.5923, allocations: 409.2 kB / 0.6094 GB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.828e-05/0.5924, allocations: 39.95 kB / 0.6095 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.5926, allocations: 31.91 kB / 0.6095 GB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.5926, allocations: 8 kB / 0.6095 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.5926, allocations: 11.25 kB / 0.6095 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.5926, allocations: 0 / 0.6095 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/0.5927, allocations: 4 kB / 0.6095 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.5937, allocations: 0.6662 MB / 0.6102 GB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.594, allocations: 128.5 kB / 0.6103 GB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.5941, allocations: 7.25 kB / 0.6103 GB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.5944, allocations: 31.09 kB / 0.6103 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.5945, allocations: 19.42 kB / 0.6104 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.5946, allocations: 15.98 kB / 0.6104 GB, free: 1.246 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005381/0.5951, allocations: 445.7 kB / 0.6108 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5951, allocations: 0 / 0.6108 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000979/0.5961, allocations: 205.6 kB / 0.611 GB, free: 0.7148 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001973/0.5981, allocations: 1.528 MB / 0.6125 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.5993, allocations: 0.7776 MB / 0.6132 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5993, allocations: 0 / 0.6132 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.5998, allocations: 497.6 kB / 0.6137 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.6004, allocations: 110.5 kB / 0.6138 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007873/0.6083, allocations: 9.762 MB / 0.6234 GB, free: 4.266 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.6089, allocations: 0.9039 MB / 0.6242 GB, free: 3.348 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004287/0.6093, allocations: 120.5 kB / 0.6244 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.6096, allocations: 150.1 kB / 0.6245 GB, free: 3.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.522e-06/0.6096, allocations: 0 / 0.6245 GB, free: 3.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.6439, allocations: 15.18 MB / 0.6393 GB, free: 4.035 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/0.6442, allocations: 228.1 kB / 0.6395 GB, free: 3.785 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.102, allocations: 4 kB / 0.6395 GB, free: 3.781 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat