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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 121 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 213.5 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2201/0.2201, allocations: 44.91 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 71.89 kB / 0.4886 GB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1249, allocations: 65.42 MB / 0.5525 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003671/0.1286, allocations: 2.141 MB / 0.5546 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.1309, allocations: 1.421 MB / 0.5559 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.131, allocations: 8 kB / 0.5559 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.1314, allocations: 87.44 kB / 0.556 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.1316, allocations: 67.36 kB / 0.5561 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.1322, allocations: 207.1 kB / 0.5563 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.1324, allocations: 154.9 kB / 0.5564 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.303e-05/0.1325, allocations: 12.25 kB / 0.5565 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.1327, allocations: 67.59 kB / 0.5565 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.1328, allocations: 71.52 kB / 0.5566 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1328, allocations: 4 kB / 0.5566 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006436/0.1334, allocations: 431.4 kB / 0.557 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.1335, allocations: 23.8 kB / 0.557 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.1335, allocations: 67.56 kB / 0.5571 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.1341, allocations: 446.2 kB / 0.5575 GB, free: 4.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1341, allocations: 0 / 0.5575 GB, free: 4.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1341, allocations: 0 / 0.5575 GB, free: 4.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1342, allocations: 0 / 0.5575 GB, free: 4.957 MB / 414.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.000733/0.1349, allocations: 0.4982 MB / 0.558 GB, free: 4.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1349, allocations: 8.031 kB / 0.558 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.176e-05/0.1349, allocations: 4.188 kB / 0.558 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.491e-05/0.135, allocations: 62.72 kB / 0.5581 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.1351, allocations: 24.8 kB / 0.5581 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1353, allocations: 211.4 kB / 0.5583 GB, free: 4.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1353, allocations: 20.11 kB / 0.5583 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.1353, allocations: 20 kB / 0.5583 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.1358, allocations: 202.4 kB / 0.5585 GB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1358, allocations: 3.984 kB / 0.5585 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.1358, allocations: 12 kB / 0.5585 GB, free: 3.801 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1358, allocations: 4 kB / 0.5585 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.1361, allocations: 144.2 kB / 0.5587 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009278/0.137, allocations: 0.5793 MB / 0.5592 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.1373, allocations: 58.55 kB / 0.5593 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.1374, allocations: 32.94 kB / 0.5593 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1374, allocations: 4 kB / 0.5593 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1374, allocations: 34.5 kB / 0.5594 GB, free: 2.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.1374, allocations: 0 / 0.5594 GB, free: 2.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004932/0.1379, allocations: 133.5 kB / 0.5595 GB, free: 2.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.138, allocations: 55.39 kB / 0.5596 GB, free: 2.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.1382, allocations: 262.6 kB / 0.5598 GB, free: 2.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1383, allocations: 25.7 kB / 0.5598 GB, free: 2.379 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1384, allocations: 167.9 kB / 0.56 GB, free: 2.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.1384, allocations: 23.83 kB / 0.56 GB, free: 2.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.1385, allocations: 37.67 kB / 0.56 GB, free: 2.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1386, allocations: 338.8 kB / 0.5604 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1388, allocations: 31.97 kB / 0.5604 GB, free: 1.773 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.139, allocations: 138.5 kB / 0.5605 GB, free: 1.594 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.1393, allocations: 180.7 kB / 0.5607 GB, free: 1.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1393, allocations: 3.938 kB / 0.5607 GB, free: 1.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004476/0.1398, allocations: 205.2 kB / 0.5609 GB, free: 1.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1398, allocations: 11.98 kB / 0.5609 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.1398, allocations: 8 kB / 0.5609 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1398, allocations: 8.438 kB / 0.5609 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.14, allocations: 31.92 kB / 0.561 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.14, allocations: 4 kB / 0.561 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.1401, allocations: 35.77 kB / 0.561 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1402, allocations: 15.94 kB / 0.561 GB, free: 1.047 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.1403, allocations: 128 kB / 0.5611 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.1403, allocations: 19.86 kB / 0.5612 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.1408, allocations: 146.7 kB / 0.5613 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1408, allocations: 4 kB / 0.5613 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1408, allocations: 0 / 0.5613 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1408, allocations: 0 / 0.5613 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.1411, allocations: 217.5 kB / 0.5615 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/0.1411, allocations: 15.98 kB / 0.5615 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.1412, allocations: 8 kB / 0.5615 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1412, allocations: 0 / 0.5615 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1412, allocations: 7.938 kB / 0.5615 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1412, allocations: 0 / 0.5615 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1412, allocations: 0 / 0.5615 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.1415, allocations: 215.3 kB / 0.5617 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.1416, allocations: 96.97 kB / 0.5618 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1416, allocations: 0 / 0.5618 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1417, allocations: 7.984 kB / 0.5618 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.1418, allocations: 11.94 kB / 0.5619 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.1418, allocations: 7.984 kB / 0.5619 GB, free: 84 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.142, allocations: 177.9 kB / 0.562 GB, free: 15.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.142, allocations: 0 / 0.562 GB, free: 15.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004129/0.1424, allocations: 79.8 kB / 0.5621 GB, free: 15.83 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008844/0.1433, allocations: 0.7983 MB / 0.5629 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.1438, allocations: 187.9 kB / 0.5631 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1438, allocations: 0 / 0.5631 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.144, allocations: 91.38 kB / 0.5632 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1444, allocations: 24.81 kB / 0.5632 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.1475, allocations: 2.385 MB / 0.5655 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.1479, allocations: 0.732 MB / 0.5662 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.142e-05/0.1479, allocations: 17.55 kB / 0.5662 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.148, allocations: 59.41 kB / 0.5663 GB, free: 11.29 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.148, allocations: 0 / 0.5663 GB, free: 11.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.175, allocations: 6.868 MB / 0.573 GB, free: 4.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.52, allocations: 20.39 kB / 0.573 GB, free: 4.672 MB / 430.1 MB " [Timeout remaining time 647] (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/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 --stepSize=0.000201879 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.7123322020052] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[2]', 'Nu[1]', 'Nu[2]', 'input_Re.y'] 12.672883767983876 12.688849595 12.551709022 Calling exit ...