Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.001332/0.001332, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001386/0.001386, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.506/1.506, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2343/0.2343, allocations: 46.92 MB / 357.8 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 60.14 kB / 0.4917 GB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1364, allocations: 65.99 MB / 0.5561 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004152/0.1405, allocations: 2.709 MB / 0.5587 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.1429, allocations: 1.48 MB / 0.5602 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.143, allocations: 4 kB / 0.5602 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.1434, allocations: 115.1 kB / 0.5603 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.1438, allocations: 138.9 kB / 0.5604 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.1444, allocations: 263.1 kB / 0.5607 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.1447, allocations: 282.1 kB / 0.561 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.1447, allocations: 12.75 kB / 0.561 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1449, allocations: 103.3 kB / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1451, allocations: 123.2 kB / 0.5612 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1451, allocations: 8 kB / 0.5612 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009935/0.1461, allocations: 0.6124 MB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.1461, allocations: 39.66 kB / 0.5618 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.1463, allocations: 139 kB / 0.562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007254/0.147, allocations: 0.5562 MB / 0.5625 GB, free: 15.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.147, allocations: 3.938 kB / 0.5625 GB, free: 15.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.147, allocations: 4 kB / 0.5625 GB, free: 15.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.147, allocations: 0 / 0.5625 GB, free: 15.17 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008849/0.1479, allocations: 0.6466 MB / 0.5631 GB, free: 14.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1479, allocations: 8.031 kB / 0.5631 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.941e-05/0.148, allocations: 13.19 kB / 0.5632 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.785e-05/0.148, allocations: 66.72 kB / 0.5632 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.1481, allocations: 40.7 kB / 0.5633 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1484, allocations: 251.6 kB / 0.5635 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.1484, allocations: 29.12 kB / 0.5635 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.1485, allocations: 39.98 kB / 0.5636 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007875/0.1492, allocations: 0.5802 MB / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1493, allocations: 7.938 kB / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.1493, allocations: 20 kB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1493, allocations: 8 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.1499, allocations: 333 kB / 0.5645 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.1528, allocations: 4.055 MB / 0.5684 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.1531, allocations: 94.52 kB / 0.5685 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.1532, allocations: 36.95 kB / 0.5686 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.1533, allocations: 0 / 0.5686 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.1533, allocations: 38.56 kB / 0.5686 GB, free: 8.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1533, allocations: 3.938 kB / 0.5686 GB, free: 8.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005619/0.1539, allocations: 165.3 kB / 0.5688 GB, free: 8.297 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1539, allocations: 51.41 kB / 0.5688 GB, free: 8.234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004461/0.1543, allocations: 413.8 kB / 0.5692 GB, free: 7.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1544, allocations: 25.7 kB / 0.5692 GB, free: 7.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.1546, allocations: 259.5 kB / 0.5695 GB, free: 7.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.1546, allocations: 35.78 kB / 0.5695 GB, free: 7.496 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1547, allocations: 69.97 kB / 0.5696 GB, free: 7.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.1549, allocations: 354.7 kB / 0.5699 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.1551, allocations: 56.61 kB / 0.57 GB, free: 7.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.1554, allocations: 266.4 kB / 0.5702 GB, free: 6.645 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.156, allocations: 343.9 kB / 0.5706 GB, free: 6.207 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.156, allocations: 0 / 0.5706 GB, free: 6.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006738/0.1567, allocations: 357.6 kB / 0.5709 GB, free: 5.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.1567, allocations: 12 kB / 0.5709 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.1567, allocations: 8 kB / 0.5709 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.1567, allocations: 12 kB / 0.5709 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.1572, allocations: 107.8 kB / 0.571 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009255/0.1582, allocations: 1.227 MB / 0.5722 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.1585, allocations: 67.44 kB / 0.5723 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.1585, allocations: 24 kB / 0.5723 GB, free: 4.352 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001617/0.1587, allocations: 148.5 kB / 0.5725 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.1587, allocations: 35.77 kB / 0.5725 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.1592, allocations: 173 kB / 0.5727 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1592, allocations: 4 kB / 0.5727 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1592, allocations: 0 / 0.5727 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1592, allocations: 0 / 0.5727 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.1595, allocations: 277.4 kB / 0.5729 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1595, allocations: 4 kB / 0.5729 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.1598, allocations: 51.97 kB / 0.573 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1598, allocations: 4 kB / 0.573 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1598, allocations: 0 / 0.573 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008489/0.1607, allocations: 1.211 MB / 0.5742 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1607, allocations: 480 / 0.5742 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.1611, allocations: 239.2 kB / 0.5744 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1612, allocations: 116.8 kB / 0.5745 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.1612, allocations: 11.88 kB / 0.5745 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.1614, allocations: 7.984 kB / 0.5745 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.1615, allocations: 8.094 kB / 0.5745 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.1615, allocations: 11.98 kB / 0.5745 GB, free: 1.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00029/0.1618, allocations: 271.2 kB / 0.5748 GB, free: 1.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1618, allocations: 0 / 0.5748 GB, free: 1.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005693/0.1623, allocations: 119.8 kB / 0.5749 GB, free: 1.543 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 (7): * Single equations (assignments): 5 * 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.001011/0.1634, allocations: 0.8487 MB / 0.5758 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006112/0.164, allocations: 201.3 kB / 0.5759 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.164, allocations: 0 / 0.5759 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.1643, allocations: 80.14 kB / 0.576 GB, free: 404 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.1647, allocations: 43.77 kB / 0.5761 GB, free: 364 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.1693, allocations: 3.4 MB / 0.5794 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.1698, allocations: 0.7678 MB / 0.5801 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.1699, allocations: 42.95 kB / 0.5802 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.1701, allocations: 107.4 kB / 0.5803 GB, free: 11.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1701, allocations: 0 / 0.5803 GB, free: 11.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.204, allocations: 10.2 MB / 0.5902 GB, free: 1.797 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.63, allocations: 3.25 kB / 0.5902 GB, free: 1.797 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.1147498129867] Failed to read output from testmodel.py, exit status != 0: ['time', 'Nu', 'm_flow[1]', 'm_flow[2]', 'm_flow[3]', 'm_flow[4]', 'kc_1', 'kc_4', 'Re_1', 'Re_4', 'input_Nu.y'] 12.779327398980968 13.039365556 12.889452083 Calling exit ...