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_roundTube.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_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.001393/0.001393, allocations: 180.3 kB / 14.15 MB, free: 1.176 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.561/1.561, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009167/0.000917, allocations: 99.72 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2218/0.2218, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.961e-05, allocations: 4.219 kB / 452 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1548, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4629/0.6177, allocations: 100.4 MB / 0.5999 GB, free: 4.816 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.6182, allocations: 99.47 kB / 0.6 GB, free: 4.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03115/0.6493, allocations: 10.58 MB / 0.6103 GB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.6494, allocations: 4 kB / 0.6103 GB, free: 10.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.6494, allocations: 0 / 0.6103 GB, free: 10.12 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006819/0.6501, allocations: 490.3 kB / 0.6108 GB, free: 9.598 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6501, allocations: 11.97 kB / 0.6108 GB, free: 9.586 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.19e-05/0.6502, allocations: 58.55 kB / 0.6108 GB, free: 9.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.6503, allocations: 23.72 kB / 0.6109 GB, free: 9.496 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.6505, allocations: 214 kB / 0.6111 GB, free: 9.246 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.6505, allocations: 12.44 kB / 0.6111 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.6505, allocations: 24 kB / 0.6111 GB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.6509, allocations: 243.6 kB / 0.6113 GB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.6509, allocations: 0 / 0.6113 GB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.6509, allocations: 8 kB / 0.6113 GB, free: 8.941 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.651, allocations: 4 kB / 0.6113 GB, free: 8.938 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.6512, allocations: 140.2 kB / 0.6115 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.6522, allocations: 0.9119 MB / 0.6124 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.6523, allocations: 50.56 kB / 0.6124 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.6524, allocations: 16.92 kB / 0.6124 GB, free: 7.742 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.6524, allocations: 4 kB / 0.6124 GB, free: 7.738 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.6524, allocations: 34.59 kB / 0.6125 GB, free: 7.695 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.6524, allocations: 0 / 0.6125 GB, free: 7.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.000233/0.6527, allocations: 85.34 kB / 0.6126 GB, free: 7.605 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.6527, allocations: 55.41 kB / 0.6126 GB, free: 7.539 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.6529, allocations: 231.4 kB / 0.6128 GB, free: 7.305 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.653, allocations: 25.7 kB / 0.6129 GB, free: 7.273 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.6531, allocations: 183 kB / 0.613 GB, free: 7.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.6531, allocations: 19.8 kB / 0.613 GB, free: 7.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.6531, allocations: 4 kB / 0.613 GB, free: 7.066 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6533, allocations: 334.8 kB / 0.6134 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.6533, allocations: 32.22 kB / 0.6134 GB, free: 6.695 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.6535, allocations: 176.2 kB / 0.6136 GB, free: 6.453 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.792e-05/0.6536, allocations: 59.91 kB / 0.6136 GB, free: 6.395 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6536, allocations: 4 kB / 0.6136 GB, free: 6.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003229/0.6539, allocations: 229.4 kB / 0.6138 GB, free: 6.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.654, allocations: 4 kB / 0.6138 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.654, allocations: 16 kB / 0.6139 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.654, allocations: 8 kB / 0.6139 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.6542, allocations: 51.91 kB / 0.6139 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.6542, allocations: 4 kB / 0.6139 GB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.6544, allocations: 55.77 kB / 0.614 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.6544, allocations: 16 kB / 0.614 GB, free: 6.008 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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 8.958e-05/0.6545, allocations: 122.9 kB / 0.6141 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.6546, allocations: 27.59 kB / 0.6141 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.6548, allocations: 114.9 kB / 0.6142 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6548, allocations: 3.984 kB / 0.6143 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6549, allocations: 0 / 0.6143 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6549, allocations: 0 / 0.6143 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.6551, allocations: 225.5 kB / 0.6145 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/0.6551, allocations: 15.98 kB / 0.6145 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.6552, allocations: 8 kB / 0.6145 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6552, allocations: 0 / 0.6145 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.6552, allocations: 7.984 kB / 0.6145 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6552, allocations: 0 / 0.6145 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6552, allocations: 0 / 0.6145 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.6554, allocations: 187.2 kB / 0.6147 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.6555, allocations: 92.83 kB / 0.6148 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.6555, allocations: 7.984 kB / 0.6148 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.6556, allocations: 8 kB / 0.6148 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.6557, allocations: 7.984 kB / 0.6148 GB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.6557, allocations: 4 kB / 0.6148 GB, free: 5.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001488/0.6558, allocations: 175.1 kB / 0.615 GB, free: 4.918 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6559, allocations: 0 / 0.615 GB, free: 4.918 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005721/0.6564, allocations: 111.9 kB / 0.6151 GB, free: 4.809 MB / 426.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 () * 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.0008166/0.6573, allocations: 0.8634 MB / 0.6159 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.6576, allocations: 172.5 kB / 0.6161 GB, free: 3.746 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6576, allocations: 0 / 0.6161 GB, free: 3.746 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.6578, allocations: 87.33 kB / 0.6162 GB, free: 3.648 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.658, allocations: 20.89 kB / 0.6162 GB, free: 3.625 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000715/0.6587, allocations: 300.9 kB / 0.6165 GB, free: 3.297 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.659, allocations: 0.7363 MB / 0.6172 GB, free: 2.535 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.118e-05/0.6591, allocations: 26.06 kB / 0.6172 GB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.6592, allocations: 59.42 kB / 0.6173 GB, free: 2.449 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6592, allocations: 0 / 0.6173 GB, free: 2.449 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.6822, allocations: 8.602 MB / 0.6257 GB, free: 10.06 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.6825, allocations: 232.7 kB / 0.6259 GB, free: 9.828 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/2.871, allocations: 0 / 0.6259 GB, free: 9.828 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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_roundTube_res.mat does not exist to compare? outputFormat=mat