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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008521/0.0008522, allocations: 95.23 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000848/0.0008481, allocations: 186 kB / 17.89 MB, free: 5.566 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.356/1.356, allocations: 223.2 MB / 241.9 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1893/0.1893, allocations: 44.23 MB / 337.2 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.000326, allocations: 8 kB / 409.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1228, allocations: 61.9 MB / 471.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00235/0.1252, allocations: 1.77 MB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1269, allocations: 1.259 MB / 474.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.127, allocations: 0 / 474.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.1272, allocations: 79.56 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1274, allocations: 55.5 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.1278, allocations: 167.4 kB / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.128, allocations: 154.9 kB / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.757e-05/0.1281, allocations: 16.31 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.1282, allocations: 59.66 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1284, allocations: 59.59 kB / 475.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1284, allocations: 4 kB / 475.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006119/0.129, allocations: 399.4 kB / 475.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.446e-05/0.1291, allocations: 19.86 kB / 475.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.1291, allocations: 57.58 kB / 475.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.1295, allocations: 279 kB / 476 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1295, allocations: 0 / 476 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1295, allocations: 0 / 476 MB, free: 9.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1295, allocations: 0 / 476 MB, free: 9.266 MB / 350.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.0006067/0.1301, allocations: 482.5 kB / 476.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1302, allocations: 8.031 kB / 476.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.1302, allocations: 50.55 kB / 476.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.1303, allocations: 27.75 kB / 476.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.1305, allocations: 206.7 kB / 476.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1305, allocations: 12 kB / 476.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1305, allocations: 15.95 kB / 476.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.1309, allocations: 206.7 kB / 477 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.131, allocations: 3.984 kB / 477 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.131, allocations: 7.938 kB / 477 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.131, allocations: 4 kB / 477 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.1313, allocations: 160.3 kB / 477.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008218/0.1321, allocations: 0.5753 MB / 477.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.1323, allocations: 62.55 kB / 477.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1325, allocations: 36.94 kB / 477.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.1325, allocations: 11.95 kB / 477.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1325, allocations: 30.56 kB / 477.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1325, allocations: 0 / 477.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004294/0.133, allocations: 153.4 kB / 478 MB, free: 7.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.133, allocations: 51.41 kB / 478.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.1332, allocations: 258.6 kB / 478.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1333, allocations: 25.7 kB / 478.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1334, allocations: 159.7 kB / 478.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.1334, allocations: 27.72 kB / 478.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.1334, allocations: 0 / 478.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1336, allocations: 338.8 kB / 478.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1337, allocations: 35.98 kB / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.1339, allocations: 143.4 kB / 479 MB, free: 5.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.134, allocations: 59.97 kB / 479.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.134, allocations: 0 / 479.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003687/0.1344, allocations: 217.3 kB / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1344, allocations: 12.03 kB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.1345, allocations: 16 kB / 479.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1345, allocations: 4 kB / 479.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1346, allocations: 36.16 kB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.1346, allocations: 7.938 kB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.1348, allocations: 31.69 kB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.1348, allocations: 19.98 kB / 479.4 MB, free: 5.559 MB / 350.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.0001169/0.1349, allocations: 138.2 kB / 479.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.135, allocations: 23.67 kB / 479.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.1353, allocations: 150.9 kB / 479.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1353, allocations: 0 / 479.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1353, allocations: 0 / 479.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1354, allocations: 0 / 479.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.1356, allocations: 217.6 kB / 480 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.1356, allocations: 8 kB / 480 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.1357, allocations: 11.98 kB / 480 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1357, allocations: 7.953 kB / 480 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1357, allocations: 4 kB / 480 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1357, allocations: 0 / 480 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1357, allocations: 0 / 480 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.136, allocations: 219.2 kB / 480.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.1361, allocations: 100.8 kB / 480.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.1362, allocations: 3.953 kB / 480.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.1363, allocations: 7.984 kB / 480.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.1363, allocations: 4 kB / 480.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.1363, allocations: 4 kB / 480.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1365, allocations: 182 kB / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1365, allocations: 0 / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.1369, allocations: 71.94 kB / 480.6 MB, free: 4.328 MB / 350.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.0007626/0.1376, allocations: 0.8177 MB / 481.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.138, allocations: 192 kB / 481.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1381, allocations: 0 / 481.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.1383, allocations: 99.38 kB / 481.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1386, allocations: 32.83 kB / 481.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.1404, allocations: 1.241 MB / 482.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1407, allocations: 0.7284 MB / 483.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.7e-05/0.1408, allocations: 17.55 kB / 483.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.1408, allocations: 55.41 kB / 483.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1409, allocations: 0 / 483.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.16, allocations: 6.185 MB / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/0.1603, allocations: 269.6 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/2.234, allocations: 0 / 490.2 MB, free: 10.72 MB / 366.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