Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001737/0.001737, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.475/1.475, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008711/0.0008712, allocations: 94.86 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2534/0.2534, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1044, allocations: 58.87 MB / 490.4 MB, free: 8.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.5005, allocations: 98.72 MB / 0.5753 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004125/0.5009, allocations: 98.31 kB / 0.5754 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03888/0.5398, allocations: 11.32 MB / 0.5864 GB, free: 7.031 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5399, allocations: 0 / 0.5864 GB, free: 7.031 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.5399, allocations: 4 kB / 0.5864 GB, free: 7.027 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008094/0.5408, allocations: 0.6072 MB / 0.587 GB, free: 6.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5408, allocations: 8.031 kB / 0.587 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.022e-05/0.5409, allocations: 73.22 kB / 0.5871 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.541, allocations: 43.48 kB / 0.5871 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.5413, allocations: 234.1 kB / 0.5874 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.5413, allocations: 27.69 kB / 0.5874 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.5414, allocations: 35.19 kB / 0.5874 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.5421, allocations: 0.5827 MB / 0.588 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.5421, allocations: 3.938 kB / 0.588 GB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.5422, allocations: 19.62 kB / 0.588 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.5422, allocations: 12 kB / 0.588 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.5427, allocations: 340.7 kB / 0.5884 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.5455, allocations: 4.051 MB / 0.5923 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.5458, allocations: 102.1 kB / 0.5924 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.5459, allocations: 4 kB / 0.5924 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.5459, allocations: 34.56 kB / 0.5924 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.5459, allocations: 0 / 0.5924 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000507/0.5464, allocations: 184.5 kB / 0.5926 GB, free: 0.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.5465, allocations: 59.34 kB / 0.5927 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.5468, allocations: 358.2 kB / 0.593 GB, free: 348 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.5469, allocations: 25.7 kB / 0.593 GB, free: 316 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.547, allocations: 248.4 kB / 0.5933 GB, free: 124 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.5471, allocations: 27.45 kB / 0.5933 GB, free: 100 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.5471, allocations: 7.875 kB / 0.5933 GB, free: 96 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5472, allocations: 350.1 kB / 0.5937 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.5475, allocations: 64.05 kB / 0.5937 GB, free: 15.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.5478, allocations: 269.6 kB / 0.594 GB, free: 15.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.548, allocations: 97.11 kB / 0.5941 GB, free: 15.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.548, allocations: 4 kB / 0.5941 GB, free: 15.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006152/0.5486, allocations: 369.4 kB / 0.5944 GB, free: 14.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5486, allocations: 8 kB / 0.5944 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.5487, allocations: 8 kB / 0.5944 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.5487, allocations: 12.03 kB / 0.5944 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.5491, allocations: 114.8 kB / 0.5946 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007877/0.5499, allocations: 1.222 MB / 0.5957 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.5502, allocations: 66.72 kB / 0.5958 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.5503, allocations: 19.98 kB / 0.5958 GB, free: 13.49 MB / 410.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.0001615/0.5504, allocations: 160.7 kB / 0.596 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.5505, allocations: 35.53 kB / 0.596 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.551, allocations: 182.1 kB / 0.5962 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.551, allocations: 3.953 kB / 0.5962 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.551, allocations: 0 / 0.5962 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.551, allocations: 7.984 kB / 0.5962 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.5514, allocations: 268.7 kB / 0.5965 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5514, allocations: 0 / 0.5965 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.5516, allocations: 55.95 kB / 0.5965 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5516, allocations: 3.938 kB / 0.5965 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.5517, allocations: 8 kB / 0.5965 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006841/0.5523, allocations: 1.203 MB / 0.5977 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5524, allocations: 0 / 0.5977 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.5527, allocations: 246.2 kB / 0.5979 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.5528, allocations: 108.6 kB / 0.598 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.5529, allocations: 11.3 kB / 0.598 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.5531, allocations: 11.98 kB / 0.5981 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.5531, allocations: 11.92 kB / 0.5981 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.5531, allocations: 4 kB / 0.5981 GB, free: 11.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002532/0.5534, allocations: 270.8 kB / 0.5983 GB, free: 10.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5534, allocations: 3.938 kB / 0.5983 GB, free: 10.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006493/0.554, allocations: 129.9 kB / 0.5985 GB, free: 10.83 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 (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.001073/0.5551, allocations: 0.9194 MB / 0.5994 GB, free: 9.906 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006916/0.5558, allocations: 210.5 kB / 0.5996 GB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5558, allocations: 0 / 0.5996 GB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.5561, allocations: 78.69 kB / 0.5996 GB, free: 9.652 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.5564, allocations: 31.45 kB / 0.5997 GB, free: 9.633 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.5612, allocations: 6.789 MB / 0.6063 GB, free: 2.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.5616, allocations: 0.7755 MB / 0.6071 GB, free: 2.105 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.5617, allocations: 34.95 kB / 0.6071 GB, free: 2.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.5618, allocations: 105.2 kB / 0.6072 GB, free: 2.035 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5618, allocations: 0 / 0.6072 GB, free: 2.035 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.5881, allocations: 10.28 MB / 0.6172 GB, free: 7.828 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.5884, allocations: 255.4 kB / 0.6175 GB, free: 7.492 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.047, allocations: 0 / 0.6175 GB, free: 7.492 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat