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.001253/0.001253, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002461/0.002461, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.397/1.397, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2251/0.2251, allocations: 46.92 MB / 361.6 MB, free: 4.168 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.002234/0.002234, allocations: 75.88 kB / 0.497 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3237, allocations: 66.08 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003197/0.3269, allocations: 2.048 MB / 0.5635 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.3288, allocations: 1.169 MB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.3288, allocations: 0 / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.3291, allocations: 67.59 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3293, allocations: 83.52 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.3298, allocations: 190.6 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.3302, allocations: 318.6 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.799e-05/0.3303, allocations: 14.91 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.3305, allocations: 131.3 kB / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.3307, allocations: 139.4 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.3307, allocations: 8 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.3311, allocations: 211.7 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3312, allocations: 79.66 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.3314, allocations: 119.2 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.3319, allocations: 406.3 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3319, allocations: 4 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.3319, allocations: 4 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3319, allocations: 0 / 0.5664 GB, free: 15.32 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.001122/0.333, allocations: 0.5557 MB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3331, allocations: 8.031 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.975e-05/0.3331, allocations: 16.84 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.577e-05/0.3331, allocations: 66.72 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.3335, allocations: 68.66 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.3338, allocations: 209.4 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.3338, allocations: 16.66 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.3339, allocations: 28 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.3346, allocations: 438.5 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3347, allocations: 0 / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.3347, allocations: 12 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.3347, allocations: 12.66 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.3355, allocations: 330.3 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.3371, allocations: 1.074 MB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.3376, allocations: 227.7 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.3379, allocations: 106.5 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.338, allocations: 11.98 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.338, allocations: 34.56 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.338, allocations: 0 / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001081/0.3391, allocations: 365.2 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.3392, allocations: 102.8 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.3396, allocations: 405.6 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3397, allocations: 25.7 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.3398, allocations: 208 kB / 0.5705 GB, free: 10.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.3399, allocations: 43.64 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.34, allocations: 69.94 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3402, allocations: 342.8 kB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.3405, allocations: 116.1 kB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.3409, allocations: 239.7 kB / 0.5713 GB, free: 9.941 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006998/0.3416, allocations: 371 kB / 0.5717 GB, free: 9.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3416, allocations: 0 / 0.5717 GB, free: 9.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008893/0.3425, allocations: 401.2 kB / 0.572 GB, free: 9.125 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.3425, allocations: 8 kB / 0.572 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-05/0.3425, allocations: 27.92 kB / 0.5721 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3426, allocations: 7.938 kB / 0.5721 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.3428, allocations: 56.41 kB / 0.5721 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3428, allocations: 7.984 kB / 0.5721 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.3431, allocations: 55.61 kB / 0.5722 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.3432, allocations: 16 kB / 0.5722 GB, free: 8.949 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.0002234/0.3434, allocations: 190.9 kB / 0.5724 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.3435, allocations: 27.81 kB / 0.5724 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006304/0.3441, allocations: 284.3 kB / 0.5727 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.3441, allocations: 7.938 kB / 0.5727 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.3441, allocations: 3.984 kB / 0.5727 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3441, allocations: 0 / 0.5727 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.3446, allocations: 272.6 kB / 0.573 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/0.3446, allocations: 20.08 kB / 0.573 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.3448, allocations: 27.91 kB / 0.573 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3448, allocations: 8 kB / 0.573 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.3448, allocations: 7.938 kB / 0.573 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3448, allocations: 3.938 kB / 0.573 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3448, allocations: 0 / 0.573 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000752/0.3455, allocations: 0.5094 MB / 0.5735 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.3456, allocations: 39.75 kB / 0.5736 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.3457, allocations: 8 kB / 0.5736 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.3459, allocations: 19.91 kB / 0.5736 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.346, allocations: 15.98 kB / 0.5736 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.346, allocations: 11.94 kB / 0.5736 GB, free: 7.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.3463, allocations: 295.1 kB / 0.5739 GB, free: 7.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3463, allocations: 0 / 0.5739 GB, free: 7.152 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00052/0.3468, allocations: 91.88 kB / 0.574 GB, free: 7.062 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.001247/0.3481, allocations: 1.097 MB / 0.5751 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008187/0.3489, allocations: 422.8 kB / 0.5755 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3489, allocations: 0 / 0.5755 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.3493, allocations: 266.1 kB / 0.5757 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.3499, allocations: 77.69 kB / 0.5758 GB, free: 5.113 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005322/0.3552, allocations: 3.846 MB / 0.5795 GB, free: 1.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.3556, allocations: 0.7987 MB / 0.5803 GB, free: 256 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.3558, allocations: 62.92 kB / 0.5804 GB, free: 192 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3559, allocations: 83.41 kB / 0.5805 GB, free: 108 kB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3559, allocations: 0 / 0.5805 GB, free: 108 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.3864, allocations: 9.42 MB / 0.5897 GB, free: 6.859 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.47, allocations: 20.22 kB / 0.5897 GB, free: 6.84 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.302479578997009] 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.633854127023369 11.650133884 11.315154526 Calling exit ...