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_KC.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_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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.001046/0.001047, allocations: 94.39 kB / 17 MB, free: 6.391 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.001113/0.001114, allocations: 184.2 kB / 17.89 MB, free: 5.922 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.371/1.371, allocations: 223.2 MB / 241.9 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.209/0.209, allocations: 44.22 MB / 337.2 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003331, allocations: 8.719 kB / 409.8 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002568/0.1206, allocations: 1.817 MB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1221, allocations: 0.9823 MB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.1222, allocations: 0 / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.1224, allocations: 75.52 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.1227, allocations: 79.39 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.123, allocations: 99.58 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1232, allocations: 178.9 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.551e-05/0.1232, allocations: 12.41 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1234, allocations: 63.66 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1235, allocations: 87.48 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1235, allocations: 4 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.1239, allocations: 243.7 kB / 475.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.124, allocations: 31.77 kB / 475.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.124, allocations: 57.58 kB / 475.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.1243, allocations: 211.2 kB / 475.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1243, allocations: 3.984 kB / 475.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1243, allocations: 0 / 475.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1243, allocations: 0 / 475.6 MB, free: 9.652 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005938/0.1249, allocations: 475 kB / 476.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.125, allocations: 8.031 kB / 476.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.187e-05/0.1251, allocations: 66.48 kB / 476.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.1251, allocations: 23.72 kB / 476.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.1253, allocations: 206.7 kB / 476.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1254, allocations: 16.44 kB / 476.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.1254, allocations: 23.95 kB / 476.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.1258, allocations: 227.3 kB / 476.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1259, allocations: 3.984 kB / 476.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.1259, allocations: 12 kB / 476.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1259, allocations: 4 kB / 476.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.1263, allocations: 257.6 kB / 476.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.1274, allocations: 0.6119 MB / 477.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1277, allocations: 106.6 kB / 477.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.1279, allocations: 52.89 kB / 477.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.1279, allocations: 0 / 477.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1279, allocations: 46.48 kB / 477.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.1279, allocations: 0 / 477.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005291/0.1285, allocations: 177.6 kB / 477.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.1285, allocations: 51.41 kB / 477.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.1288, allocations: 266.9 kB / 478.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.1289, allocations: 29.8 kB / 478.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.129, allocations: 171.3 kB / 478.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.1291, allocations: 35.55 kB / 478.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.1291, allocations: 8 kB / 478.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1293, allocations: 334.8 kB / 478.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1294, allocations: 47.97 kB / 478.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.1296, allocations: 148.8 kB / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.1298, allocations: 75.91 kB / 479 MB, free: 5.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1299, allocations: 4 kB / 479 MB, free: 5.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005023/0.1304, allocations: 249.4 kB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1304, allocations: 4 kB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1304, allocations: 4 kB / 479.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.1304, allocations: 8 kB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.1309, allocations: 83.89 kB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008789/0.1317, allocations: 1.223 MB / 480.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.1319, allocations: 43.58 kB / 480.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.132, allocations: 15.94 kB / 480.6 MB, free: 4.285 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 (25): * Single equations (assignments): 23 * 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.0001394/0.1321, allocations: 134.4 kB / 480.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.1322, allocations: 19.72 kB / 480.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004402/0.1326, allocations: 183.2 kB / 481 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1326, allocations: 4 kB / 481 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1326, allocations: 7.953 kB / 481 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1326, allocations: 0 / 481 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/0.1333, allocations: 464 kB / 481.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1333, allocations: 0 / 481.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.1335, allocations: 59.97 kB / 481.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1335, allocations: 0 / 481.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1336, allocations: 7.953 kB / 481.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007074/0.1343, allocations: 1.211 MB / 482.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1343, allocations: 0 / 482.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.1347, allocations: 261 kB / 483 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.1347, allocations: 100.8 kB / 483.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.1348, allocations: 4 kB / 483.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1349, allocations: 12.17 kB / 483.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.135, allocations: 11.98 kB / 483.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.135, allocations: 15.89 kB / 483.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.1352, allocations: 182 kB / 483.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1352, allocations: 0 / 483.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003926/0.1356, allocations: 64 kB / 483.3 MB, free: 1.406 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0008662/0.1365, allocations: 0.833 MB / 484.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005131/0.137, allocations: 179.8 kB / 484.4 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.137, allocations: 0 / 484.4 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.1373, allocations: 92.89 kB / 484.4 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1376, allocations: 24.83 kB / 484.5 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.1398, allocations: 1.377 MB / 485.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.1401, allocations: 0.7326 MB / 486.6 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.889e-05/0.1402, allocations: 25.97 kB / 486.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.838e-05/0.1403, allocations: 59.42 kB / 486.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1403, allocations: 0 / 486.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.1751, allocations: 5.565 MB / 492.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.1754, allocations: 255.7 kB / 492.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.132, allocations: 4 kB / 492.5 MB, free: 8.277 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC_res.mat does not exist to compare? outputFormat=mat