Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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.00107/0.00107, allocations: 183.8 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.487/1.487, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000835/0.0008351, allocations: 98.78 kB / 270.2 MB, free: 13.35 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.1979/0.1979, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 8 kB / 431.5 MB, free: 19.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1095, allocations: 58.86 MB / 490.4 MB, free: 8.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4559, allocations: 92.43 MB / 0.5691 GB, free: 7.293 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4562, allocations: 99.81 kB / 0.5692 GB, free: 7.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01829/0.4745, allocations: 6.84 MB / 0.5759 GB, free: 1.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4746, allocations: 4 kB / 0.5759 GB, free: 1.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.4746, allocations: 0 / 0.5759 GB, free: 1.344 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005303/0.4752, allocations: 485.9 kB / 0.5764 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4752, allocations: 8.031 kB / 0.5764 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.366e-05/0.4753, allocations: 55.98 kB / 0.5764 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.4753, allocations: 19.72 kB / 0.5765 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.4755, allocations: 214.1 kB / 0.5767 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4755, allocations: 19.62 kB / 0.5767 GB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.4756, allocations: 22.56 kB / 0.5767 GB, free: 496 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.476, allocations: 233.8 kB / 0.5769 GB, free: 324 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.476, allocations: 0 / 0.5769 GB, free: 324 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.476, allocations: 10.81 kB / 0.5769 GB, free: 320 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4761, allocations: 4 kB / 0.5769 GB, free: 316 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004402/0.4765, allocations: 259.9 kB / 0.5772 GB, free: 144 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000937/0.4774, allocations: 0.6267 MB / 0.5778 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.4778, allocations: 121.2 kB / 0.5779 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.4778, allocations: 3.984 kB / 0.5779 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.4779, allocations: 34.56 kB / 0.578 GB, free: 15.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.4779, allocations: 3.938 kB / 0.578 GB, free: 15.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005114/0.4784, allocations: 185.4 kB / 0.5781 GB, free: 15.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.4784, allocations: 51.41 kB / 0.5782 GB, free: 15.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.4787, allocations: 241.5 kB / 0.5784 GB, free: 14.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.4787, allocations: 25.7 kB / 0.5784 GB, free: 14.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.4788, allocations: 168.3 kB / 0.5786 GB, free: 14.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.4789, allocations: 30.8 kB / 0.5786 GB, free: 14.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.4789, allocations: 3.25 kB / 0.5786 GB, free: 14.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.479, allocations: 336.6 kB / 0.5789 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.4792, allocations: 53.91 kB / 0.579 GB, free: 14.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.4794, allocations: 150.1 kB / 0.5791 GB, free: 14.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.4795, allocations: 78.92 kB / 0.5792 GB, free: 14.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4795, allocations: 0 / 0.5792 GB, free: 14.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004436/0.48, allocations: 246 kB / 0.5795 GB, free: 13.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.48, allocations: 11.44 kB / 0.5795 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.48, allocations: 4 kB / 0.5795 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.4801, allocations: 4 kB / 0.5795 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.4805, allocations: 91.98 kB / 0.5796 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007033/0.4812, allocations: 1.212 MB / 0.5807 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.4814, allocations: 39 kB / 0.5808 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.4814, allocations: 23.48 kB / 0.5808 GB, free: 12.54 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.4816, allocations: 130.6 kB / 0.5809 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.4816, allocations: 27.67 kB / 0.581 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/0.482, allocations: 181.4 kB / 0.5811 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4821, allocations: 4 kB / 0.5811 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4821, allocations: 0 / 0.5811 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4821, allocations: 4 kB / 0.5811 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.4827, allocations: 460.7 kB / 0.5816 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4827, allocations: 0 / 0.5816 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.4829, allocations: 67.89 kB / 0.5816 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.483, allocations: 3.984 kB / 0.5816 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.483, allocations: 4 kB / 0.5816 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006067/0.4836, allocations: 1.211 MB / 0.5828 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4836, allocations: 0 / 0.5828 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.484, allocations: 283.7 kB / 0.5831 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.4841, allocations: 92.83 kB / 0.5832 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.4841, allocations: 4 kB / 0.5832 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.4843, allocations: 11.92 kB / 0.5832 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.4843, allocations: 15.92 kB / 0.5832 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.4844, allocations: 8 kB / 0.5832 GB, free: 9.992 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.4845, allocations: 188.1 kB / 0.5834 GB, free: 9.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4845, allocations: 3.938 kB / 0.5834 GB, free: 9.836 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004266/0.485, allocations: 71.31 kB / 0.5835 GB, free: 9.77 MB / 394.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008787/0.4858, allocations: 1.032 MB / 0.5845 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005264/0.4864, allocations: 168.5 kB / 0.5846 GB, free: 8.578 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4864, allocations: 0.875 kB / 0.5846 GB, free: 8.578 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.4867, allocations: 95 kB / 0.5847 GB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.4869, allocations: 15.83 kB / 0.5848 GB, free: 8.477 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.4899, allocations: 3.488 MB / 0.5882 GB, free: 5.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.4902, allocations: 0.7365 MB / 0.5889 GB, free: 4.289 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.045e-05/0.4903, allocations: 25.94 kB / 0.5889 GB, free: 4.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.4904, allocations: 57.05 kB / 0.589 GB, free: 4.246 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4904, allocations: 0 / 0.589 GB, free: 4.246 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.5094, allocations: 6.097 MB / 0.5949 GB, free: 14.22 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/0.5097, allocations: 258.3 kB / 0.5952 GB, free: 13.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.49, allocations: 0 / 0.5952 GB, free: 13.88 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat