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_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_cpp_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_cpp_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.002356/0.002356, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001174/0.001173, allocations: 92.41 kB / 270.9 MB, free: 8.398 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.5206/0.5206, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005092, allocations: 19.98 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4761/0.6091, allocations: 92.43 MB / 0.5691 GB, free: 10.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/0.6096, allocations: 95.94 kB / 0.5692 GB, free: 10.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03198/0.6416, allocations: 6.843 MB / 0.5759 GB, free: 3.227 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6416, allocations: 0 / 0.5759 GB, free: 3.227 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.6417, allocations: 4 kB / 0.5759 GB, free: 3.223 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008623/0.6425, allocations: 490.7 kB / 0.5763 GB, free: 2.699 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.6426, allocations: 14.88 kB / 0.5764 GB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.725e-05/0.6427, allocations: 58.53 kB / 0.5764 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.6428, allocations: 27.16 kB / 0.5764 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.6431, allocations: 206.8 kB / 0.5766 GB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.6431, allocations: 16.44 kB / 0.5767 GB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.6432, allocations: 16 kB / 0.5767 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006837/0.6439, allocations: 235.2 kB / 0.5769 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.6439, allocations: 0 / 0.5769 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.644, allocations: 11.94 kB / 0.5769 GB, free: 2.078 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.644, allocations: 8 kB / 0.5769 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000768/0.6448, allocations: 266.6 kB / 0.5772 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.6463, allocations: 0.6235 MB / 0.5778 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.647, allocations: 114.7 kB / 0.5779 GB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/0.647, allocations: 7.984 kB / 0.5779 GB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.6471, allocations: 34.69 kB / 0.5779 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.384e-06/0.6471, allocations: 0 / 0.5779 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000893/0.648, allocations: 181.3 kB / 0.5781 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.648, allocations: 59.41 kB / 0.5782 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.6484, allocations: 238 kB / 0.5784 GB, free: 488 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.6485, allocations: 25.7 kB / 0.5784 GB, free: 456 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.6486, allocations: 221.8 kB / 0.5786 GB, free: 232 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.6487, allocations: 36.59 kB / 0.5787 GB, free: 196 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.6487, allocations: 0 / 0.5787 GB, free: 196 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.6489, allocations: 326.8 kB / 0.579 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.6492, allocations: 55.95 kB / 0.579 GB, free: 15.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.6496, allocations: 144.8 kB / 0.5792 GB, free: 15.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.6499, allocations: 73.11 kB / 0.5792 GB, free: 15.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6499, allocations: 0 / 0.5792 GB, free: 15.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008392/0.6508, allocations: 241.5 kB / 0.5795 GB, free: 15.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.6508, allocations: 8 kB / 0.5795 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.6508, allocations: 4 kB / 0.5795 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.6508, allocations: 4 kB / 0.5795 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.6515, allocations: 88.27 kB / 0.5796 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.6525, allocations: 1.215 MB / 0.5807 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.6529, allocations: 39.62 kB / 0.5808 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.653, allocations: 15.98 kB / 0.5808 GB, free: 13.89 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 () * 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.0001891/0.6532, allocations: 137.9 kB / 0.5809 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.6533, allocations: 27.67 kB / 0.581 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.654, allocations: 179.2 kB / 0.5811 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/0.6541, allocations: 4 kB / 0.5811 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.6541, allocations: 0 / 0.5811 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6541, allocations: 0 / 0.5811 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.6552, allocations: 471.9 kB / 0.5816 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6552, allocations: 0 / 0.5816 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.6557, allocations: 59.95 kB / 0.5816 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.6557, allocations: 0 / 0.5816 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.6557, allocations: 4.062 kB / 0.5816 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000924/0.6567, allocations: 1.211 MB / 0.5828 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6567, allocations: 0 / 0.5828 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.6574, allocations: 284.4 kB / 0.5831 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.6575, allocations: 96.83 kB / 0.5832 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.6576, allocations: 4 kB / 0.5832 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.6578, allocations: 11.98 kB / 0.5832 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.6579, allocations: 15.92 kB / 0.5832 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.6579, allocations: 4 kB / 0.5832 GB, free: 11.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003071/0.6583, allocations: 182 kB / 0.5834 GB, free: 11.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6583, allocations: 192 / 0.5834 GB, free: 11.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005635/0.6589, allocations: 75.94 kB / 0.5835 GB, free: 10.98 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 () * 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.001381/0.6602, allocations: 1.035 MB / 0.5845 GB, free: 9.902 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009082/0.6612, allocations: 163.8 kB / 0.5846 GB, free: 9.742 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6612, allocations: 0 / 0.5846 GB, free: 9.742 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004951/0.6617, allocations: 84.88 kB / 0.5847 GB, free: 9.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.6621, allocations: 25.45 kB / 0.5847 GB, free: 9.629 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.6665, allocations: 3.525 MB / 0.5882 GB, free: 5.988 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.6669, allocations: 0.7405 MB / 0.5889 GB, free: 5.223 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.6671, allocations: 67.36 kB / 0.589 GB, free: 5.156 MB / 410.7 MB Notification: Performance of SimCode: time 9.21e-07/0.6671, allocations: 0 / 0.589 GB, free: 5.156 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.139/3.806, allocations: 5.324 MB / 0.5942 GB, free: 15.86 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat