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_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_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_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.001666/0.001666, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.815/1.815, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008504/0.0008502, allocations: 78.56 kB / 267 MB, free: 9.285 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.392/0.392, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.286e-05, allocations: 0 / 425.4 MB, free: 8.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1431, allocations: 58.85 MB / 484.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4369/0.58, allocations: 92.32 MB / 0.5631 GB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5803, allocations: 98.03 kB / 0.5632 GB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01748/0.5978, allocations: 6.838 MB / 0.5699 GB, free: 7.336 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5978, allocations: 0 / 0.5699 GB, free: 7.336 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.5979, allocations: 4 kB / 0.5699 GB, free: 7.332 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.000489/0.5984, allocations: 461.8 kB / 0.5703 GB, free: 6.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.5984, allocations: 15.97 kB / 0.5703 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.679e-05/0.5985, allocations: 54.05 kB / 0.5704 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.5985, allocations: 39.05 kB / 0.5704 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.5987, allocations: 211.3 kB / 0.5706 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5988, allocations: 16.12 kB / 0.5706 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.5988, allocations: 22.62 kB / 0.5706 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.5991, allocations: 208.2 kB / 0.5708 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5991, allocations: 0 / 0.5708 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.5992, allocations: 7.812 kB / 0.5709 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.5992, allocations: 9.375 kB / 0.5709 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.5995, allocations: 217.9 kB / 0.5711 GB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008335/0.6003, allocations: 0.6275 MB / 0.5717 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.6006, allocations: 97.67 kB / 0.5718 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.613e-05/0.6007, allocations: 32.55 kB / 0.5718 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.6007, allocations: 4 kB / 0.5718 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.6007, allocations: 34.55 kB / 0.5718 GB, free: 5.461 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.6007, allocations: 0 / 0.5718 GB, free: 5.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002586/0.601, allocations: 109.3 kB / 0.5719 GB, free: 5.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.601, allocations: 51.41 kB / 0.572 GB, free: 5.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.6012, allocations: 237.3 kB / 0.5722 GB, free: 5.094 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.6012, allocations: 29.58 kB / 0.5723 GB, free: 5.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.6013, allocations: 170.1 kB / 0.5724 GB, free: 4.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.6013, allocations: 35.41 kB / 0.5724 GB, free: 4.891 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.6013, allocations: 7.812 kB / 0.5725 GB, free: 4.887 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.6014, allocations: 334.4 kB / 0.5728 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.6015, allocations: 39.44 kB / 0.5728 GB, free: 4.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.6016, allocations: 130.3 kB / 0.5729 GB, free: 4.371 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.594e-05/0.6017, allocations: 61.67 kB / 0.573 GB, free: 4.324 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6017, allocations: 4 kB / 0.573 GB, free: 4.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003049/0.602, allocations: 208.1 kB / 0.5732 GB, free: 4.137 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.602, allocations: 4 kB / 0.5732 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6021, allocations: 8 kB / 0.5732 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.6021, allocations: 8 kB / 0.5732 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.6025, allocations: 83.52 kB / 0.5733 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005029/0.603, allocations: 1.217 MB / 0.5745 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.6032, allocations: 35.19 kB / 0.5745 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.6032, allocations: 17.48 kB / 0.5745 GB, free: 2.746 MB / 394.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 () * 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 7.293e-05/0.6033, allocations: 119.1 kB / 0.5746 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.6033, allocations: 23.67 kB / 0.5747 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.6036, allocations: 151.5 kB / 0.5748 GB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6036, allocations: 0 / 0.5748 GB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6037, allocations: 3.984 kB / 0.5748 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6037, allocations: 0 / 0.5748 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.6041, allocations: 432.3 kB / 0.5752 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6041, allocations: 0 / 0.5752 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.6044, allocations: 63.89 kB / 0.5753 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6044, allocations: 4.062 kB / 0.5753 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.6044, allocations: 4 kB / 0.5753 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004475/0.6048, allocations: 1.208 MB / 0.5765 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6049, allocations: 3.938 kB / 0.5765 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.6051, allocations: 246.4 kB / 0.5767 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.6051, allocations: 100.8 kB / 0.5768 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.6052, allocations: 0 / 0.5768 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.6053, allocations: 19.86 kB / 0.5768 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.6054, allocations: 7.984 kB / 0.5768 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.6054, allocations: 4 kB / 0.5768 GB, free: 316 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.6055, allocations: 183.5 kB / 0.577 GB, free: 164 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6055, allocations: 0 / 0.577 GB, free: 164 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004116/0.6059, allocations: 79.17 kB / 0.5771 GB, free: 92 kB / 394.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 () * 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.0008388/0.6068, allocations: 0.9839 MB / 0.5781 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.6072, allocations: 144.1 kB / 0.5782 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6072, allocations: 0 / 0.5782 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.6075, allocations: 65.84 kB / 0.5783 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.6078, allocations: 21.72 kB / 0.5783 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007708/0.6085, allocations: 293.3 kB / 0.5786 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.6089, allocations: 0.744 MB / 0.5793 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.805e-05/0.609, allocations: 26.06 kB / 0.5793 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.6091, allocations: 60.36 kB / 0.5794 GB, free: 13.77 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6091, allocations: 0 / 0.5794 GB, free: 13.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.6292, allocations: 6.234 MB / 0.5855 GB, free: 7.641 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.6295, allocations: 221.5 kB / 0.5857 GB, free: 7.414 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.597, allocations: 3.953 kB / 0.5857 GB, free: 7.41 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat