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_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.001957/0.001957, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.002252/0.002252, allocations: 215 kB / 21.45 MB, free: 1.617 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.471/1.471, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2168/0.2168, allocations: 44.91 MB / 355.8 MB, free: 12.33 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_roundTube,fileNamePrefix="ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.001827/0.001827, allocations: 71.89 kB / 0.4886 GB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1365, allocations: 65.42 MB / 0.5525 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003735/0.1402, allocations: 2.123 MB / 0.5545 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.1432, allocations: 1.721 MB / 0.5562 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1433, allocations: 4 kB / 0.5562 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.1436, allocations: 95.42 kB / 0.5563 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.1438, allocations: 59.44 kB / 0.5564 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.1447, allocations: 370.7 kB / 0.5567 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1449, allocations: 147 kB / 0.5569 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.145, allocations: 12.3 kB / 0.5569 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.145, allocations: 51.73 kB / 0.5569 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1452, allocations: 63.53 kB / 0.557 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1452, allocations: 4 kB / 0.557 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.1465, allocations: 0.7957 MB / 0.5578 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.1466, allocations: 27.84 kB / 0.5578 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1467, allocations: 71.44 kB / 0.5579 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009623/0.1476, allocations: 0.5917 MB / 0.5584 GB, free: 4.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.1477, allocations: 4 kB / 0.5584 GB, free: 4.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1477, allocations: 0 / 0.5584 GB, free: 4.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.1477, allocations: 0 / 0.5584 GB, free: 4.098 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008319/0.1485, allocations: 0.5141 MB / 0.5589 GB, free: 3.531 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1485, allocations: 12.02 kB / 0.559 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.861e-05/0.1486, allocations: 12.62 kB / 0.559 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.1486, allocations: 50.73 kB / 0.559 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.1487, allocations: 28.73 kB / 0.559 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1489, allocations: 221.4 kB / 0.5593 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.1489, allocations: 16.44 kB / 0.5593 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.149, allocations: 16 kB / 0.5593 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.1494, allocations: 259.6 kB / 0.5595 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1494, allocations: 7.922 kB / 0.5595 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.1494, allocations: 8 kB / 0.5595 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1494, allocations: 11.94 kB / 0.5596 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.1498, allocations: 152.2 kB / 0.5597 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.1509, allocations: 0.912 MB / 0.5606 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.1511, allocations: 54.55 kB / 0.5606 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.1512, allocations: 32.95 kB / 0.5607 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.1512, allocations: 7.984 kB / 0.5607 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1513, allocations: 30.56 kB / 0.5607 GB, free: 1.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.813e-06/0.1513, allocations: 4 kB / 0.5607 GB, free: 1.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004877/0.1517, allocations: 133.4 kB / 0.5608 GB, free: 1.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1518, allocations: 51.41 kB / 0.5609 GB, free: 1.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.1521, allocations: 271 kB / 0.5612 GB, free: 1.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1521, allocations: 25.7 kB / 0.5612 GB, free: 1.055 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.1522, allocations: 183.4 kB / 0.5614 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.1522, allocations: 23.8 kB / 0.5614 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-05/0.1523, allocations: 53.66 kB / 0.5614 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1525, allocations: 334.8 kB / 0.5617 GB, free: 464 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1526, allocations: 44.19 kB / 0.5618 GB, free: 416 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.1529, allocations: 196.7 kB / 0.562 GB, free: 152 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.1533, allocations: 255.5 kB / 0.5622 GB, free: 15.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1533, allocations: 0 / 0.5622 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005192/0.1538, allocations: 257 kB / 0.5625 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1538, allocations: 6.188 kB / 0.5625 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.449e-05/0.1539, allocations: 20 kB / 0.5625 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1539, allocations: 8.125 kB / 0.5625 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.1541, allocations: 52.5 kB / 0.5625 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1541, allocations: 11.98 kB / 0.5626 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.1542, allocations: 43.72 kB / 0.5626 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.1543, allocations: 16 kB / 0.5626 GB, free: 15.41 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.0001274/0.1544, allocations: 133.7 kB / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.1544, allocations: 23.86 kB / 0.5628 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.1549, allocations: 142.8 kB / 0.5629 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1549, allocations: 0 / 0.5629 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1549, allocations: 0 / 0.5629 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1549, allocations: 7.922 kB / 0.5629 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.1551, allocations: 217.5 kB / 0.5631 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.1551, allocations: 8 kB / 0.5631 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-05/0.1552, allocations: 15.92 kB / 0.5631 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1552, allocations: 4 kB / 0.5631 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1552, allocations: 3.938 kB / 0.5631 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1552, allocations: 0 / 0.5631 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1552, allocations: 4 kB / 0.5631 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.1556, allocations: 207.3 kB / 0.5633 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.1556, allocations: 97.16 kB / 0.5634 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.1557, allocations: 7.938 kB / 0.5634 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1558, allocations: 11.97 kB / 0.5635 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.1558, allocations: 4 kB / 0.5635 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.1558, allocations: 0 / 0.5635 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.156, allocations: 186 kB / 0.5636 GB, free: 14.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.156, allocations: 0 / 0.5636 GB, free: 14.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005304/0.1565, allocations: 107.7 kB / 0.5637 GB, free: 14.16 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.001056/0.1576, allocations: 0.8331 MB / 0.5646 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000523/0.1581, allocations: 204.4 kB / 0.5648 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.1581, allocations: 4 kB / 0.5648 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.1583, allocations: 91.38 kB / 0.5648 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1587, allocations: 24.81 kB / 0.5649 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.162, allocations: 2.526 MB / 0.5673 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1623, allocations: 0.7323 MB / 0.568 GB, free: 9.461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.552e-05/0.1624, allocations: 25.94 kB / 0.5681 GB, free: 9.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.1625, allocations: 59.42 kB / 0.5681 GB, free: 9.371 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1625, allocations: 0 / 0.5681 GB, free: 9.371 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.1911, allocations: 9.104 MB / 0.577 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.8, allocations: 15 kB / 0.577 GB, free: 0.5234 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.93058809696231] 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.951894263969734 12.967020747 12.816385179 Calling exit ...