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.00124/0.00124, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001412/0.001412, allocations: 210.8 kB / 24.52 MB, free: 3.914 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.378/1.378, allocations: 230.5 MB / 258.2 MB, free: 7.762 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.2195/0.2195, allocations: 46.95 MB / 361.6 MB, free: 3.934 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.002169/0.002169, allocations: 75.88 kB / 0.4969 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3078, allocations: 66.09 MB / 0.5615 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003363/0.3112, allocations: 1.967 MB / 0.5634 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3129, allocations: 1.049 MB / 0.5644 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.313, allocations: 0 / 0.5644 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.3133, allocations: 59.62 kB / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.3135, allocations: 79.52 kB / 0.5646 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.314, allocations: 190.7 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.3144, allocations: 330.5 kB / 0.565 GB, free: 384 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.3145, allocations: 10.77 kB / 0.5651 GB, free: 372 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.3147, allocations: 123.4 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.3149, allocations: 147.3 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.3149, allocations: 12 kB / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.3152, allocations: 155.8 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3153, allocations: 71.62 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3155, allocations: 107.3 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.316, allocations: 390.3 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.316, allocations: 0 / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.316, allocations: 0 / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.316, allocations: 0 / 0.566 GB, free: 15.38 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.001088/0.3171, allocations: 0.5635 MB / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3171, allocations: 8.031 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.812e-05/0.3171, allocations: 12.84 kB / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.82e-05/0.3172, allocations: 66.72 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.3176, allocations: 68.66 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.3179, allocations: 209.4 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3179, allocations: 20.66 kB / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.318, allocations: 28 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.3187, allocations: 430.6 kB / 0.5674 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3187, allocations: 0 / 0.5674 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.3188, allocations: 15.94 kB / 0.5674 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.3188, allocations: 20.59 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.3195, allocations: 322.3 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.321, allocations: 1.027 MB / 0.5687 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.3215, allocations: 235.7 kB / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.3217, allocations: 106.5 kB / 0.569 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.3218, allocations: 7.938 kB / 0.5691 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3218, allocations: 34.56 kB / 0.5691 GB, free: 12.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.3218, allocations: 0 / 0.5691 GB, free: 12.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009797/0.3228, allocations: 361.3 kB / 0.5694 GB, free: 11.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.3229, allocations: 110.8 kB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.3233, allocations: 405.6 kB / 0.5699 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.3234, allocations: 29.7 kB / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3236, allocations: 204 kB / 0.5701 GB, free: 10.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.3236, allocations: 47.64 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.3237, allocations: 61.89 kB / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3239, allocations: 346.8 kB / 0.5706 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.3242, allocations: 112.1 kB / 0.5707 GB, free: 10.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.3246, allocations: 247.8 kB / 0.5709 GB, free: 10.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.3253, allocations: 363 kB / 0.5713 GB, free: 9.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3253, allocations: 0 / 0.5713 GB, free: 9.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008347/0.3261, allocations: 405.1 kB / 0.5717 GB, free: 9.219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3261, allocations: 9.875 kB / 0.5717 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/0.3262, allocations: 23.94 kB / 0.5717 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.3262, allocations: 7.938 kB / 0.5717 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3265, allocations: 51.89 kB / 0.5717 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.3265, allocations: 4 kB / 0.5718 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.3267, allocations: 63.81 kB / 0.5718 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.3268, allocations: 20 kB / 0.5718 GB, free: 9.043 MB / 414.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.0001989/0.327, allocations: 183 kB / 0.572 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/0.3271, allocations: 27.81 kB / 0.572 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006081/0.3277, allocations: 284.6 kB / 0.5723 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3277, allocations: 7.938 kB / 0.5723 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3277, allocations: 4.094 kB / 0.5723 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3277, allocations: 11.92 kB / 0.5723 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.3281, allocations: 256.6 kB / 0.5726 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.46e-05/0.3282, allocations: 20 kB / 0.5726 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.3283, allocations: 19.97 kB / 0.5726 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3283, allocations: 4 kB / 0.5726 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3283, allocations: 11.98 kB / 0.5726 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.3283, allocations: 3.938 kB / 0.5726 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3283, allocations: 4 kB / 0.5726 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007357/0.3291, allocations: 0.5132 MB / 0.5731 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.3291, allocations: 31.77 kB / 0.5732 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.3292, allocations: 11.98 kB / 0.5732 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.3295, allocations: 15.92 kB / 0.5732 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.3295, allocations: 19.97 kB / 0.5732 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3296, allocations: 4 kB / 0.5732 GB, free: 7.555 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003143/0.3299, allocations: 295.1 kB / 0.5735 GB, free: 7.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3299, allocations: 0 / 0.5735 GB, free: 7.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005116/0.3304, allocations: 99.86 kB / 0.5736 GB, free: 7.172 MB / 414.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.001209/0.3316, allocations: 1.089 MB / 0.5747 GB, free: 6.051 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007713/0.3324, allocations: 422 kB / 0.5751 GB, free: 5.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3324, allocations: 0 / 0.5751 GB, free: 5.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.3328, allocations: 270 kB / 0.5753 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.3334, allocations: 74.7 kB / 0.5754 GB, free: 5.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/0.3389, allocations: 3.845 MB / 0.5791 GB, free: 1.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.3391, allocations: 193.8 kB / 0.5793 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.3393, allocations: 62.91 kB / 0.5794 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.3394, allocations: 83.41 kB / 0.5795 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3394, allocations: 4 kB / 0.5795 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.3704, allocations: 9.776 MB / 0.589 GB, free: 7.273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.47, allocations: 7.922 kB / 0.589 GB, free: 7.266 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.23817321099341] 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'] 11.628751100040972 11.645226753 11.326097404 Calling exit ...