Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2512/0.2512, allocations: 44.94 MB / 359.6 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 63.91 kB / 0.4938 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3467, allocations: 65.47 MB / 0.5578 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003831/0.3506, allocations: 1.972 MB / 0.5597 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3525, allocations: 1.045 MB / 0.5607 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.25e-05/0.3526, allocations: 3.938 kB / 0.5607 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.3529, allocations: 59.69 kB / 0.5608 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.3531, allocations: 83.45 kB / 0.5608 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.3537, allocations: 179.4 kB / 0.561 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.3541, allocations: 334.4 kB / 0.5613 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.86e-05/0.3542, allocations: 14.77 kB / 0.5613 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.3544, allocations: 123.4 kB / 0.5615 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.3546, allocations: 143.3 kB / 0.5616 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.3546, allocations: 12 kB / 0.5616 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.355, allocations: 155.8 kB / 0.5618 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3551, allocations: 67.62 kB / 0.5618 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.3552, allocations: 111.4 kB / 0.5619 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005647/0.3558, allocations: 386.3 kB / 0.5623 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3558, allocations: 3.938 kB / 0.5623 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3558, allocations: 0 / 0.5623 GB, free: 2.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.3558, allocations: 4 kB / 0.5623 GB, free: 2.848 MB / 398.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.001133/0.3569, allocations: 0.5518 MB / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.357, allocations: 15.97 kB / 0.5629 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.671e-05/0.357, allocations: 4.844 kB / 0.5629 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.491e-05/0.3571, allocations: 74.72 kB / 0.5629 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003855/0.3575, allocations: 68.66 kB / 0.563 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.3578, allocations: 209.9 kB / 0.5632 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.3578, allocations: 20.66 kB / 0.5632 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.3579, allocations: 24 kB / 0.5632 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007886/0.3587, allocations: 442.5 kB / 0.5637 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3587, allocations: 4 kB / 0.5637 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.3587, allocations: 8 kB / 0.5637 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/0.3587, allocations: 16.66 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/0.3594, allocations: 322.3 kB / 0.564 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.361, allocations: 1.031 MB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.3615, allocations: 239.7 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.3618, allocations: 102.5 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.3619, allocations: 4 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.3619, allocations: 34.56 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.3619, allocations: 3.938 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001045/0.3629, allocations: 361.2 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.571e-05/0.363, allocations: 106.8 kB / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/0.3635, allocations: 405.6 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3635, allocations: 25.7 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.3637, allocations: 208.2 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.3637, allocations: 47.64 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3638, allocations: 61.89 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.364, allocations: 346.8 kB / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.3643, allocations: 116.1 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.3647, allocations: 239.7 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.3654, allocations: 366.9 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3654, allocations: 4 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008538/0.3663, allocations: 401.3 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.3663, allocations: 8 kB / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.114e-05/0.3663, allocations: 28.03 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3664, allocations: 7.938 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.3666, allocations: 47.89 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.3666, allocations: 7.938 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.3669, allocations: 63.59 kB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.3669, allocations: 16 kB / 0.5681 GB, free: 12.52 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.0002703/0.3672, allocations: 185.8 kB / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.3673, allocations: 35.81 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006381/0.3679, allocations: 284.1 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3679, allocations: 0 / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3679, allocations: 4 kB / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.368, allocations: 0 / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.3684, allocations: 260.5 kB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-05/0.3685, allocations: 20 kB / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.3686, allocations: 31.91 kB / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3686, allocations: 0 / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.3687, allocations: 11.92 kB / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.3687, allocations: 4 kB / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3687, allocations: 4 kB / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007689/0.3694, allocations: 0.5055 MB / 0.5694 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.3695, allocations: 35.77 kB / 0.5694 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.3696, allocations: 15.86 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.3698, allocations: 15.98 kB / 0.5695 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.3699, allocations: 11.98 kB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.3699, allocations: 11.98 kB / 0.5695 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00033/0.3703, allocations: 287.1 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3703, allocations: 0 / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005424/0.3708, allocations: 95.86 kB / 0.5699 GB, free: 10.66 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.001255/0.3721, allocations: 1.097 MB / 0.5709 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008446/0.3729, allocations: 426.7 kB / 0.5713 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3729, allocations: 4.344 kB / 0.5713 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.3733, allocations: 270 kB / 0.5716 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.3739, allocations: 78.31 kB / 0.5717 GB, free: 8.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/0.3795, allocations: 3.846 MB / 0.5754 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.3797, allocations: 189.8 kB / 0.5756 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.3799, allocations: 66.91 kB / 0.5757 GB, free: 4.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.3801, allocations: 87.41 kB / 0.5758 GB, free: 4.309 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3801, allocations: 0 / 0.5758 GB, free: 4.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.414, allocations: 9.782 MB / 0.5853 GB, free: 10.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.13, allocations: 0 / 0.5853 GB, free: 10.81 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.128514701034874] 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'] 12.298134029959328 12.326620001 11.965461395 Calling exit ...