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.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,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.002436/0.002435, allocations: 185.9 kB / 16.41 MB, free: 5.723 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.219/2.219, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001166/0.001166, allocations: 81.86 kB / 270.9 MB, free: 8.391 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.5795/0.5795, allocations: 43.57 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004577, allocations: 8 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1342, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4766/0.6109, allocations: 94.43 MB / 0.5711 GB, free: 8.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003887/0.6113, allocations: 91.94 kB / 0.5712 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03721/0.6486, allocations: 7.896 MB / 0.5789 GB, free: 132 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.6486, allocations: 0 / 0.5789 GB, free: 132 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.6486, allocations: 4 kB / 0.5789 GB, free: 128 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009423/0.6496, allocations: 0.4904 MB / 0.5793 GB, free: 15.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6497, allocations: 8.031 kB / 0.5794 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.872e-05/0.6498, allocations: 50.55 kB / 0.5794 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.6498, allocations: 23.16 kB / 0.5794 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.6501, allocations: 206.8 kB / 0.5796 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.6502, allocations: 16 kB / 0.5796 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.6502, allocations: 16 kB / 0.5797 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.6509, allocations: 214.6 kB / 0.5799 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.6509, allocations: 4 kB / 0.5799 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.6509, allocations: 4 kB / 0.5799 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.651, allocations: 5.031 kB / 0.5799 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/0.6515, allocations: 156.3 kB / 0.58 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.6529, allocations: 0.5767 MB / 0.5806 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.6532, allocations: 62.55 kB / 0.5806 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/0.6533, allocations: 0 / 0.5806 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.6533, allocations: 38.5 kB / 0.5807 GB, free: 14.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.6534, allocations: 4 kB / 0.5807 GB, free: 14.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009075/0.6543, allocations: 311.7 kB / 0.581 GB, free: 13.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.6544, allocations: 51.41 kB / 0.581 GB, free: 13.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.6548, allocations: 225.8 kB / 0.5812 GB, free: 13.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.6548, allocations: 25.7 kB / 0.5813 GB, free: 13.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.655, allocations: 218.1 kB / 0.5815 GB, free: 13.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.6551, allocations: 23.66 kB / 0.5815 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.6551, allocations: 4 kB / 0.5815 GB, free: 13.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6552, allocations: 326.7 kB / 0.5818 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.6555, allocations: 44.72 kB / 0.5819 GB, free: 12.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.6558, allocations: 140.8 kB / 0.582 GB, free: 12.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.6561, allocations: 51.92 kB / 0.582 GB, free: 12.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.036e-06/0.6561, allocations: 4 kB / 0.582 GB, free: 12.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007082/0.6568, allocations: 201.6 kB / 0.5822 GB, free: 12.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.6569, allocations: 6.5 kB / 0.5822 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.504e-05/0.6569, allocations: 16 kB / 0.5823 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.657, allocations: 4 kB / 0.5823 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.6572, allocations: 43.84 kB / 0.5823 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.6573, allocations: 4 kB / 0.5823 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.6575, allocations: 27.69 kB / 0.5823 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.6576, allocations: 19.98 kB / 0.5824 GB, free: 12.27 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001827/0.6578, allocations: 137.7 kB / 0.5825 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.6578, allocations: 19.81 kB / 0.5825 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/0.6585, allocations: 146.8 kB / 0.5826 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.6586, allocations: 4 kB / 0.5826 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6586, allocations: 0 / 0.5826 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6586, allocations: 0 / 0.5826 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.659, allocations: 221.6 kB / 0.5829 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-05/0.6591, allocations: 12.17 kB / 0.5829 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.6592, allocations: 23.92 kB / 0.5829 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6592, allocations: 0 / 0.5829 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.6592, allocations: 0 / 0.5829 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.6592, allocations: 0 / 0.5829 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6592, allocations: 4 kB / 0.5829 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.6598, allocations: 215.2 kB / 0.5831 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.6599, allocations: 92.91 kB / 0.5832 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.66, allocations: 0 / 0.5832 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.6602, allocations: 11.98 kB / 0.5832 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.6603, allocations: 4.188 kB / 0.5832 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.6603, allocations: 0 / 0.5832 GB, free: 11.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002707/0.6606, allocations: 182 kB / 0.5834 GB, free: 11.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.6606, allocations: 4 kB / 0.5834 GB, free: 11.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006307/0.6612, allocations: 79.94 kB / 0.5835 GB, free: 11.04 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001447/0.6627, allocations: 0.8602 MB / 0.5843 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007999/0.6636, allocations: 182.2 kB / 0.5845 GB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.6636, allocations: 0 / 0.5845 GB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.6639, allocations: 111.3 kB / 0.5846 GB, free: 9.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.6643, allocations: 16.89 kB / 0.5846 GB, free: 9.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.6685, allocations: 3.383 MB / 0.5879 GB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.669, allocations: 0.74 MB / 0.5886 GB, free: 5.562 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.6691, allocations: 58.94 kB / 0.5887 GB, free: 5.508 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6692, allocations: 3.938 kB / 0.5887 GB, free: 5.504 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.899/3.569, allocations: 5.435 MB / 0.594 GB, free: 88 kB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_res.mat does not exist to compare? outputFormat=mat