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_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_roundTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 177 kB / 17.06 MB, free: 5.094 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.27/1.27, 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.0008912/0.0008912, allocations: 92.05 kB / 292.1 MB, free: 10.92 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.3419/0.3419, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4038, allocations: 61.89 MB / 0.5097 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.5324, allocations: 99.88 MB / 0.6072 GB, free: 11.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5327, allocations: 103.9 kB / 0.6073 GB, free: 11.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03457/0.5673, allocations: 11.56 MB / 0.6186 GB, free: 15.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.526e-06/0.5673, allocations: 3.984 kB / 0.6186 GB, free: 15.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.5674, allocations: 4 kB / 0.6186 GB, free: 15.52 MB / 442.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.0009001/0.5683, allocations: 0.5965 MB / 0.6192 GB, free: 14.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5683, allocations: 12.03 kB / 0.6192 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.251e-05/0.5684, allocations: 74.52 kB / 0.6193 GB, free: 14.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.5685, allocations: 39.53 kB / 0.6193 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.5688, allocations: 234.5 kB / 0.6195 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.5689, allocations: 32.95 kB / 0.6195 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/0.5689, allocations: 35.94 kB / 0.6196 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.5697, allocations: 0.5714 MB / 0.6201 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.5697, allocations: 7.938 kB / 0.6201 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.5698, allocations: 20 kB / 0.6202 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.5698, allocations: 19.98 kB / 0.6202 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005754/0.5704, allocations: 329.1 kB / 0.6205 GB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.5732, allocations: 4.047 MB / 0.6244 GB, free: 9.086 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.5736, allocations: 106.5 kB / 0.6246 GB, free: 8.973 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.5736, allocations: 0 / 0.6246 GB, free: 8.973 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.5736, allocations: 38.5 kB / 0.6246 GB, free: 8.926 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.041e-06/0.5736, allocations: 4 kB / 0.6246 GB, free: 8.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005544/0.5742, allocations: 181.4 kB / 0.6248 GB, free: 8.738 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.5743, allocations: 59.41 kB / 0.6248 GB, free: 8.668 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.5746, allocations: 353 kB / 0.6252 GB, free: 8.312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.5747, allocations: 25.7 kB / 0.6252 GB, free: 8.281 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.5749, allocations: 258.9 kB / 0.6254 GB, free: 8.023 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.5749, allocations: 27.69 kB / 0.6255 GB, free: 7.996 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.5749, allocations: 4 kB / 0.6255 GB, free: 7.992 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5751, allocations: 350.8 kB / 0.6258 GB, free: 7.641 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.5753, allocations: 60.62 kB / 0.6259 GB, free: 7.578 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.5756, allocations: 270.4 kB / 0.6261 GB, free: 7.211 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.5758, allocations: 95.91 kB / 0.6262 GB, free: 7.117 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.5758, allocations: 4 kB / 0.6262 GB, free: 7.113 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006338/0.5765, allocations: 360.6 kB / 0.6265 GB, free: 6.754 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5765, allocations: 12 kB / 0.6266 GB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.5765, allocations: 4 kB / 0.6266 GB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.5766, allocations: 15.95 kB / 0.6266 GB, free: 6.723 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.577, allocations: 112.5 kB / 0.6267 GB, free: 6.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007893/0.5778, allocations: 1.215 MB / 0.6279 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.5781, allocations: 71.39 kB / 0.6279 GB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.5782, allocations: 24.39 kB / 0.628 GB, free: 5.258 MB / 442.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.0001823/0.5784, allocations: 151.6 kB / 0.6281 GB, free: 5.102 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.5784, allocations: 35.53 kB / 0.6281 GB, free: 5.066 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/0.5789, allocations: 188.8 kB / 0.6283 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.579, allocations: 0 / 0.6283 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.579, allocations: 4 kB / 0.6283 GB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.579, allocations: 0 / 0.6283 GB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.5793, allocations: 285.4 kB / 0.6286 GB, free: 4.547 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5793, allocations: 0 / 0.6286 GB, free: 4.547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.5796, allocations: 55.97 kB / 0.6287 GB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5796, allocations: 0 / 0.6287 GB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.5797, allocations: 0 / 0.6287 GB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007374/0.5804, allocations: 1.211 MB / 0.6298 GB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5804, allocations: 3.984 kB / 0.6298 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.5808, allocations: 247.2 kB / 0.6301 GB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.5809, allocations: 108.6 kB / 0.6302 GB, free: 2.848 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.581, allocations: 7.953 kB / 0.6302 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.5812, allocations: 7.984 kB / 0.6302 GB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.5812, allocations: 4 kB / 0.6302 GB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.5812, allocations: 4 kB / 0.6302 GB, free: 2.824 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002932/0.5815, allocations: 275.1 kB / 0.6305 GB, free: 2.559 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5816, allocations: 0 / 0.6305 GB, free: 2.559 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006568/0.5822, allocations: 127.9 kB / 0.6306 GB, free: 2.434 MB / 442.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.001186/0.5834, allocations: 0.9265 MB / 0.6315 GB, free: 1.484 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000563/0.584, allocations: 201.8 kB / 0.6317 GB, free: 1.289 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.584, allocations: 0 / 0.6317 GB, free: 1.289 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.5843, allocations: 84.08 kB / 0.6318 GB, free: 1.207 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.5846, allocations: 29.97 kB / 0.6318 GB, free: 1.176 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.5895, allocations: 6.775 MB / 0.6384 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.5899, allocations: 0.7794 MB / 0.6392 GB, free: 9.391 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.59, allocations: 38.89 kB / 0.6392 GB, free: 9.352 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.5902, allocations: 103.4 kB / 0.6393 GB, free: 9.25 MB / 458.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5902, allocations: 0 / 0.6393 GB, free: 9.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.6176, allocations: 10.3 MB / 0.6494 GB, free: 15.23 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/0.6179, allocations: 259.3 kB / 0.6496 GB, free: 14.89 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.02, allocations: 3.938 kB / 0.6496 GB, free: 14.89 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC_res.mat does not exist to compare? outputFormat=mat