Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00183/0.00183, allocations: 109 kB / 18.49 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002128/0.002128, allocations: 216.7 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.91 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 75.88 kB / 0.4917 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1292, allocations: 66.04 MB / 0.5562 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003514/0.1327, allocations: 2.128 MB / 0.5583 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1347, allocations: 1.425 MB / 0.5596 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.1348, allocations: 7.938 kB / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.1351, allocations: 87.38 kB / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.1352, allocations: 67.42 kB / 0.5598 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.1357, allocations: 207.1 kB / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.136, allocations: 154.9 kB / 0.5602 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.557e-05/0.1361, allocations: 12.3 kB / 0.5602 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1362, allocations: 71.59 kB / 0.5602 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.994e-05/0.1363, allocations: 59.53 kB / 0.5603 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1363, allocations: 4 kB / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006507/0.137, allocations: 435.4 kB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.1371, allocations: 27.8 kB / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.64e-05/0.1371, allocations: 75.42 kB / 0.5608 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.1377, allocations: 446.2 kB / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1377, allocations: 0 / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1377, allocations: 0 / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1378, allocations: 0 / 0.5612 GB, free: 316 kB / 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.0007279/0.1385, allocations: 0.4944 MB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.1385, allocations: 8.031 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.375e-05/0.1386, allocations: 4.188 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.984e-05/0.1386, allocations: 58.73 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.1387, allocations: 20.8 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1389, allocations: 219.9 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.1389, allocations: 20.12 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.139, allocations: 16 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.1394, allocations: 199.5 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1394, allocations: 0 / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.1394, allocations: 4 kB / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1394, allocations: 8 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.1397, allocations: 152.2 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008976/0.1406, allocations: 0.5715 MB / 0.5629 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1408, allocations: 58.48 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.1409, allocations: 32.94 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.141, allocations: 8 kB / 0.563 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.141, allocations: 38.5 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.141, allocations: 0 / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004603/0.1415, allocations: 129.5 kB / 0.5632 GB, free: 14.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1415, allocations: 55.41 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.1418, allocations: 266.5 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1418, allocations: 29.7 kB / 0.5635 GB, free: 13.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1419, allocations: 163.9 kB / 0.5637 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.142, allocations: 23.83 kB / 0.5637 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.142, allocations: 41.66 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1422, allocations: 334.8 kB / 0.5641 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1423, allocations: 31.97 kB / 0.5641 GB, free: 13.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.1425, allocations: 136 kB / 0.5642 GB, free: 12.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.1428, allocations: 180.8 kB / 0.5644 GB, free: 12.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1428, allocations: 4 kB / 0.5644 GB, free: 12.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004234/0.1433, allocations: 209.2 kB / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1433, allocations: 4 kB / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.1433, allocations: 15.94 kB / 0.5646 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.1433, allocations: 4.438 kB / 0.5646 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.1435, allocations: 35.98 kB / 0.5647 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1435, allocations: 7.938 kB / 0.5647 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.1436, allocations: 31.77 kB / 0.5647 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.1436, allocations: 11.94 kB / 0.5647 GB, free: 12.41 MB / 430.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.0001449/0.1438, allocations: 129.8 kB / 0.5648 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.1438, allocations: 27.78 kB / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.1442, allocations: 134.9 kB / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1442, allocations: 0 / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1442, allocations: 4 kB / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1442, allocations: 0 / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.1445, allocations: 221.5 kB / 0.5652 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.1445, allocations: 16 kB / 0.5652 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.1446, allocations: 4 kB / 0.5652 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1446, allocations: 3.984 kB / 0.5652 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1446, allocations: 0 / 0.5652 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1446, allocations: 4 kB / 0.5652 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1446, allocations: 144 / 0.5652 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.145, allocations: 211.2 kB / 0.5654 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.145, allocations: 101 kB / 0.5655 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.1451, allocations: 0 / 0.5655 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1452, allocations: 8 kB / 0.5655 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.1452, allocations: 11.98 kB / 0.5656 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.1452, allocations: 4 kB / 0.5656 GB, free: 11.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.1454, allocations: 181.9 kB / 0.5657 GB, free: 11.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1454, allocations: 0 / 0.5657 GB, free: 11.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003989/0.1458, allocations: 79.73 kB / 0.5658 GB, free: 11.19 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.0009867/0.1468, allocations: 0.8096 MB / 0.5666 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005009/0.1473, allocations: 168.1 kB / 0.5668 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1473, allocations: 0 / 0.5668 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.1475, allocations: 99.36 kB / 0.5669 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.1479, allocations: 20.88 kB / 0.5669 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.151, allocations: 2.385 MB / 0.5692 GB, free: 7.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.1513, allocations: 0.7281 MB / 0.5699 GB, free: 6.742 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.013e-05/0.1514, allocations: 25.47 kB / 0.5699 GB, free: 6.719 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/0.1515, allocations: 55.42 kB / 0.57 GB, free: 6.664 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1515, allocations: 0 / 0.57 GB, free: 6.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.1773, allocations: 6.871 MB / 0.5767 GB, free: 32 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.85, allocations: 12 kB / 0.5767 GB, free: 20 kB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.917580235982314] 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'] 11.994258883001748 12.009088658 11.868489951 Calling exit ...