Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009755/0.0009757, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008905/0.0008905, allocations: 90.47 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3465/0.3465, allocations: 44.21 MB / 387.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003244, allocations: 8 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3903, allocations: 61.91 MB / 0.5097 GB, free: 37.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.5238, allocations: 93.59 MB / 0.6011 GB, free: 1.504 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.5242, allocations: 103.9 kB / 0.6012 GB, free: 1.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01969/0.5439, allocations: 6.987 MB / 0.608 GB, free: 10.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.544, allocations: 0 / 0.608 GB, free: 10.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.544, allocations: 4 kB / 0.608 GB, free: 10.39 MB / 426.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.0007103/0.5447, allocations: 494.8 kB / 0.6085 GB, free: 9.855 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.5448, allocations: 8.031 kB / 0.6085 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.724e-05/0.5449, allocations: 58.55 kB / 0.6085 GB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.545, allocations: 23.72 kB / 0.6085 GB, free: 9.758 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.5453, allocations: 222.6 kB / 0.6088 GB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.5453, allocations: 12.44 kB / 0.6088 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.5453, allocations: 23.95 kB / 0.6088 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.5459, allocations: 227.3 kB / 0.609 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.5459, allocations: 7.984 kB / 0.609 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.5459, allocations: 8 kB / 0.609 GB, free: 9.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5459, allocations: 4 kB / 0.609 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.5464, allocations: 261.6 kB / 0.6093 GB, free: 8.965 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.5474, allocations: 0.6118 MB / 0.6099 GB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.5478, allocations: 122.6 kB / 0.61 GB, free: 8.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.5479, allocations: 7.984 kB / 0.61 GB, free: 8.164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.5479, allocations: 38.75 kB / 0.61 GB, free: 8.117 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.5479, allocations: 0 / 0.61 GB, free: 8.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005322/0.5485, allocations: 181.3 kB / 0.6102 GB, free: 7.934 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.5485, allocations: 51.41 kB / 0.6103 GB, free: 7.871 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.5488, allocations: 242 kB / 0.6105 GB, free: 7.633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.5488, allocations: 25.7 kB / 0.6105 GB, free: 7.602 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.549, allocations: 167.4 kB / 0.6107 GB, free: 7.434 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.549, allocations: 35.58 kB / 0.6107 GB, free: 7.398 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/0.549, allocations: 0 / 0.6107 GB, free: 7.398 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5492, allocations: 338.8 kB / 0.611 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.5494, allocations: 47.97 kB / 0.6111 GB, free: 7.012 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.5496, allocations: 154.2 kB / 0.6112 GB, free: 6.816 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.5498, allocations: 75.97 kB / 0.6113 GB, free: 6.742 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5498, allocations: 0 / 0.6113 GB, free: 6.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004938/0.5503, allocations: 245.2 kB / 0.6115 GB, free: 6.496 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.5504, allocations: 15.89 kB / 0.6115 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5504, allocations: 4 kB / 0.6115 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5504, allocations: 7.984 kB / 0.6116 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.5508, allocations: 91.89 kB / 0.6116 GB, free: 6.379 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007948/0.5516, allocations: 1.219 MB / 0.6128 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.5518, allocations: 35.61 kB / 0.6129 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.5519, allocations: 16 kB / 0.6129 GB, free: 5.062 MB / 426.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.0001415/0.552, allocations: 135.9 kB / 0.613 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.5521, allocations: 23.72 kB / 0.613 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/0.5526, allocations: 179.3 kB / 0.6132 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5526, allocations: 0 / 0.6132 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5526, allocations: 0 / 0.6132 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.5526, allocations: 7.891 kB / 0.6132 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.5533, allocations: 460 kB / 0.6137 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5533, allocations: 0 / 0.6137 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.5535, allocations: 55.97 kB / 0.6137 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.5535, allocations: 4.062 kB / 0.6137 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.5536, allocations: 11.98 kB / 0.6137 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007458/0.5543, allocations: 1.211 MB / 0.6149 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5543, allocations: 192 / 0.6149 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.5548, allocations: 284.4 kB / 0.6152 GB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.5549, allocations: 96.91 kB / 0.6153 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.5549, allocations: 7.938 kB / 0.6153 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.5551, allocations: 15.94 kB / 0.6153 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.5551, allocations: 11.98 kB / 0.6153 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.5552, allocations: 4 kB / 0.6153 GB, free: 2.402 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.5553, allocations: 182 kB / 0.6155 GB, free: 2.227 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5554, allocations: 8 kB / 0.6155 GB, free: 2.219 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004464/0.5558, allocations: 67.94 kB / 0.6156 GB, free: 2.152 MB / 426.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.001117/0.5569, allocations: 1.028 MB / 0.6166 GB, free: 1.086 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005385/0.5575, allocations: 167.8 kB / 0.6167 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5575, allocations: 0 / 0.6167 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.5578, allocations: 84.88 kB / 0.6168 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.5581, allocations: 24.53 kB / 0.6168 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.5614, allocations: 3.494 MB / 0.6202 GB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.5618, allocations: 0.7404 MB / 0.621 GB, free: 12.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.5619, allocations: 25.94 kB / 0.621 GB, free: 12.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.562, allocations: 59.42 kB / 0.621 GB, free: 12.35 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.562, allocations: 0 / 0.621 GB, free: 12.35 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.5839, allocations: 6.108 MB / 0.627 GB, free: 6.516 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.5842, allocations: 250.8 kB / 0.6272 GB, free: 6.184 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.558, allocations: 0 / 0.6272 GB, free: 6.184 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat