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_roundTube.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_roundTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.001493/0.001493, allocations: 185.1 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.56/1.56, 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.000834/0.0008339, allocations: 90.86 kB / 270.2 MB, free: 13.38 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.1992/0.1992, allocations: 43.56 MB / 362 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003775, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 58.85 MB / 490.4 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.343/0.4457, allocations: 101.1 MB / 0.5776 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.446, allocations: 96 kB / 0.5777 GB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03539/0.4814, allocations: 12.39 MB / 0.5898 GB, free: 3.691 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4815, allocations: 0 / 0.5898 GB, free: 3.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.4815, allocations: 4 kB / 0.5898 GB, free: 3.688 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009902/0.4825, allocations: 0.6121 MB / 0.5904 GB, free: 3.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4826, allocations: 8.031 kB / 0.5904 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.828e-05/0.4827, allocations: 77.89 kB / 0.5905 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.4827, allocations: 43.48 kB / 0.5905 GB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.4831, allocations: 242.2 kB / 0.5907 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.4831, allocations: 28.56 kB / 0.5908 GB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.4831, allocations: 31.75 kB / 0.5908 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.4837, allocations: 367.1 kB / 0.5912 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4837, allocations: 0 / 0.5912 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.4837, allocations: 15.31 kB / 0.5912 GB, free: 2.383 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.4837, allocations: 8 kB / 0.5912 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.4841, allocations: 272 kB / 0.5914 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.4853, allocations: 0.8929 MB / 0.5923 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.4855, allocations: 105.2 kB / 0.5924 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.4856, allocations: 0 / 0.5924 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.4856, allocations: 38.55 kB / 0.5924 GB, free: 1.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.4856, allocations: 0 / 0.5924 GB, free: 1.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007056/0.4863, allocations: 0.5084 MB / 0.5929 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.4864, allocations: 51.41 kB / 0.593 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.4867, allocations: 350.2 kB / 0.5933 GB, free: 360 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.4868, allocations: 25.7 kB / 0.5934 GB, free: 328 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.4869, allocations: 248.2 kB / 0.5936 GB, free: 136 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.487, allocations: 31.77 kB / 0.5936 GB, free: 108 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.487, allocations: 7.688 kB / 0.5936 GB, free: 108 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4872, allocations: 354.4 kB / 0.594 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.4873, allocations: 59.81 kB / 0.594 GB, free: 15.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.4876, allocations: 268.5 kB / 0.5943 GB, free: 15.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.4878, allocations: 98.91 kB / 0.5944 GB, free: 15.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4878, allocations: 4 kB / 0.5944 GB, free: 15.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005714/0.4884, allocations: 346.9 kB / 0.5947 GB, free: 15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4885, allocations: 8 kB / 0.5947 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/0.4885, allocations: 27.98 kB / 0.5947 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.4885, allocations: 8 kB / 0.5947 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.4887, allocations: 64.31 kB / 0.5948 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.4887, allocations: 15.92 kB / 0.5948 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.489, allocations: 59.31 kB / 0.5949 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.489, allocations: 27.88 kB / 0.5949 GB, free: 14.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001298/0.4891, allocations: 155.1 kB / 0.5951 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.4892, allocations: 38.66 kB / 0.5951 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005133/0.4897, allocations: 220.5 kB / 0.5953 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.4897, allocations: 4 kB / 0.5953 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4897, allocations: 0 / 0.5953 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4897, allocations: 0 / 0.5953 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.4901, allocations: 286.3 kB / 0.5956 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-05/0.4901, allocations: 23.98 kB / 0.5956 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.113e-05/0.4902, allocations: 11.98 kB / 0.5956 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4902, allocations: 0 / 0.5956 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.4902, allocations: 4 kB / 0.5956 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4902, allocations: 4 kB / 0.5956 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4902, allocations: 0 / 0.5956 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.4906, allocations: 264.6 kB / 0.5959 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-05/0.4907, allocations: 104.7 kB / 0.596 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.4907, allocations: 0 / 0.596 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.4909, allocations: 11.98 kB / 0.596 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.4909, allocations: 4 kB / 0.596 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.491, allocations: 15.92 kB / 0.596 GB, free: 13.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000238/0.4912, allocations: 263.2 kB / 0.5963 GB, free: 13.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4912, allocations: 3.938 kB / 0.5963 GB, free: 13.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006963/0.4919, allocations: 148.6 kB / 0.5964 GB, free: 13.32 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001173/0.4931, allocations: 0.966 MB / 0.5973 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006433/0.4937, allocations: 319.3 kB / 0.5976 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4938, allocations: 0 / 0.5976 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.4941, allocations: 197.4 kB / 0.5978 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.4944, allocations: 31.05 kB / 0.5979 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/0.4989, allocations: 6.375 MB / 0.6041 GB, free: 5.543 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.4993, allocations: 0.7833 MB / 0.6049 GB, free: 4.734 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.4994, allocations: 38.89 kB / 0.6049 GB, free: 4.691 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.4995, allocations: 114.6 kB / 0.605 GB, free: 4.656 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4995, allocations: 0 / 0.605 GB, free: 4.656 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.5352, allocations: 11.94 MB / 0.6167 GB, free: 8.777 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002847/0.5356, allocations: 263.9 kB / 0.6169 GB, free: 8.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.07, allocations: 0 / 0.6169 GB, free: 8.43 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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_roundTube_res.mat does not exist to compare? outputFormat=mat