Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002343/0.002344, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008749/0.0008751, allocations: 95.69 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.81e-05, allocations: 4 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.5779, allocations: 96.12 MB / 0.5983 GB, free: 6.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.5782, allocations: 99.92 kB / 0.5984 GB, free: 6.027 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02157/0.5998, allocations: 8.039 MB / 0.6063 GB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5999, allocations: 8 kB / 0.6063 GB, free: 15.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.5999, allocations: 0 / 0.6063 GB, free: 15.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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006776/0.6006, allocations: 473.3 kB / 0.6067 GB, free: 15.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6006, allocations: 8.031 kB / 0.6068 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.829e-05/0.6007, allocations: 23.72 kB / 0.6068 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.601, allocations: 211.6 kB / 0.607 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.601, allocations: 4 kB / 0.607 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.601, allocations: 19.94 kB / 0.607 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002104/0.6013, allocations: 115 kB / 0.6071 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.6015, allocations: 153.7 kB / 0.6073 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.6015, allocations: 3.984 kB / 0.6073 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.6016, allocations: 0 / 0.6073 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.6016, allocations: 7.938 kB / 0.6073 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008576/0.6024, allocations: 0.5186 MB / 0.6078 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.6026, allocations: 41.45 kB / 0.6078 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.6026, allocations: 20.55 kB / 0.6078 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.6027, allocations: 4.031 kB / 0.6078 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.6027, allocations: 34.12 kB / 0.6079 GB, free: 13.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.6027, allocations: 0 / 0.6079 GB, free: 13.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002342/0.603, allocations: 75.88 kB / 0.6079 GB, free: 13.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.603, allocations: 55.41 kB / 0.608 GB, free: 13.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.6032, allocations: 162.3 kB / 0.6082 GB, free: 13.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.6032, allocations: 25.7 kB / 0.6082 GB, free: 13.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.6033, allocations: 169.7 kB / 0.6083 GB, free: 13.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.6033, allocations: 19 kB / 0.6084 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.6034, allocations: 3.938 kB / 0.6084 GB, free: 13.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.6035, allocations: 325.9 kB / 0.6087 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.338e-05/0.6036, allocations: 30.25 kB / 0.6087 GB, free: 13.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.6038, allocations: 113.3 kB / 0.6088 GB, free: 13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.6039, allocations: 38.86 kB / 0.6088 GB, free: 12.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6039, allocations: 0 / 0.6088 GB, free: 12.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000261/0.6041, allocations: 150.1 kB / 0.609 GB, free: 12.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6042, allocations: 9.406 kB / 0.609 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.345e-05/0.6042, allocations: 12 kB / 0.609 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.6042, allocations: 4 kB / 0.609 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.6044, allocations: 43.16 kB / 0.6091 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6044, allocations: 8 kB / 0.6091 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.6046, allocations: 15.84 kB / 0.6091 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.6046, allocations: 12 kB / 0.6091 GB, free: 12.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.905e-05/0.6047, allocations: 115.9 kB / 0.6092 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001543/0.6048, allocations: 71.97 kB / 0.6093 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.6049, allocations: 15.81 kB / 0.6093 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.6051, allocations: 119.4 kB / 0.6094 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.6052, allocations: 0 / 0.6094 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6052, allocations: 0 / 0.6094 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6052, allocations: 0 / 0.6094 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.6054, allocations: 209.3 kB / 0.6096 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.6054, allocations: 8 kB / 0.6096 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.6055, allocations: 11.98 kB / 0.6096 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.6055, allocations: 192 / 0.6096 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6055, allocations: 0 / 0.6096 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6055, allocations: 0 / 0.6096 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6055, allocations: 4 kB / 0.6096 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.6058, allocations: 183.4 kB / 0.6098 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.6058, allocations: 84.92 kB / 0.6099 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.6059, allocations: 4 kB / 0.6099 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.606, allocations: 7.984 kB / 0.6099 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.606, allocations: 4 kB / 0.6099 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.606, allocations: 4 kB / 0.6099 GB, free: 11.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.884e-05/0.6061, allocations: 124.7 kB / 0.61 GB, free: 11.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.405e-06/0.6061, allocations: 0 / 0.61 GB, free: 11.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004693/0.6066, allocations: 94.58 kB / 0.6101 GB, free: 11.66 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008039/0.6074, allocations: 0.8076 MB / 0.6109 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.6078, allocations: 137.6 kB / 0.611 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6078, allocations: 0 / 0.611 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.6079, allocations: 101.1 kB / 0.6111 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.6082, allocations: 6.625 kB / 0.6111 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007649/0.6089, allocations: 263.7 kB / 0.6114 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.6093, allocations: 0.7318 MB / 0.6121 GB, free: 9.559 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.942e-05/0.6094, allocations: 12.88 kB / 0.6121 GB, free: 9.543 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.6095, allocations: 53.05 kB / 0.6122 GB, free: 9.527 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6095, allocations: 0 / 0.6122 GB, free: 9.527 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.6365, allocations: 4.787 MB / 0.6168 GB, free: 4.766 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/0.6368, allocations: 195.6 kB / 0.617 GB, free: 4.562 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.508, allocations: 1.828 kB / 0.617 GB, free: 4.562 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat