Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.001727/0.001727, 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.001997/0.001997, 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.461/1.461, allocations: 230.4 MB / 254.7 MB, free: 15.05 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.2196/0.2196, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 71.89 kB / 0.4917 GB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1231, allocations: 66.05 MB / 0.5562 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003499/0.1266, allocations: 2.142 MB / 0.5583 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1285, allocations: 1.226 MB / 0.5595 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.1286, allocations: 0 / 0.5595 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.1289, allocations: 67.59 kB / 0.5595 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.1291, allocations: 107.4 kB / 0.5596 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.1296, allocations: 179.3 kB / 0.5598 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005092/0.1301, allocations: 441.9 kB / 0.5602 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.116e-05/0.1302, allocations: 32.75 kB / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.1304, allocations: 159.2 kB / 0.5604 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1307, allocations: 183.1 kB / 0.5606 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.1307, allocations: 19.94 kB / 0.5606 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.1311, allocations: 235.6 kB / 0.5608 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1312, allocations: 87.55 kB / 0.5609 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.1314, allocations: 162.9 kB / 0.5611 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.132, allocations: 0.4978 MB / 0.5616 GB, free: 16 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.132, allocations: 0 / 0.5616 GB, free: 16 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.132, allocations: 0 / 0.5616 GB, free: 16 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.132, allocations: 0 / 0.5616 GB, free: 16 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001286/0.1333, allocations: 0.7168 MB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1333, allocations: 12.03 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.05e-05/0.1333, allocations: 13.19 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.407e-05/0.1334, allocations: 86.64 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.1338, allocations: 76.61 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.1342, allocations: 295.6 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.1342, allocations: 33.38 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.1343, allocations: 36.38 kB / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009851/0.1353, allocations: 0.5777 MB / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1353, allocations: 0 / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.1353, allocations: 16 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.1354, allocations: 21 kB / 0.5634 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008617/0.1362, allocations: 427.5 kB / 0.5638 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.1382, allocations: 1.383 MB / 0.5651 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.1387, allocations: 263.6 kB / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.139, allocations: 138.4 kB / 0.5655 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.1391, allocations: 11.92 kB / 0.5655 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1391, allocations: 34.56 kB / 0.5656 GB, free: 11.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.1391, allocations: 0 / 0.5656 GB, free: 11.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001245/0.1404, allocations: 461 kB / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.1404, allocations: 110.8 kB / 0.5661 GB, free: 11.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.141, allocations: 0.502 MB / 0.5666 GB, free: 10.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.1411, allocations: 33.7 kB / 0.5666 GB, free: 10.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1412, allocations: 204.3 kB / 0.5668 GB, free: 10.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.1413, allocations: 59.48 kB / 0.5669 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1414, allocations: 53.69 kB / 0.5669 GB, free: 10.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1416, allocations: 350.8 kB / 0.5673 GB, free: 9.863 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.1419, allocations: 123.9 kB / 0.5674 GB, free: 9.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.1423, allocations: 169 kB / 0.5676 GB, free: 9.559 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.1429, allocations: 306.2 kB / 0.5678 GB, free: 9.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1429, allocations: 0 / 0.5678 GB, free: 9.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008643/0.1438, allocations: 387 kB / 0.5682 GB, free: 8.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1438, allocations: 8 kB / 0.5682 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.782e-05/0.1439, allocations: 27.98 kB / 0.5682 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1439, allocations: 4 kB / 0.5683 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.1441, allocations: 35.91 kB / 0.5683 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.1441, allocations: 4 kB / 0.5683 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.1444, allocations: 63.69 kB / 0.5684 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.1444, allocations: 12 kB / 0.5684 GB, free: 8.707 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001956/0.1446, allocations: 185.7 kB / 0.5685 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1447, allocations: 43.66 kB / 0.5686 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.1455, allocations: 380.6 kB / 0.5689 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1455, allocations: 11.94 kB / 0.569 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1455, allocations: 4 kB / 0.569 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.1455, allocations: 0 / 0.569 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.1461, allocations: 365.3 kB / 0.5693 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.475e-05/0.1461, allocations: 31.92 kB / 0.5693 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.1463, allocations: 23.97 kB / 0.5694 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1463, allocations: 3.938 kB / 0.5694 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.1463, allocations: 16 kB / 0.5694 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1463, allocations: 3.938 kB / 0.5694 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1463, allocations: 0 / 0.5694 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008912/0.1472, allocations: 0.5778 MB / 0.5699 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1473, allocations: 120.8 kB / 0.5701 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.1474, allocations: 11.98 kB / 0.5701 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.1476, allocations: 15.98 kB / 0.5701 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/0.1477, allocations: 19.98 kB / 0.5701 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.1478, allocations: 15.98 kB / 0.5701 GB, free: 6.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004664/0.1482, allocations: 375 kB / 0.5705 GB, free: 6.434 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1482, allocations: 3.938 kB / 0.5705 GB, free: 6.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005223/0.1487, allocations: 107.8 kB / 0.5706 GB, free: 6.324 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001443/0.1502, allocations: 1.168 MB / 0.5717 GB, free: 5.129 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009203/0.1511, allocations: 0.5223 MB / 0.5722 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1511, allocations: 0 / 0.5722 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.1516, allocations: 379.1 kB / 0.5726 GB, free: 4.125 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/0.1523, allocations: 97.81 kB / 0.5727 GB, free: 4.031 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006759/0.159, allocations: 4.764 MB / 0.5773 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.1595, allocations: 0.8458 MB / 0.5782 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.1597, allocations: 59.25 kB / 0.5782 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.1599, allocations: 111.4 kB / 0.5783 GB, free: 14.11 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1599, allocations: 0 / 0.5783 GB, free: 14.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.1908, allocations: 11.5 MB / 0.5896 GB, free: 2.836 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/8.734, allocations: 11.86 kB / 0.5896 GB, free: 2.824 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.876001740049105] Failed to read output from testmodel.py, exit status != 0: ['time', 'n_nt[1]', 'n_nt[2]', 'n_nt[3]', '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]', 'Re', 'Pr[1]', 'Pr[2]', 'Pr[3]', 'input_mflow_1.y', 'input_mflow_2.y', 'input_mflow_0.y'] 8.859379464993253 9.070819534 8.936184589 Calling exit ...