Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 173.2 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.5 MB / 230.7 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009026/0.0009026, allocations: 104.2 kB / 281.6 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2182/0.2182, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.525e-05, allocations: 4.219 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1482, allocations: 61.91 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4718/0.6201, allocations: 92.86 MB / 0.5855 GB, free: 3.574 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.6205, allocations: 99.92 kB / 0.5856 GB, free: 3.477 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0186/0.6391, allocations: 6.878 MB / 0.5923 GB, free: 12.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6391, allocations: 0 / 0.5923 GB, free: 12.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.6392, allocations: 4 kB / 0.5923 GB, free: 12.59 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005498/0.6397, allocations: 475.1 kB / 0.5927 GB, free: 12.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.6398, allocations: 11.98 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.6398, allocations: 23.72 kB / 0.5928 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.6401, allocations: 206.7 kB / 0.593 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.6401, allocations: 8 kB / 0.593 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.6401, allocations: 15.94 kB / 0.593 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003577/0.6405, allocations: 212.8 kB / 0.5932 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.6408, allocations: 186.4 kB / 0.5934 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.6408, allocations: 0 / 0.5934 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.6408, allocations: 0 / 0.5934 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.6409, allocations: 7.938 kB / 0.5934 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008983/0.6418, allocations: 0.5532 MB / 0.5939 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.6421, allocations: 102.7 kB / 0.594 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.6421, allocations: 24.86 kB / 0.594 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.6422, allocations: 0 / 0.594 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.6422, allocations: 34.52 kB / 0.5941 GB, free: 10.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.6422, allocations: 0 / 0.5941 GB, free: 10.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002496/0.6425, allocations: 101.6 kB / 0.5942 GB, free: 10.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.6425, allocations: 55.41 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.6426, allocations: 167 kB / 0.5944 GB, free: 10.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.6427, allocations: 25.7 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.6428, allocations: 183.5 kB / 0.5946 GB, free: 10.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.6428, allocations: 35.55 kB / 0.5946 GB, free: 10.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/0.6428, allocations: 0 / 0.5946 GB, free: 10.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.643, allocations: 322.8 kB / 0.5949 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.643, allocations: 31.98 kB / 0.595 GB, free: 9.652 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.6432, allocations: 138.1 kB / 0.5951 GB, free: 9.473 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.961e-05/0.6433, allocations: 47.92 kB / 0.5951 GB, free: 9.426 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6433, allocations: 0 / 0.5951 GB, free: 9.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002783/0.6435, allocations: 181.2 kB / 0.5953 GB, free: 9.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.6436, allocations: 8 kB / 0.5953 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6436, allocations: 4 kB / 0.5953 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.6436, allocations: 7.953 kB / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.644, allocations: 84.33 kB / 0.5954 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007346/0.6447, allocations: 1.219 MB / 0.5966 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.6449, allocations: 27.73 kB / 0.5966 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.6449, allocations: 16.14 kB / 0.5966 GB, free: 7.832 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 (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 8.683e-05/0.645, allocations: 112.9 kB / 0.5967 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001794/0.6452, allocations: 109.4 kB / 0.5968 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.6453, allocations: 12 kB / 0.5969 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.6456, allocations: 139.2 kB / 0.597 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6456, allocations: 4 kB / 0.597 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6456, allocations: 3.953 kB / 0.597 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6456, allocations: 0 / 0.597 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.646, allocations: 384.7 kB / 0.5974 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.6461, allocations: 4 kB / 0.5974 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.6463, allocations: 56.03 kB / 0.5974 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.6463, allocations: 0 / 0.5974 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.6464, allocations: 7.984 kB / 0.5974 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000631/0.647, allocations: 1.219 MB / 0.5986 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.647, allocations: 0 / 0.5986 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.6472, allocations: 236.4 kB / 0.5988 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.6473, allocations: 92.91 kB / 0.5989 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.6474, allocations: 8.094 kB / 0.5989 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.6475, allocations: 7.953 kB / 0.5989 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.6476, allocations: 7.984 kB / 0.599 GB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.6476, allocations: 4 kB / 0.599 GB, free: 5.273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.067e-05/0.6477, allocations: 133.5 kB / 0.5991 GB, free: 5.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6477, allocations: 0 / 0.5991 GB, free: 5.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004113/0.6481, allocations: 71.78 kB / 0.5992 GB, free: 5.074 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 (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.0008064/0.6489, allocations: 0.9915 MB / 0.6001 GB, free: 4.047 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003695/0.6493, allocations: 119.8 kB / 0.6002 GB, free: 3.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6493, allocations: 0 / 0.6002 GB, free: 3.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.6495, allocations: 55.91 kB / 0.6003 GB, free: 3.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.6497, allocations: 12.78 kB / 0.6003 GB, free: 3.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006951/0.6505, allocations: 269.5 kB / 0.6006 GB, free: 3.559 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.6508, allocations: 0.7357 MB / 0.6013 GB, free: 2.797 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.241e-05/0.6509, allocations: 17.2 kB / 0.6013 GB, free: 2.781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.442e-05/0.651, allocations: 59.41 kB / 0.6014 GB, free: 2.723 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.651, allocations: 0 / 0.6014 GB, free: 2.723 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.6747, allocations: 4.243 MB / 0.6055 GB, free: 14.51 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.6749, allocations: 190.4 kB / 0.6057 GB, free: 14.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.368, allocations: 0 / 0.6057 GB, free: 14.31 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat