Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.001317/0.001317, allocations: 111.5 kB / 21.22 MB, free: 0.6484 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.001634/0.001634, allocations: 208.5 kB / 24.51 MB, free: 3.941 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.408/1.408, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2129/0.2129, allocations: 46.95 MB / 361.6 MB, free: 3.949 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_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 79.83 kB / 0.4969 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3201, allocations: 66.08 MB / 0.5615 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003524/0.3236, allocations: 2.189 MB / 0.5636 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00298/0.3266, allocations: 1.927 MB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3267, allocations: 7.938 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.327, allocations: 71.53 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.3272, allocations: 115.3 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.3283, allocations: 445.7 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005766/0.3289, allocations: 0.5169 MB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.144e-05/0.3289, allocations: 27.09 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.3292, allocations: 191 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.3295, allocations: 218.8 kB / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.3295, allocations: 16 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.3302, allocations: 423.4 kB / 0.5674 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.3303, allocations: 99.41 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.3305, allocations: 166.9 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009256/0.3314, allocations: 0.7897 MB / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3314, allocations: 0 / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3314, allocations: 0 / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3314, allocations: 0 / 0.5685 GB, free: 12.85 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001291/0.3327, allocations: 0.7894 MB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3328, allocations: 8.031 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.53e-05/0.3328, allocations: 17.5 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.3329, allocations: 110.6 kB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/0.3333, allocations: 88.52 kB / 0.5694 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.3337, allocations: 270.3 kB / 0.5697 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/0.3338, allocations: 49.38 kB / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.3338, allocations: 52 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.335, allocations: 0.7657 MB / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.335, allocations: 0 / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.335, allocations: 20 kB / 0.5706 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.346e-05/0.3351, allocations: 33.3 kB / 0.5706 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009746/0.3361, allocations: 0.5554 MB / 0.5711 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.3383, allocations: 1.575 MB / 0.5727 GB, free: 8.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.3389, allocations: 283.6 kB / 0.573 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.3392, allocations: 150.4 kB / 0.5731 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.3393, allocations: 11.98 kB / 0.5731 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3393, allocations: 42.5 kB / 0.5731 GB, free: 7.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.3393, allocations: 0 / 0.5731 GB, free: 7.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001243/0.3406, allocations: 0.5051 MB / 0.5736 GB, free: 7.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.3406, allocations: 110.8 kB / 0.5737 GB, free: 7.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007321/0.3414, allocations: 0.6393 MB / 0.5744 GB, free: 6.566 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.3414, allocations: 25.7 kB / 0.5744 GB, free: 6.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.3416, allocations: 296 kB / 0.5747 GB, free: 6.238 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.514e-05/0.3417, allocations: 79.33 kB / 0.5748 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.3419, allocations: 118.1 kB / 0.5749 GB, free: 6.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3421, allocations: 366.8 kB / 0.5752 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.3425, allocations: 196.8 kB / 0.5754 GB, free: 5.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.343, allocations: 460.6 kB / 0.5758 GB, free: 4.898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.3441, allocations: 0.6771 MB / 0.5765 GB, free: 4.094 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3441, allocations: 4 kB / 0.5765 GB, free: 4.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001258/0.3453, allocations: 0.6963 MB / 0.5772 GB, free: 3.387 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3454, allocations: 10.19 kB / 0.5772 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.462e-05/0.3454, allocations: 51.98 kB / 0.5772 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.3455, allocations: 12 kB / 0.5773 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.3457, allocations: 67.83 kB / 0.5773 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/0.3458, allocations: 19.92 kB / 0.5773 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.3462, allocations: 99.44 kB / 0.5774 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.3462, allocations: 47.92 kB / 0.5775 GB, free: 3.086 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002797/0.3465, allocations: 254.7 kB / 0.5777 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3466, allocations: 63.59 kB / 0.5778 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008955/0.3475, allocations: 465.7 kB / 0.5782 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.3475, allocations: 7.984 kB / 0.5782 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3475, allocations: 4 kB / 0.5782 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3475, allocations: 0 / 0.5782 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.3481, allocations: 356.5 kB / 0.5786 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-05/0.3482, allocations: 39.98 kB / 0.5786 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3483, allocations: 31.84 kB / 0.5786 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3483, allocations: 4 kB / 0.5787 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.3484, allocations: 15.98 kB / 0.5787 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3484, allocations: 0 / 0.5787 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3484, allocations: 4 kB / 0.5787 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.3492, allocations: 0.614 MB / 0.5793 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3493, allocations: 59.53 kB / 0.5793 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.3494, allocations: 4 kB / 0.5793 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.3497, allocations: 19.97 kB / 0.5794 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.3498, allocations: 31.91 kB / 0.5794 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.3498, allocations: 16 kB / 0.5794 GB, free: 1.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000488/0.3503, allocations: 446.7 kB / 0.5798 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3503, allocations: 0 / 0.5798 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000758/0.3511, allocations: 195.6 kB / 0.58 GB, free: 436 kB / 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.00162/0.3527, allocations: 1.303 MB / 0.5813 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3538, allocations: 0.7321 MB / 0.582 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3538, allocations: 4 kB / 0.582 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.3543, allocations: 478.6 kB / 0.5825 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007992/0.3551, allocations: 124.8 kB / 0.5826 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008273/0.3634, allocations: 5.968 MB / 0.5884 GB, free: 7.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3637, allocations: 287.7 kB / 0.5887 GB, free: 7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.3641, allocations: 136.4 kB / 0.5888 GB, free: 6.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.3642, allocations: 147.3 kB / 0.5889 GB, free: 6.723 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3642, allocations: 0 / 0.5889 GB, free: 6.723 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04038/0.4046, allocations: 16.96 MB / 0.6055 GB, free: 6.043 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.93, allocations: 7.922 kB / 0.6055 GB, free: 6.035 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.7472985930508] 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]', 'Nu_3[1]', 'Nu_3[2]', 'Nu_3[3]', 'Nu_4[1]', 'Nu_4[2]', 'Nu_4[3]', 'Re', 'Pr[1]', 'Pr[2]', 'Pr[3]', 'input_mflow_0.y', 'input_mflow_1.y', 'input_mflow_2.y'] 12.098141052993014 12.126308409 11.789299766 Calling exit ...