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.001043/0.001043, allocations: 97.84 kB / 16.98 MB, free: 6.398 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.001149/0.001149, allocations: 184 kB / 17.87 MB, free: 5.957 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.31/1.31, allocations: 223.2 MB / 241.8 MB, free: 380 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.1966/0.1966, allocations: 44.24 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 61.93 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002097/0.1192, allocations: 1.704 MB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.121, allocations: 1.197 MB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.1211, allocations: 4 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.1214, allocations: 79.5 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.1215, allocations: 67.8 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.122, allocations: 170.7 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1222, allocations: 115.7 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.619e-05/0.1222, allocations: 12.31 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1224, allocations: 55.72 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.805e-05/0.1225, allocations: 55.7 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.1225, allocations: 7.938 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005911/0.1231, allocations: 423.5 kB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.1232, allocations: 23.84 kB / 475.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.1232, allocations: 53.58 kB / 475.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.1236, allocations: 239.5 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1236, allocations: 0 / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1236, allocations: 0 / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1236, allocations: 4 kB / 475.8 MB, free: 9.402 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.0006062/0.1242, allocations: 482.5 kB / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1243, allocations: 12.03 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.458e-05/0.1243, allocations: 54.53 kB / 476.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.1244, allocations: 19.81 kB / 476.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.1246, allocations: 198.7 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1246, allocations: 16 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1246, allocations: 27.94 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.125, allocations: 210.6 kB / 476.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.125, allocations: 0 / 476.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.125, allocations: 4 kB / 476.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1251, allocations: 8 kB / 476.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.1254, allocations: 152.3 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008103/0.1262, allocations: 0.5753 MB / 477.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.1264, allocations: 66.55 kB / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.1264, allocations: 7.984 kB / 477.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.1265, allocations: 34.56 kB / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.1265, allocations: 3.938 kB / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005694/0.1271, allocations: 303.6 kB / 477.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1271, allocations: 51.41 kB / 477.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.1274, allocations: 262.6 kB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.1274, allocations: 25.7 kB / 478.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1275, allocations: 171.7 kB / 478.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1276, allocations: 15.75 kB / 478.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.1276, allocations: 4 kB / 478.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1277, allocations: 330.8 kB / 478.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1279, allocations: 43.97 kB / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.1282, allocations: 132.8 kB / 478.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.1283, allocations: 67.91 kB / 479 MB, free: 5.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1283, allocations: 3.938 kB / 479 MB, free: 5.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004848/0.1288, allocations: 217 kB / 479.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1288, allocations: 4 kB / 479.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.1289, allocations: 12 kB / 479.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1289, allocations: 4 kB / 479.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.129, allocations: 39.97 kB / 479.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.129, allocations: 8.375 kB / 479.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1292, allocations: 31.69 kB / 479.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.1292, allocations: 16 kB / 479.3 MB, free: 5.543 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.0001135/0.1293, allocations: 130.2 kB / 479.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.1294, allocations: 23.67 kB / 479.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.1297, allocations: 147.1 kB / 479.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1298, allocations: 7.984 kB / 479.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1298, allocations: 4 kB / 479.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1298, allocations: 0 / 479.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.13, allocations: 213.6 kB / 479.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.13, allocations: 11.98 kB / 479.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.1301, allocations: 12 kB / 479.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1301, allocations: 3.953 kB / 479.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1301, allocations: 3.984 kB / 479.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1301, allocations: 3.938 kB / 479.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1301, allocations: 0 / 479.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.1305, allocations: 219.2 kB / 480.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.1306, allocations: 96.81 kB / 480.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.1306, allocations: 3.953 kB / 480.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1307, allocations: 15.98 kB / 480.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.1308, allocations: 4 kB / 480.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1308, allocations: 0 / 480.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1309, allocations: 182 kB / 480.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1309, allocations: 0 / 480.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003882/0.1313, allocations: 71.94 kB / 480.4 MB, free: 4.312 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.0007941/0.1321, allocations: 0.8215 MB / 481.3 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004499/0.1326, allocations: 175.5 kB / 481.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1326, allocations: 0 / 481.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.1328, allocations: 111.9 kB / 481.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.1331, allocations: 24.83 kB / 481.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.1358, allocations: 3.348 MB / 484.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1361, allocations: 0.7323 MB / 485.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.048e-05/0.1362, allocations: 21.48 kB / 485.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.1363, allocations: 59.42 kB / 485.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1363, allocations: 0 / 485.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.1542, allocations: 6.052 MB / 491.8 MB, free: 9.039 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000361/0.1547, allocations: 258 kB / 492 MB, free: 8.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.089, allocations: 0 / 492 MB, free: 8.699 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