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.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.001398/0.001398, 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.001408/0.001408, 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.481/1.481, 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.2504/0.2504, allocations: 46.92 MB / 357.8 MB, free: 10.3 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,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 71.89 kB / 0.4916 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1408, allocations: 65.99 MB / 0.5561 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003749/0.1445, allocations: 2.117 MB / 0.5582 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.1472, allocations: 1.721 MB / 0.5598 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.375e-05/0.1473, allocations: 4 kB / 0.5598 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.1476, allocations: 95.36 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.1478, allocations: 67.42 kB / 0.56 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008755/0.1487, allocations: 362.6 kB / 0.5603 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1489, allocations: 143 kB / 0.5605 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.1489, allocations: 12.31 kB / 0.5605 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.149, allocations: 55.67 kB / 0.5605 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1491, allocations: 63.58 kB / 0.5606 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1491, allocations: 4 kB / 0.5606 GB, free: 1.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.1504, allocations: 0.7919 MB / 0.5614 GB, free: 344 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.1505, allocations: 31.77 kB / 0.5614 GB, free: 312 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.1506, allocations: 75.5 kB / 0.5615 GB, free: 236 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008256/0.1514, allocations: 0.5917 MB / 0.5621 GB, free: 15.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1514, allocations: 0 / 0.5621 GB, free: 15.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1514, allocations: 0 / 0.5621 GB, free: 15.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.1514, allocations: 0 / 0.5621 GB, free: 15.64 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007823/0.1522, allocations: 0.5141 MB / 0.5626 GB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1522, allocations: 8.031 kB / 0.5626 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.928e-05/0.1523, allocations: 8.625 kB / 0.5626 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.558e-05/0.1523, allocations: 58.72 kB / 0.5626 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.1524, allocations: 28.8 kB / 0.5627 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1526, allocations: 212.2 kB / 0.5629 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1526, allocations: 8.438 kB / 0.5629 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.1527, allocations: 27.94 kB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.1531, allocations: 259.5 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1531, allocations: 4 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.1531, allocations: 8 kB / 0.5632 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1532, allocations: 4 kB / 0.5632 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.1535, allocations: 157.3 kB / 0.5633 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.1546, allocations: 0.912 MB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.1548, allocations: 62.48 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.1549, allocations: 28.95 kB / 0.5643 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.155, allocations: 3.984 kB / 0.5643 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.155, allocations: 42.48 kB / 0.5643 GB, free: 13.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.155, allocations: 0 / 0.5643 GB, free: 13.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004869/0.1555, allocations: 141.4 kB / 0.5645 GB, free: 12.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1555, allocations: 55.34 kB / 0.5645 GB, free: 12.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1558, allocations: 266.9 kB / 0.5648 GB, free: 12.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1558, allocations: 29.7 kB / 0.5648 GB, free: 12.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.156, allocations: 183.5 kB / 0.565 GB, free: 12.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.156, allocations: 23.8 kB / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.1561, allocations: 49.66 kB / 0.565 GB, free: 12.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1563, allocations: 330.8 kB / 0.5654 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1564, allocations: 44.2 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.1567, allocations: 192.7 kB / 0.5656 GB, free: 11.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.1571, allocations: 251.4 kB / 0.5658 GB, free: 11.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1571, allocations: 8 kB / 0.5658 GB, free: 11.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005061/0.1576, allocations: 253.4 kB / 0.5661 GB, free: 11.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1576, allocations: 11.98 kB / 0.5661 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.376e-05/0.1577, allocations: 16 kB / 0.5661 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.1577, allocations: 7.938 kB / 0.5661 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.1578, allocations: 47.92 kB / 0.5662 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.1579, allocations: 15.91 kB / 0.5662 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.158, allocations: 39.67 kB / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.158, allocations: 16.25 kB / 0.5662 GB, free: 10.96 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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.0001272/0.1582, allocations: 137.8 kB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.1582, allocations: 23.86 kB / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/0.1586, allocations: 142.8 kB / 0.5665 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1586, allocations: 0 / 0.5665 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1586, allocations: 3.938 kB / 0.5665 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1586, allocations: 0 / 0.5665 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.1589, allocations: 221.5 kB / 0.5667 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.1589, allocations: 12 kB / 0.5667 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.159, allocations: 7.984 kB / 0.5667 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.159, allocations: 4.188 kB / 0.5668 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.159, allocations: 7.938 kB / 0.5668 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.159, allocations: 4 kB / 0.5668 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.159, allocations: 0 / 0.5668 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.1594, allocations: 199.4 kB / 0.567 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/0.1595, allocations: 101.1 kB / 0.5671 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.1595, allocations: 3.938 kB / 0.5671 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1596, allocations: 11.97 kB / 0.5671 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.1597, allocations: 8 kB / 0.5671 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1597, allocations: 7.938 kB / 0.5671 GB, free: 9.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.1599, allocations: 185.9 kB / 0.5673 GB, free: 9.797 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1599, allocations: 0 / 0.5673 GB, free: 9.797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005244/0.1604, allocations: 103.8 kB / 0.5674 GB, free: 9.695 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.001084/0.1615, allocations: 0.8448 MB / 0.5682 GB, free: 8.824 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.162, allocations: 192.4 kB / 0.5684 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.162, allocations: 4 kB / 0.5684 GB, free: 8.621 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.1622, allocations: 99.38 kB / 0.5685 GB, free: 8.512 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1626, allocations: 22.75 kB / 0.5685 GB, free: 8.488 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.1659, allocations: 2.517 MB / 0.5709 GB, free: 5.762 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.1663, allocations: 0.7323 MB / 0.5717 GB, free: 5.004 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.849e-05/0.1664, allocations: 25.88 kB / 0.5717 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.888e-05/0.1665, allocations: 63.42 kB / 0.5717 GB, free: 4.91 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1665, allocations: 0 / 0.5717 GB, free: 4.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.1979, allocations: 9.109 MB / 0.5806 GB, free: 12.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.36, allocations: 19 kB / 0.5807 GB, free: 12.05 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.698742158012465] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[4]', 'Nu[1]', 'Nu[4]', 'input_Re.y'] 12.504920473031234 12.737878316 12.365145278 Calling exit ...