Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001734/0.001734, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001995/0.001995, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2244/0.2244, allocations: 46.89 MB / 357.4 MB, free: 10.5 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 75.88 kB / 0.4912 GB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.134, allocations: 65.98 MB / 0.5557 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003424/0.1374, allocations: 2.043 MB / 0.5577 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1392, allocations: 1.164 MB / 0.5588 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.1393, allocations: 0 / 0.5588 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.1396, allocations: 63.64 kB / 0.5589 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.1398, allocations: 75.53 kB / 0.5589 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.1404, allocations: 175.4 kB / 0.5591 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.1408, allocations: 338.4 kB / 0.5594 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.527e-05/0.1408, allocations: 20.75 kB / 0.5595 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.1411, allocations: 123.4 kB / 0.5596 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.1413, allocations: 143.3 kB / 0.5597 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.1413, allocations: 8 kB / 0.5597 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003672/0.1417, allocations: 211.7 kB / 0.5599 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.853e-05/0.1417, allocations: 71.67 kB / 0.56 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.1419, allocations: 131.1 kB / 0.5601 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005101/0.1424, allocations: 390.4 kB / 0.5605 GB, free: 1.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1424, allocations: 7.922 kB / 0.5605 GB, free: 1.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1424, allocations: 0 / 0.5605 GB, free: 1.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1424, allocations: 0 / 0.5605 GB, free: 1.449 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001119/0.1435, allocations: 0.6465 MB / 0.5611 GB, free: 0.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1436, allocations: 8.031 kB / 0.5611 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.538e-05/0.1436, allocations: 66.72 kB / 0.5612 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/0.144, allocations: 68.66 kB / 0.5613 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.1444, allocations: 263.4 kB / 0.5615 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1444, allocations: 24.56 kB / 0.5615 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.1444, allocations: 31.98 kB / 0.5616 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007416/0.1452, allocations: 429.9 kB / 0.562 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1452, allocations: 0 / 0.562 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.1452, allocations: 8 kB / 0.562 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.1453, allocations: 24.5 kB / 0.562 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006601/0.1459, allocations: 318 kB / 0.5623 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.1475, allocations: 1.108 MB / 0.5634 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.148, allocations: 227.7 kB / 0.5636 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.1482, allocations: 110.4 kB / 0.5637 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.1483, allocations: 7.984 kB / 0.5637 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.1483, allocations: 38.5 kB / 0.5638 GB, free: 13.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1483, allocations: 0 / 0.5638 GB, free: 13.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009978/0.1493, allocations: 357.1 kB / 0.5641 GB, free: 13.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.1494, allocations: 114.7 kB / 0.5642 GB, free: 13.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.1499, allocations: 405.8 kB / 0.5646 GB, free: 12.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.1499, allocations: 33.7 kB / 0.5646 GB, free: 12.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.1501, allocations: 200 kB / 0.5648 GB, free: 12.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.1501, allocations: 55.56 kB / 0.5649 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.1502, allocations: 61.89 kB / 0.5649 GB, free: 12.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1504, allocations: 338.8 kB / 0.5653 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.1507, allocations: 124.1 kB / 0.5654 GB, free: 12.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.151, allocations: 237.8 kB / 0.5656 GB, free: 11.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.1517, allocations: 363.2 kB / 0.5659 GB, free: 11.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1517, allocations: 4 kB / 0.566 GB, free: 11.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008205/0.1525, allocations: 393.4 kB / 0.5663 GB, free: 11.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1526, allocations: 11.97 kB / 0.5663 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.65e-05/0.1526, allocations: 27.98 kB / 0.5664 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/0.1526, allocations: 8 kB / 0.5664 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.1529, allocations: 55.83 kB / 0.5664 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.1529, allocations: 7.938 kB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.1532, allocations: 59.61 kB / 0.5665 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.1532, allocations: 15.98 kB / 0.5665 GB, free: 10.88 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001906/0.1534, allocations: 177.7 kB / 0.5667 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.615e-05/0.1535, allocations: 31.81 kB / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006079/0.1541, allocations: 280.2 kB / 0.567 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1541, allocations: 7.938 kB / 0.567 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1541, allocations: 0 / 0.567 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1541, allocations: 4 kB / 0.567 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.1546, allocations: 305.5 kB / 0.5673 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-05/0.1546, allocations: 20 kB / 0.5673 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1548, allocations: 19.97 kB / 0.5673 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1548, allocations: 4 kB / 0.5673 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.1548, allocations: 4 kB / 0.5673 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1548, allocations: 4.031 kB / 0.5673 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.1548, allocations: 15.91 kB / 0.5673 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.1555, allocations: 0.5016 MB / 0.5678 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1556, allocations: 116.8 kB / 0.5679 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.1557, allocations: 4 kB / 0.5679 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.1559, allocations: 27.91 kB / 0.568 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.156, allocations: 15.98 kB / 0.568 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.156, allocations: 4 kB / 0.568 GB, free: 9.254 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003048/0.1563, allocations: 291.1 kB / 0.5683 GB, free: 8.969 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1563, allocations: 0 / 0.5683 GB, free: 8.969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005151/0.1568, allocations: 91.88 kB / 0.5684 GB, free: 8.879 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001256/0.1581, allocations: 1.089 MB / 0.5694 GB, free: 7.758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008033/0.1589, allocations: 441.8 kB / 0.5698 GB, free: 7.293 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1589, allocations: 0 / 0.5698 GB, free: 7.293 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.1593, allocations: 262.1 kB / 0.5701 GB, free: 7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.1598, allocations: 78.44 kB / 0.5702 GB, free: 6.926 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/0.1654, allocations: 3.85 MB / 0.5739 GB, free: 2.887 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.1658, allocations: 0.8025 MB / 0.5747 GB, free: 2.059 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.166, allocations: 62.92 kB / 0.5748 GB, free: 2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.1661, allocations: 87.41 kB / 0.5749 GB, free: 1.914 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1661, allocations: 0 / 0.5749 GB, free: 1.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.1987, allocations: 9.18 MB / 0.5838 GB, free: 8.922 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.531, allocations: 7.922 kB / 0.5838 GB, free: 8.914 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.71926570031792] 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]', 'Re', 'Pr[1]', 'Pr[2]', 'Pr[3]', 'input_mflow_0.y', 'input_mflow_1.y', 'input_mflow_2.y'] 8.607367649208754 8.870555952 8.725045956 Calling exit ...