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.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.001695/0.001695, allocations: 113 kB / 18.49 MB, free: 4.539 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.002091/0.002091, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.478/1.478, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2215/0.2215, allocations: 44.91 MB / 355.8 MB, free: 12.28 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_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="cs",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="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.002831/0.002831, allocations: 71.89 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1412, allocations: 65.41 MB / 0.5525 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003548/0.1447, allocations: 2.213 MB / 0.5546 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1464, allocations: 1.11 MB / 0.5557 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.185e-05/0.1465, allocations: 4 kB / 0.5557 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1467, allocations: 79.44 kB / 0.5558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.147, allocations: 103.3 kB / 0.5559 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.1473, allocations: 111.5 kB / 0.556 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1475, allocations: 174.9 kB / 0.5562 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.68e-05/0.1476, allocations: 16.39 kB / 0.5562 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.1478, allocations: 75.58 kB / 0.5563 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.1479, allocations: 99.42 kB / 0.5564 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1479, allocations: 4 kB / 0.5564 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.1483, allocations: 259.6 kB / 0.5566 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.1484, allocations: 31.78 kB / 0.5566 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.1485, allocations: 79.41 kB / 0.5567 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.1489, allocations: 338.4 kB / 0.557 GB, free: 5.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1489, allocations: 0 / 0.557 GB, free: 5.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1489, allocations: 0 / 0.557 GB, free: 5.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1489, allocations: 0 / 0.557 GB, free: 5.398 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000703/0.1497, allocations: 0.5065 MB / 0.5575 GB, free: 4.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1497, allocations: 8.031 kB / 0.5575 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.511e-05/0.1497, allocations: 4.625 kB / 0.5575 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.99e-05/0.1498, allocations: 58.73 kB / 0.5576 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.1498, allocations: 24.8 kB / 0.5576 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1501, allocations: 220 kB / 0.5578 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.1501, allocations: 16.56 kB / 0.5578 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.1501, allocations: 20 kB / 0.5579 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.1506, allocations: 231.2 kB / 0.5581 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1506, allocations: 0 / 0.5581 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.1506, allocations: 19.92 kB / 0.5581 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1506, allocations: 4 kB / 0.5581 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.1511, allocations: 241.6 kB / 0.5583 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.1522, allocations: 0.6236 MB / 0.5589 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.1525, allocations: 98.55 kB / 0.559 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1526, allocations: 40.94 kB / 0.5591 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1526, allocations: 4 kB / 0.5591 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1526, allocations: 30.56 kB / 0.5591 GB, free: 3.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1526, allocations: 0 / 0.5591 GB, free: 3.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005458/0.1532, allocations: 173.4 kB / 0.5593 GB, free: 2.914 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1532, allocations: 51.41 kB / 0.5593 GB, free: 2.852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.1535, allocations: 266.9 kB / 0.5596 GB, free: 2.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1535, allocations: 29.7 kB / 0.5596 GB, free: 2.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1537, allocations: 179.3 kB / 0.5598 GB, free: 2.367 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.1537, allocations: 35.73 kB / 0.5598 GB, free: 2.332 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.1538, allocations: 53.64 kB / 0.5599 GB, free: 2.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1539, allocations: 338.8 kB / 0.5602 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1541, allocations: 47.95 kB / 0.5602 GB, free: 1.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.1543, allocations: 147 kB / 0.5604 GB, free: 1.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.1547, allocations: 208.6 kB / 0.5606 GB, free: 1.449 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1547, allocations: 0 / 0.5606 GB, free: 1.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005123/0.1552, allocations: 241.3 kB / 0.5608 GB, free: 1.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1552, allocations: 8 kB / 0.5608 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1553, allocations: 4 kB / 0.5608 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1553, allocations: 4 kB / 0.5608 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.1557, allocations: 79.91 kB / 0.5609 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009361/0.1566, allocations: 1.227 MB / 0.5621 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.1568, allocations: 31.78 kB / 0.5621 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.1569, allocations: 11.98 kB / 0.5621 GB, free: 15.8 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.157, allocations: 137.7 kB / 0.5623 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.1571, allocations: 24 kB / 0.5623 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.1575, allocations: 175.5 kB / 0.5625 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1575, allocations: 3.984 kB / 0.5625 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1575, allocations: 0 / 0.5625 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1575, allocations: 0 / 0.5625 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007074/0.1583, allocations: 460 kB / 0.5629 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1583, allocations: 4 kB / 0.5629 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.1585, allocations: 51.98 kB / 0.563 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1585, allocations: 4 kB / 0.563 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1585, allocations: 3.984 kB / 0.563 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008106/0.1593, allocations: 1.219 MB / 0.5641 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1593, allocations: 0 / 0.5641 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.1598, allocations: 253.2 kB / 0.5644 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.98e-05/0.1598, allocations: 100.9 kB / 0.5645 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.1599, allocations: 4 kB / 0.5645 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.16, allocations: 4 kB / 0.5645 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.1601, allocations: 11.98 kB / 0.5645 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1601, allocations: 4 kB / 0.5645 GB, free: 13.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.1603, allocations: 193.9 kB / 0.5647 GB, free: 13.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1603, allocations: 0 / 0.5647 GB, free: 13.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.1607, allocations: 71.81 kB / 0.5648 GB, free: 12.94 MB / 430.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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009626/0.1617, allocations: 0.8192 MB / 0.5656 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005812/0.1622, allocations: 163.8 kB / 0.5657 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1622, allocations: 288 / 0.5657 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.1626, allocations: 84.83 kB / 0.5658 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.163, allocations: 28.88 kB / 0.5658 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.1666, allocations: 2.575 MB / 0.5683 GB, free: 9.062 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.167, allocations: 0.7323 MB / 0.5691 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1671, allocations: 21.94 kB / 0.5691 GB, free: 8.281 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1672, allocations: 59.42 kB / 0.5691 GB, free: 8.223 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1672, allocations: 0 / 0.5691 GB, free: 8.223 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.1923, allocations: 6.256 MB / 0.5752 GB, free: 2.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.48, allocations: 11.75 kB / 0.5753 GB, free: 2.219 MB / 430.1 MB " [Timeout remaining time 647] (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/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 --stepSize=0.000201879 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.64025541295996] Failed to read output from testmodel.py, exit status != 0: ['time', 'h_2', 'l_2', 's_2', 't_2', 'Nu', 'm_flow[1]', 'm_flow[2]', 'kc_1', 'kc_2', 'Re_1', 'Re_2', 'input_Nu.y'] 12.637072685989551 12.665054008 12.511012794 Calling exit ...