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.001654/0.001654, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008389/0.000839, allocations: 99.52 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.217/0.217, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.864e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1325, allocations: 58.85 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4024/0.535, allocations: 98.56 MB / 0.5623 GB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.5352, allocations: 98.89 kB / 0.5624 GB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06528/0.6005, allocations: 23.94 MB / 0.5858 GB, free: 8.754 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.6006, allocations: 0 / 0.5858 GB, free: 8.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.6006, allocations: 4 kB / 0.5858 GB, free: 8.75 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001307/0.6019, allocations: 0.7445 MB / 0.5865 GB, free: 7.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.602, allocations: 12.03 kB / 0.5865 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.6021, allocations: 58.86 kB / 0.5866 GB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.6026, allocations: 304.5 kB / 0.5868 GB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.6026, allocations: 20 kB / 0.5869 GB, free: 7.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.6027, allocations: 28 kB / 0.5869 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006895/0.6034, allocations: 456 kB / 0.5873 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009525/0.6044, allocations: 0.6457 MB / 0.588 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.6044, allocations: 4 kB / 0.588 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.6044, allocations: 4 kB / 0.588 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.6045, allocations: 29.23 kB / 0.588 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.6067, allocations: 1.527 MB / 0.5895 GB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.6071, allocations: 264 kB / 0.5897 GB, free: 5.035 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.6073, allocations: 120.7 kB / 0.5899 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/0.6074, allocations: 8 kB / 0.5899 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.6074, allocations: 37.56 kB / 0.5899 GB, free: 4.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.6074, allocations: 0 / 0.5899 GB, free: 4.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006103/0.608, allocations: 298 kB / 0.5902 GB, free: 4.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.6081, allocations: 118.4 kB / 0.5903 GB, free: 4.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.6084, allocations: 300.5 kB / 0.5906 GB, free: 4.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.6085, allocations: 25.7 kB / 0.5906 GB, free: 4.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.6087, allocations: 303 kB / 0.5909 GB, free: 3.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.6088, allocations: 74 kB / 0.591 GB, free: 3.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.6088, allocations: 0 / 0.591 GB, free: 3.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.609, allocations: 337.2 kB / 0.5913 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.6092, allocations: 157.8 kB / 0.5914 GB, free: 3.398 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.6096, allocations: 417.9 kB / 0.5918 GB, free: 2.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.6099, allocations: 226.1 kB / 0.592 GB, free: 2.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.61, allocations: 11.94 kB / 0.5921 GB, free: 2.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008338/0.6108, allocations: 0.5395 MB / 0.5926 GB, free: 2.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6108, allocations: 8 kB / 0.5926 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-05/0.6109, allocations: 47.95 kB / 0.5926 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.611, allocations: 24.03 kB / 0.5927 GB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.6113, allocations: 75.14 kB / 0.5927 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.6113, allocations: 19.92 kB / 0.5928 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.6116, allocations: 53.06 kB / 0.5928 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.6117, allocations: 42.8 kB / 0.5928 GB, free: 1.941 MB / 394.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 () * 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.0001391/0.6118, allocations: 138.2 kB / 0.593 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005116/0.6124, allocations: 295.7 kB / 0.5933 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.6125, allocations: 23.72 kB / 0.5933 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007776/0.6132, allocations: 440.6 kB / 0.5937 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.6133, allocations: 7.953 kB / 0.5937 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6133, allocations: 4 kB / 0.5937 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6133, allocations: 0 / 0.5937 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.6139, allocations: 366.1 kB / 0.5941 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-05/0.6139, allocations: 43.95 kB / 0.5941 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.6141, allocations: 31.97 kB / 0.5941 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.6141, allocations: 0 / 0.5941 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.6141, allocations: 11.98 kB / 0.5941 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6142, allocations: 4 kB / 0.5942 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6142, allocations: 0 / 0.5942 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.6147, allocations: 0.5633 MB / 0.5947 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.6149, allocations: 104.9 kB / 0.5948 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.6149, allocations: 0 / 0.5948 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.6152, allocations: 23.98 kB / 0.5948 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.6153, allocations: 27.59 kB / 0.5949 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.6153, allocations: 11.98 kB / 0.5949 GB, free: 15.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.6155, allocations: 211.8 kB / 0.5951 GB, free: 15.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6155, allocations: 0 / 0.5951 GB, free: 15.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009243/0.6164, allocations: 214.2 kB / 0.5953 GB, free: 15.54 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 () * 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.001348/0.6178, allocations: 1.425 MB / 0.5967 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007202/0.6185, allocations: 0.6656 MB / 0.5973 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6185, allocations: 0 / 0.5973 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.6189, allocations: 456.2 kB / 0.5977 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.6193, allocations: 31.55 kB / 0.5978 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.6212, allocations: 0.8509 MB / 0.5986 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.6217, allocations: 0.9044 MB / 0.5995 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002346/0.622, allocations: 99.05 kB / 0.5996 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.6221, allocations: 138.1 kB / 0.5997 GB, free: 11 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.6221, allocations: 4 kB / 0.5997 GB, free: 11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.6531, allocations: 9.643 MB / 0.6091 GB, free: 1.355 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.6533, allocations: 185.5 kB / 0.6093 GB, free: 1.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.647, allocations: 0 / 0.6093 GB, free: 1.16 MB / 410.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