Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001278/0.001278, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001409/0.001409, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.407/1.407, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 46.92 MB / 357.7 MB, free: 10.17 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 84.16 kB / 0.4917 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1282, allocations: 66.04 MB / 0.5562 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.00328/0.1315, allocations: 2.034 MB / 0.5582 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.1334, allocations: 1.16 MB / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1335, allocations: 0 / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1338, allocations: 59.66 kB / 0.5594 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.134, allocations: 87.45 kB / 0.5594 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.1346, allocations: 182.3 kB / 0.5596 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.135, allocations: 330.5 kB / 0.5599 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.1351, allocations: 20.75 kB / 0.56 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.1353, allocations: 127.4 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.1355, allocations: 143.3 kB / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.1355, allocations: 8 kB / 0.5602 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003821/0.1359, allocations: 211.7 kB / 0.5604 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.752e-05/0.136, allocations: 75.67 kB / 0.5605 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.1361, allocations: 127.1 kB / 0.5606 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.1366, allocations: 402.2 kB / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1367, allocations: 0 / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1367, allocations: 4 kB / 0.561 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1367, allocations: 0 / 0.561 GB, free: 0.5117 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.001173/0.1378, allocations: 0.6387 MB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1379, allocations: 12.03 kB / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.123e-05/0.1379, allocations: 8.75 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.263e-05/0.138, allocations: 66.72 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003728/0.1383, allocations: 64.67 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.1387, allocations: 271.2 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1387, allocations: 20.56 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.1387, allocations: 24 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.1395, allocations: 441.8 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1395, allocations: 0 / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.1395, allocations: 8 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.1396, allocations: 16.56 kB / 0.5625 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007206/0.1403, allocations: 325.9 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.1418, allocations: 1.108 MB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.1423, allocations: 239.7 kB / 0.5641 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.1425, allocations: 102.5 kB / 0.5642 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.1426, allocations: 7.984 kB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1426, allocations: 34.56 kB / 0.5643 GB, free: 12.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1426, allocations: 0 / 0.5643 GB, free: 12.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.00105/0.1437, allocations: 365.1 kB / 0.5646 GB, free: 12.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.1438, allocations: 102.8 kB / 0.5647 GB, free: 12.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.1442, allocations: 405.6 kB / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1442, allocations: 25.8 kB / 0.5651 GB, free: 12.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1444, allocations: 208.1 kB / 0.5653 GB, free: 11.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.1444, allocations: 55.56 kB / 0.5654 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.1446, allocations: 65.88 kB / 0.5654 GB, free: 11.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1447, allocations: 338.8 kB / 0.5658 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.145, allocations: 120.1 kB / 0.5659 GB, free: 11.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.1454, allocations: 239.7 kB / 0.5661 GB, free: 10.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/0.1461, allocations: 363 kB / 0.5665 GB, free: 10.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.1461, allocations: 4 kB / 0.5665 GB, free: 10.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008751/0.147, allocations: 400.8 kB / 0.5668 GB, free: 10.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.147, allocations: 8.531 kB / 0.5669 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.825e-05/0.1471, allocations: 23.98 kB / 0.5669 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.1471, allocations: 15.94 kB / 0.5669 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.1473, allocations: 43.91 kB / 0.5669 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.1473, allocations: 7.984 kB / 0.5669 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.1476, allocations: 59.61 kB / 0.567 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.1477, allocations: 19.98 kB / 0.567 GB, free: 9.938 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.0001852/0.1479, allocations: 165.7 kB / 0.5672 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.2e-05/0.148, allocations: 31.81 kB / 0.5672 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006293/0.1486, allocations: 288.1 kB / 0.5675 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.1486, allocations: 11.92 kB / 0.5675 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1486, allocations: 0 / 0.5675 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1486, allocations: 4 kB / 0.5675 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.1491, allocations: 293.5 kB / 0.5678 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.916e-05/0.1491, allocations: 23.98 kB / 0.5678 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.1493, allocations: 23.97 kB / 0.5678 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1493, allocations: 4 kB / 0.5678 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.1493, allocations: 8 kB / 0.5678 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.1493, allocations: 7.875 kB / 0.5678 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1493, allocations: 0 / 0.5678 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.15, allocations: 0.4977 MB / 0.5683 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1501, allocations: 116.8 kB / 0.5684 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.1502, allocations: 8 kB / 0.5684 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.1505, allocations: 23.91 kB / 0.5685 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.1505, allocations: 19.98 kB / 0.5685 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.1505, allocations: 8 kB / 0.5685 GB, free: 8.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003152/0.1509, allocations: 291.2 kB / 0.5688 GB, free: 8.039 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1509, allocations: 7.875 kB / 0.5688 GB, free: 8.031 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005143/0.1514, allocations: 91.88 kB / 0.5689 GB, free: 7.941 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.001268/0.1526, allocations: 1.098 MB / 0.5699 GB, free: 6.812 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008356/0.1535, allocations: 434.7 kB / 0.5704 GB, free: 6.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1535, allocations: 0 / 0.5704 GB, free: 6.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004034/0.1539, allocations: 270 kB / 0.5706 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.1545, allocations: 83.55 kB / 0.5707 GB, free: 5.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/0.1599, allocations: 3.835 MB / 0.5744 GB, free: 1.949 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.1603, allocations: 0.8064 MB / 0.5752 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.1605, allocations: 58.94 kB / 0.5753 GB, free: 1.062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.1606, allocations: 83.41 kB / 0.5754 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1606, allocations: 0 / 0.5754 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.1861, allocations: 9.22 MB / 0.5844 GB, free: 7.969 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/8.546, allocations: 8.656 kB / 0.5844 GB, free: 7.961 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.653086174977943] 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.673561952018645 8.897790558 8.758399124 Calling exit ...