Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001521/0.001521, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.001935/0.001935, allocations: 212.6 kB / 23 MB, free: 5.617 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.442/1.442, allocations: 230.2 MB / 256.2 MB, free: 8.699 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2201/0.2201, allocations: 46.9 MB / 359.4 MB, free: 4.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 75.88 kB / 0.4942 GB, free: 8.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3486, allocations: 65.98 MB / 0.5586 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.00374/0.3523, allocations: 2.049 MB / 0.5606 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.3543, allocations: 1.165 MB / 0.5617 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3544, allocations: 8 kB / 0.5617 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.3547, allocations: 59.67 kB / 0.5618 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.3549, allocations: 79.45 kB / 0.5619 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.3555, allocations: 190.7 kB / 0.5621 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000416/0.3559, allocations: 318.6 kB / 0.5624 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.164e-05/0.356, allocations: 22.5 kB / 0.5624 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.3562, allocations: 119.4 kB / 0.5625 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.3564, allocations: 139.3 kB / 0.5626 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.3565, allocations: 12 kB / 0.5626 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00038/0.3568, allocations: 211.7 kB / 0.5628 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3569, allocations: 75.66 kB / 0.5629 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.3571, allocations: 127.2 kB / 0.563 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006224/0.3577, allocations: 406.3 kB / 0.5634 GB, free: 196 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3577, allocations: 0 / 0.5634 GB, free: 196 kB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3577, allocations: 0 / 0.5634 GB, free: 196 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3577, allocations: 0 / 0.5634 GB, free: 196 kB / 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.001253/0.359, allocations: 0.6348 MB / 0.5641 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.359, allocations: 12.03 kB / 0.5641 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.3591, allocations: 70.66 kB / 0.5641 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.3595, allocations: 76.66 kB / 0.5642 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3599, allocations: 267.4 kB / 0.5645 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.3599, allocations: 20.56 kB / 0.5645 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.3599, allocations: 27.98 kB / 0.5645 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007484/0.3607, allocations: 425.9 kB / 0.5649 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3607, allocations: 7.938 kB / 0.5649 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.3607, allocations: 8 kB / 0.5649 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.3608, allocations: 20.55 kB / 0.5649 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007026/0.3615, allocations: 325.9 kB / 0.5653 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.3631, allocations: 1.097 MB / 0.5663 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005291/0.3636, allocations: 235.7 kB / 0.5666 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.3639, allocations: 106.4 kB / 0.5667 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.3639, allocations: 12 kB / 0.5667 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.364, allocations: 30.56 kB / 0.5667 GB, free: 12.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.364, allocations: 0 / 0.5667 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.00103/0.365, allocations: 361.3 kB / 0.567 GB, free: 12.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.3651, allocations: 110.7 kB / 0.5671 GB, free: 12.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.3656, allocations: 405.6 kB / 0.5675 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.3656, allocations: 25.7 kB / 0.5676 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.3658, allocations: 204 kB / 0.5677 GB, free: 11.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.3658, allocations: 47.58 kB / 0.5678 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3659, allocations: 69.94 kB / 0.5679 GB, free: 11.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3661, allocations: 342.8 kB / 0.5682 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.3664, allocations: 116.1 kB / 0.5683 GB, free: 10.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.3668, allocations: 238.2 kB / 0.5685 GB, free: 10.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007559/0.3676, allocations: 371.3 kB / 0.5689 GB, free: 10.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3676, allocations: 3.938 kB / 0.5689 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008685/0.3684, allocations: 400.9 kB / 0.5693 GB, free: 9.801 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3684, allocations: 8 kB / 0.5693 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-05/0.3685, allocations: 23.94 kB / 0.5693 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.3685, allocations: 8 kB / 0.5693 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.3687, allocations: 56.36 kB / 0.5694 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3688, allocations: 4 kB / 0.5694 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.369, allocations: 59.59 kB / 0.5694 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.3691, allocations: 20 kB / 0.5694 GB, free: 9.625 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.0002009/0.3693, allocations: 169.7 kB / 0.5696 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.3693, allocations: 31.81 kB / 0.5696 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.37, allocations: 288.2 kB / 0.5699 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.37, allocations: 7.938 kB / 0.5699 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.37, allocations: 0 / 0.5699 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.37, allocations: 0 / 0.5699 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.3705, allocations: 305.5 kB / 0.5702 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.504e-05/0.3705, allocations: 19.98 kB / 0.5702 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.3707, allocations: 23.97 kB / 0.5702 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.3707, allocations: 8 kB / 0.5703 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.3707, allocations: 12 kB / 0.5703 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.3707, allocations: 3.938 kB / 0.5703 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3707, allocations: 0 / 0.5703 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/0.3715, allocations: 0.5055 MB / 0.5708 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3716, allocations: 120.8 kB / 0.5709 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.3716, allocations: 8 kB / 0.5709 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.3719, allocations: 15.92 kB / 0.5709 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.3719, allocations: 19.97 kB / 0.5709 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.372, allocations: 8 kB / 0.5709 GB, free: 7.996 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003284/0.3723, allocations: 291.1 kB / 0.5712 GB, free: 7.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3723, allocations: 0 / 0.5712 GB, free: 7.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006403/0.3729, allocations: 99.86 kB / 0.5713 GB, free: 7.613 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.00139/0.3743, allocations: 1.086 MB / 0.5724 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009033/0.3752, allocations: 426.6 kB / 0.5728 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3752, allocations: 4.125 kB / 0.5728 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.3756, allocations: 270.4 kB / 0.573 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.3762, allocations: 69.5 kB / 0.5731 GB, free: 5.672 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/0.3821, allocations: 3.858 MB / 0.5769 GB, free: 1.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.3827, allocations: 0.7987 MB / 0.5776 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.3829, allocations: 66.91 kB / 0.5777 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.3831, allocations: 79.41 kB / 0.5778 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3831, allocations: 4 kB / 0.5778 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.4171, allocations: 9.11 MB / 0.5867 GB, free: 7.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/8.706, allocations: 20.06 kB / 0.5867 GB, free: 7.66 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.47256334501435] 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'] 8.777525198005605 8.791923454 8.43127277 Calling exit ...