Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.002288/0.002288, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 94.3 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3022/0.3022, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.615e-05/2.629e-05, allocations: 224 / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4162, allocations: 58.86 MB / 477.2 MB, free: 5.172 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.6018, allocations: 97.97 MB / 0.5617 GB, free: 1.203 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003995/0.6023, allocations: 95.94 kB / 0.5618 GB, free: 1.109 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05595/0.6583, allocations: 11.07 MB / 0.5726 GB, free: 6 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6583, allocations: 0 / 0.5726 GB, free: 6 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.6584, allocations: 4 kB / 0.5726 GB, free: 5.996 MB / 411.1 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.0009954/0.6594, allocations: 0.5651 MB / 0.5731 GB, free: 5.387 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.6594, allocations: 12.03 kB / 0.5732 GB, free: 5.375 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.6596, allocations: 43.52 kB / 0.5732 GB, free: 5.332 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.66, allocations: 234.5 kB / 0.5734 GB, free: 5.062 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.66, allocations: 12 kB / 0.5734 GB, free: 5.051 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.6601, allocations: 20 kB / 0.5735 GB, free: 5.031 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005635/0.6606, allocations: 229.4 kB / 0.5737 GB, free: 4.805 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008672/0.6615, allocations: 0.5017 MB / 0.5742 GB, free: 4.172 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.6616, allocations: 3.938 kB / 0.5742 GB, free: 4.168 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.6616, allocations: 4 kB / 0.5742 GB, free: 4.164 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.6616, allocations: 12 kB / 0.5742 GB, free: 4.152 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003877/0.6655, allocations: 3.946 MB / 0.578 GB, free: 16 kB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.6661, allocations: 102.5 kB / 0.5781 GB, free: 15.91 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.6662, allocations: 20.86 kB / 0.5782 GB, free: 15.88 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.6662, allocations: 0 / 0.5782 GB, free: 15.88 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.6663, allocations: 34.56 kB / 0.5782 GB, free: 15.84 MB / 427.1 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.6663, allocations: 0 / 0.5782 GB, free: 15.84 MB / 427.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003868/0.6667, allocations: 89.41 kB / 0.5783 GB, free: 15.75 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.6667, allocations: 63.33 kB / 0.5783 GB, free: 15.67 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.6671, allocations: 222.2 kB / 0.5785 GB, free: 15.45 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.6671, allocations: 29.64 kB / 0.5786 GB, free: 15.42 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.6674, allocations: 325 kB / 0.5789 GB, free: 15.1 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.505e-05/0.6674, allocations: 31.64 kB / 0.5789 GB, free: 15.07 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.6675, allocations: 0 / 0.5789 GB, free: 15.07 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6676, allocations: 322.8 kB / 0.5792 GB, free: 14.74 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.6678, allocations: 40.64 kB / 0.5793 GB, free: 14.7 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.6681, allocations: 238 kB / 0.5795 GB, free: 14.36 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.6683, allocations: 79.95 kB / 0.5796 GB, free: 14.29 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/0.6684, allocations: 4 kB / 0.5796 GB, free: 14.28 MB / 427.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006972/0.6691, allocations: 261.7 kB / 0.5798 GB, free: 14.02 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.6691, allocations: 8 kB / 0.5798 GB, free: 14.01 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.6691, allocations: 8 kB / 0.5798 GB, free: 14 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/0.6692, allocations: 11.98 kB / 0.5798 GB, free: 13.99 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007788/0.67, allocations: 103.8 kB / 0.5799 GB, free: 13.89 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.6711, allocations: 1.227 MB / 0.5811 GB, free: 12.62 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.6715, allocations: 43.58 kB / 0.5812 GB, free: 12.57 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.6716, allocations: 20 kB / 0.5812 GB, free: 12.55 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001465/0.6718, allocations: 125 kB / 0.5813 GB, free: 12.43 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003113/0.6721, allocations: 101.4 kB / 0.5814 GB, free: 12.32 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.6722, allocations: 19.72 kB / 0.5814 GB, free: 12.3 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.6726, allocations: 135.4 kB / 0.5816 GB, free: 12.16 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6727, allocations: 0 / 0.5816 GB, free: 12.16 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6727, allocations: 0 / 0.5816 GB, free: 12.16 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6727, allocations: 0 / 0.5816 GB, free: 12.16 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.6731, allocations: 246.1 kB / 0.5818 GB, free: 11.88 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.6732, allocations: 0 / 0.5818 GB, free: 11.88 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/0.6737, allocations: 55.91 kB / 0.5819 GB, free: 11.83 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.6737, allocations: 0 / 0.5819 GB, free: 11.83 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.6737, allocations: 4 kB / 0.5819 GB, free: 11.82 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009405/0.6747, allocations: 1.219 MB / 0.583 GB, free: 10.56 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.6747, allocations: 3.938 kB / 0.583 GB, free: 10.55 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.6751, allocations: 194.1 kB / 0.5832 GB, free: 10.35 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.6752, allocations: 100.8 kB / 0.5833 GB, free: 10.23 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.6753, allocations: 0 / 0.5833 GB, free: 10.23 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.6755, allocations: 8 kB / 0.5833 GB, free: 10.23 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.6756, allocations: 7.984 kB / 0.5833 GB, free: 10.22 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.6757, allocations: 8 kB / 0.5834 GB, free: 10.21 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.6759, allocations: 162 kB / 0.5835 GB, free: 10.05 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6759, allocations: 3.938 kB / 0.5835 GB, free: 10.05 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.000982/0.6769, allocations: 127.7 kB / 0.5836 GB, free: 9.922 MB / 427.1 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 (7): * Single equations (assignments): 5 * 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.001604/0.6786, allocations: 0.888 MB / 0.5845 GB, free: 9.008 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0008234/0.6794, allocations: 151.7 kB / 0.5846 GB, free: 8.859 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6795, allocations: 0 / 0.5846 GB, free: 8.859 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.6798, allocations: 53.92 kB / 0.5847 GB, free: 8.809 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.6802, allocations: 16.77 kB / 0.5847 GB, free: 8.789 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.6817, allocations: 389.1 kB / 0.5851 GB, free: 8.367 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.6822, allocations: 0.775 MB / 0.5858 GB, free: 7.566 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.6824, allocations: 103.3 kB / 0.5859 GB, free: 7.465 MB / 427.1 MB Notification: Performance of SimCode: time 3.777e-06/0.6824, allocations: 0 / 0.5859 GB, free: 7.465 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.764/3.446, allocations: 7.622 MB / 0.5934 GB, free: 15.84 MB / 443.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat