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.001502/0.001502, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.992/1.992, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001142/0.001141, allocations: 86.88 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5463/0.5463, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004737, allocations: 8 kB / 431.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1306, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5155/0.6462, allocations: 98.72 MB / 0.5753 GB, free: 3.719 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004366/0.6467, allocations: 102.9 kB / 0.5754 GB, free: 3.621 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05674/0.7035, allocations: 11.31 MB / 0.5864 GB, free: 8.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.152e-06/0.7035, allocations: 0 / 0.5864 GB, free: 8.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.7035, allocations: 11.88 kB / 0.5864 GB, free: 8.316 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001089/0.7046, allocations: 0.5994 MB / 0.587 GB, free: 7.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.7047, allocations: 12.03 kB / 0.587 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.7048, allocations: 78.52 kB / 0.5871 GB, free: 7.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.43e-05/0.7049, allocations: 38.97 kB / 0.5871 GB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.7053, allocations: 234.5 kB / 0.5873 GB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.7054, allocations: 25 kB / 0.5874 GB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.7054, allocations: 36 kB / 0.5874 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.7066, allocations: 0.5724 MB / 0.588 GB, free: 6.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.7066, allocations: 11.94 kB / 0.588 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/0.7067, allocations: 21.03 kB / 0.588 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.7067, allocations: 8 kB / 0.588 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000893/0.7076, allocations: 341 kB / 0.5883 GB, free: 6.133 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.7113, allocations: 4.051 MB / 0.5923 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/0.712, allocations: 106.5 kB / 0.5924 GB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.712, allocations: 7.938 kB / 0.5924 GB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.7121, allocations: 35.44 kB / 0.5924 GB, free: 1.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.374e-06/0.7121, allocations: 0 / 0.5924 GB, free: 1.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008902/0.713, allocations: 185.2 kB / 0.5926 GB, free: 1.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.713, allocations: 51.41 kB / 0.5927 GB, free: 1.469 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005957/0.7137, allocations: 360.9 kB / 0.593 GB, free: 1.109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.7137, allocations: 29.7 kB / 0.593 GB, free: 1.074 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.7139, allocations: 289.5 kB / 0.5933 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.714, allocations: 31.62 kB / 0.5933 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.714, allocations: 4.75 kB / 0.5933 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7142, allocations: 326.8 kB / 0.5936 GB, free: 436 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.7145, allocations: 68.55 kB / 0.5937 GB, free: 364 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.715, allocations: 262.4 kB / 0.594 GB, free: 15.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.7154, allocations: 99.8 kB / 0.5941 GB, free: 15.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.7154, allocations: 0 / 0.5941 GB, free: 15.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001032/0.7165, allocations: 341.3 kB / 0.5944 GB, free: 15.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.7165, allocations: 9 kB / 0.5944 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.7165, allocations: 11.94 kB / 0.5944 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/0.7166, allocations: 16 kB / 0.5944 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.7174, allocations: 111.8 kB / 0.5945 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.7185, allocations: 1.211 MB / 0.5957 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.719, allocations: 67.55 kB / 0.5958 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.7191, allocations: 24 kB / 0.5958 GB, free: 14.07 MB / 426.7 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 () * Number of clocked 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.0002483/0.7194, allocations: 157.6 kB / 0.5959 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/0.7195, allocations: 35.53 kB / 0.596 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007967/0.7203, allocations: 190.6 kB / 0.5962 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.7203, allocations: 3.953 kB / 0.5962 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.7203, allocations: 0 / 0.5962 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.7203, allocations: 3.938 kB / 0.5962 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/0.7208, allocations: 285.4 kB / 0.5964 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7208, allocations: 0 / 0.5964 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.7213, allocations: 51.97 kB / 0.5965 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.7214, allocations: 0 / 0.5965 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.7214, allocations: 3.984 kB / 0.5965 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009178/0.7223, allocations: 1.207 MB / 0.5977 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7223, allocations: 0 / 0.5977 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.723, allocations: 247.2 kB / 0.5979 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.7231, allocations: 108.6 kB / 0.598 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/0.7232, allocations: 4 kB / 0.598 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.7235, allocations: 11.92 kB / 0.598 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.7236, allocations: 12 kB / 0.598 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.7236, allocations: 4 kB / 0.598 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004882/0.7241, allocations: 267.1 kB / 0.5983 GB, free: 11.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7241, allocations: 0 / 0.5983 GB, free: 11.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009053/0.7251, allocations: 131.9 kB / 0.5984 GB, free: 11.23 MB / 426.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 (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.001705/0.7268, allocations: 0.9263 MB / 0.5993 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.7278, allocations: 210.4 kB / 0.5995 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7279, allocations: 0 / 0.5995 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.7284, allocations: 75.89 kB / 0.5996 GB, free: 10.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.7288, allocations: 30.52 kB / 0.5996 GB, free: 9.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006789/0.7356, allocations: 6.818 MB / 0.6063 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.7361, allocations: 0.7794 MB / 0.607 GB, free: 2.168 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.7364, allocations: 107.3 kB / 0.6072 GB, free: 2.062 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/0.7364, allocations: 0 / 0.6072 GB, free: 2.062 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.804/3.54, allocations: 8.432 MB / 0.6154 GB, free: 9.652 MB / 442.7 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