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.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,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 174 kB / 17.06 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 241 MB, free: 5.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 99.64 kB / 292.1 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.181/0.181, allocations: 44.22 MB / 387.5 MB, free: 1.156 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003647, allocations: 11.94 kB / 460 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1111, allocations: 61.9 MB / 0.5097 GB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3388/0.45, allocations: 95.6 MB / 0.603 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.4503, allocations: 102.7 kB / 0.6031 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02187/0.4722, allocations: 8.072 MB / 0.611 GB, free: 8.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4722, allocations: 0 / 0.611 GB, free: 8.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.4722, allocations: 4 kB / 0.611 GB, free: 8.105 MB / 414.1 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.0006932/0.4729, allocations: 491.4 kB / 0.6115 GB, free: 7.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.473, allocations: 11.97 kB / 0.6115 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.473, allocations: 52.86 kB / 0.6115 GB, free: 7.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.4731, allocations: 19.72 kB / 0.6116 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.4733, allocations: 201.8 kB / 0.6118 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.4734, allocations: 18.33 kB / 0.6118 GB, free: 7.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.4734, allocations: 21.5 kB / 0.6118 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.4738, allocations: 198.9 kB / 0.612 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4739, allocations: 7.938 kB / 0.612 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.4739, allocations: 3.625 kB / 0.612 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4739, allocations: 4 kB / 0.612 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.4742, allocations: 159.9 kB / 0.6122 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.4751, allocations: 0.5764 MB / 0.6127 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.4753, allocations: 69.8 kB / 0.6128 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.4754, allocations: 3.953 kB / 0.6128 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.4754, allocations: 34.5 kB / 0.6128 GB, free: 6.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 2.244e-06/0.4754, allocations: 0 / 0.6128 GB, free: 6.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005287/0.4759, allocations: 317.7 kB / 0.6131 GB, free: 5.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.476, allocations: 51.41 kB / 0.6132 GB, free: 5.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.4762, allocations: 223.8 kB / 0.6134 GB, free: 5.738 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4762, allocations: 25.7 kB / 0.6134 GB, free: 5.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.672e-05/0.4763, allocations: 170.5 kB / 0.6136 GB, free: 5.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.4764, allocations: 15.38 kB / 0.6136 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.4764, allocations: 3.188 kB / 0.6136 GB, free: 5.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4765, allocations: 330.2 kB / 0.6139 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.4767, allocations: 43.16 kB / 0.6139 GB, free: 5.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.4768, allocations: 138.1 kB / 0.6141 GB, free: 5.027 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.477, allocations: 62.3 kB / 0.6141 GB, free: 4.977 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.477, allocations: 0 / 0.6141 GB, free: 4.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003913/0.4774, allocations: 217.2 kB / 0.6143 GB, free: 4.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.4774, allocations: 8 kB / 0.6143 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/0.4775, allocations: 15.98 kB / 0.6144 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4775, allocations: 8 kB / 0.6144 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.4776, allocations: 31.48 kB / 0.6144 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.4776, allocations: 8.375 kB / 0.6144 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.4778, allocations: 39.67 kB / 0.6144 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.4778, allocations: 11.44 kB / 0.6145 GB, free: 4.668 MB / 414.1 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.0001054/0.478, allocations: 129.4 kB / 0.6146 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.478, allocations: 19.77 kB / 0.6146 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.4784, allocations: 160.2 kB / 0.6148 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4784, allocations: 0 / 0.6148 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4784, allocations: 4 kB / 0.6148 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4784, allocations: 0 / 0.6148 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.4787, allocations: 218.7 kB / 0.615 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/0.4787, allocations: 8 kB / 0.615 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.4788, allocations: 11.98 kB / 0.615 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4788, allocations: 3.953 kB / 0.615 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4788, allocations: 4.938 kB / 0.615 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4788, allocations: 0 / 0.615 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4788, allocations: 0 / 0.615 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.4791, allocations: 218 kB / 0.6152 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.4792, allocations: 92.86 kB / 0.6153 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.4792, allocations: 8.578 kB / 0.6153 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.4793, allocations: 12.55 kB / 0.6153 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.4794, allocations: 4.688 kB / 0.6153 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.4794, allocations: 4 kB / 0.6153 GB, free: 3.746 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.4796, allocations: 182.6 kB / 0.6155 GB, free: 3.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4796, allocations: 0 / 0.6155 GB, free: 3.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000448/0.48, allocations: 79.67 kB / 0.6156 GB, free: 3.52 MB / 414.1 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.0008788/0.4809, allocations: 0.8579 MB / 0.6164 GB, free: 2.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004222/0.4813, allocations: 178.4 kB / 0.6166 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4813, allocations: 4 kB / 0.6166 GB, free: 2.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.4816, allocations: 105.7 kB / 0.6167 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.4818, allocations: 23.34 kB / 0.6167 GB, free: 2.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.4847, allocations: 3.352 MB / 0.62 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.485, allocations: 0.7362 MB / 0.6207 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.55e-05/0.4851, allocations: 13.55 kB / 0.6207 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.4851, allocations: 60.84 kB / 0.6208 GB, free: 14.23 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4852, allocations: 4 kB / 0.6208 GB, free: 14.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.5053, allocations: 6.655 MB / 0.6273 GB, free: 7.84 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.5056, allocations: 250.4 kB / 0.6275 GB, free: 7.508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.491, allocations: 2.922 kB / 0.6275 GB, free: 7.508 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_res.mat does not exist to compare? outputFormat=mat