Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.001786/0.001786, 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.002175/0.002175, 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.466/1.466, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.22/0.22, allocations: 44.9 MB / 355.8 MB, free: 12.31 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.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.002/0.002, allocations: 59.91 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1345, allocations: 65.43 MB / 0.5525 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003882/0.1384, allocations: 2.229 MB / 0.5547 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1403, allocations: 1.176 MB / 0.5558 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1404, allocations: 7.875 kB / 0.5558 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.1407, allocations: 79.58 kB / 0.5559 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.1409, allocations: 111.3 kB / 0.556 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.1415, allocations: 187.3 kB / 0.5562 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005826/0.142, allocations: 0.4899 MB / 0.5566 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.128e-05/0.1421, allocations: 45.02 kB / 0.5567 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.1424, allocations: 175.2 kB / 0.5569 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.1426, allocations: 207 kB / 0.5571 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.1427, allocations: 16 kB / 0.5571 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.1432, allocations: 339.5 kB / 0.5574 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1433, allocations: 95.47 kB / 0.5575 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.1435, allocations: 190.8 kB / 0.5577 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007318/0.1442, allocations: 0.5835 MB / 0.5582 GB, free: 4.148 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1442, allocations: 8 kB / 0.5582 GB, free: 4.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1442, allocations: 0 / 0.5582 GB, free: 4.141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1442, allocations: 0 / 0.5582 GB, free: 4.141 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001395/0.1456, allocations: 0.7712 MB / 0.559 GB, free: 3.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1457, allocations: 8.031 kB / 0.559 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.769e-05/0.1457, allocations: 17.17 kB / 0.559 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.1458, allocations: 86.72 kB / 0.5591 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004172/0.1462, allocations: 88.56 kB / 0.5592 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.1467, allocations: 315.6 kB / 0.5595 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.1467, allocations: 37.12 kB / 0.5595 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.1468, allocations: 44 kB / 0.5596 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.148, allocations: 0.6597 MB / 0.5602 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.148, allocations: 4 kB / 0.5602 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.148, allocations: 20 kB / 0.5602 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.274e-05/0.1481, allocations: 21 kB / 0.5603 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009881/0.149, allocations: 487.5 kB / 0.5607 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.1513, allocations: 1.508 MB / 0.5622 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.1519, allocations: 291.6 kB / 0.5625 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.1523, allocations: 142.4 kB / 0.5626 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.429e-05/0.1524, allocations: 15.97 kB / 0.5626 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.1524, allocations: 42.56 kB / 0.5627 GB, free: 15.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 1.854e-06/0.1524, allocations: 0 / 0.5627 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.001413/0.1538, allocations: 496.9 kB / 0.5631 GB, free: 14.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.1539, allocations: 118.9 kB / 0.5633 GB, free: 14.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006889/0.1546, allocations: 0.5448 MB / 0.5638 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.1546, allocations: 29.7 kB / 0.5638 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.1548, allocations: 224.2 kB / 0.564 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.64e-05/0.1549, allocations: 79.36 kB / 0.5641 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.1551, allocations: 85.86 kB / 0.5642 GB, free: 13.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1552, allocations: 354.8 kB / 0.5645 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.1556, allocations: 160.1 kB / 0.5647 GB, free: 13.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.1561, allocations: 275.8 kB / 0.5649 GB, free: 12.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/0.1571, allocations: 445.3 kB / 0.5654 GB, free: 12.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.1571, allocations: 0 / 0.5654 GB, free: 12.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001125/0.1582, allocations: 0.5011 MB / 0.5659 GB, free: 11.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1582, allocations: 4 kB / 0.5659 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.398e-05/0.1583, allocations: 47.92 kB / 0.5659 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.1583, allocations: 4 kB / 0.5659 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.1586, allocations: 43.89 kB / 0.5659 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.1586, allocations: 7.938 kB / 0.566 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.1589, allocations: 75.44 kB / 0.566 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.1589, allocations: 28.11 kB / 0.5661 GB, free: 11.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002665/0.1592, allocations: 207.9 kB / 0.5662 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.1594, allocations: 47.7 kB / 0.5663 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.1606, allocations: 454.8 kB / 0.5667 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.1606, allocations: 4 kB / 0.5667 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1606, allocations: 0 / 0.5667 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1606, allocations: 0 / 0.5667 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.1613, allocations: 397.3 kB / 0.5671 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.229e-05/0.1613, allocations: 36 kB / 0.5671 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.1615, allocations: 23.97 kB / 0.5672 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1615, allocations: 0 / 0.5672 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.1615, allocations: 19.92 kB / 0.5672 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1615, allocations: 0 / 0.5672 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1615, allocations: 4 kB / 0.5672 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1626, allocations: 0.6055 MB / 0.5678 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.1627, allocations: 128.8 kB / 0.5679 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.1627, allocations: 7.938 kB / 0.5679 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.163, allocations: 31.91 kB / 0.5679 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.1631, allocations: 23.92 kB / 0.568 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.1632, allocations: 15.98 kB / 0.568 GB, free: 9.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005216/0.1637, allocations: 395 kB / 0.5684 GB, free: 9.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1637, allocations: 0 / 0.5684 GB, free: 9.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005792/0.1643, allocations: 131.8 kB / 0.5685 GB, free: 9.141 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001608/0.1659, allocations: 1.206 MB / 0.5697 GB, free: 7.906 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.1671, allocations: 0.6629 MB / 0.5703 GB, free: 7.172 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1671, allocations: 0 / 0.5703 GB, free: 7.172 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.1677, allocations: 476.2 kB / 0.5708 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.1684, allocations: 114.4 kB / 0.5709 GB, free: 6.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007788/0.1762, allocations: 5.188 MB / 0.5759 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.1768, allocations: 0.8621 MB / 0.5768 GB, free: 244 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002559/0.1771, allocations: 91.33 kB / 0.5769 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.1773, allocations: 123.4 kB / 0.577 GB, free: 28 kB / 430.1 MB Notification: Performance of SimCode: time 1.253e-06/0.1773, allocations: 0 / 0.577 GB, free: 28 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.2097, allocations: 13.19 MB / 0.5899 GB, free: 3.121 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.958/9.168, allocations: 7.656 kB / 0.5899 GB, free: 3.117 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.3927750440198] Failed to read output from testmodel.py, exit status != 0: ['time', 'cp[1]', 'cp[2]', 'cp[3]', 'eta[1]', 'eta[2]', 'eta[3]', 'lambda[1]', 'lambda[2]', 'lambda[3]', 'rho[1]', 'rho[2]', 'rho[3]', 'm_flow[1]', 'm_flow[2]', 'm_flow[3]', 'Re_1[1]', 'Re_1[2]', 'Re_1[3]', 'Nu_1[1]', 'Nu_1[2]', 'Nu_1[3]', 'Nu_2[1]', 'Nu_2[2]', 'Nu_2[3]', 'Nu_3[1]', 'Nu_3[2]', 'Nu_3[3]', 'Nu_4[1]', 'Nu_4[2]', 'Nu_4[3]', 'Re', 'Pr[1]', 'Pr[2]', 'Pr[3]', 'input_mflow_0.y', 'input_mflow_1.y', 'input_mflow_2.y'] 9.296339049004018 9.526096796 9.379370118 Calling exit ...