Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.001442/0.001442, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001431/0.001431, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.37/1.37, 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.2156/0.2156, allocations: 46.93 MB / 361.6 MB, free: 4.227 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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 79.86 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2881, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003408/0.2915, allocations: 2.147 MB / 0.5636 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.2934, allocations: 1.427 MB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.394e-05/0.2935, allocations: 4 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.2938, allocations: 91.38 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.2939, allocations: 59.44 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.2945, allocations: 222.4 kB / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.2947, allocations: 151 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.2947, allocations: 8.594 kB / 0.5655 GB, free: 204 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.2949, allocations: 67.55 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.295, allocations: 63.58 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.295, allocations: 4 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.2956, allocations: 439.4 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.2957, allocations: 23.86 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.785e-05/0.2958, allocations: 75.42 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.2964, allocations: 446.3 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2964, allocations: 3.938 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2964, allocations: 0 / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.2964, allocations: 0 / 0.5666 GB, free: 15.1 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006638/0.2971, allocations: 429.1 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2971, allocations: 15.95 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.616e-05/0.2971, allocations: 4.188 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.823e-05/0.2972, allocations: 58.73 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.2972, allocations: 20.8 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.2974, allocations: 150.2 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2975, allocations: 20.12 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.2975, allocations: 16 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.2979, allocations: 206.7 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2979, allocations: 0 / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.298, allocations: 8 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.298, allocations: 4 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.2983, allocations: 160.2 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009013/0.2992, allocations: 0.5445 MB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.2994, allocations: 58.55 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.2995, allocations: 36.94 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.2995, allocations: 0 / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2996, allocations: 30.56 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.2996, allocations: 0 / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004502/0.3, allocations: 137.6 kB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.3001, allocations: 51.41 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.3004, allocations: 261.9 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3004, allocations: 25.7 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3005, allocations: 171.9 kB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.3005, allocations: 15.89 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.3006, allocations: 45.66 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3008, allocations: 330.8 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3009, allocations: 43.91 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.3011, allocations: 145.7 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.3014, allocations: 180.7 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3014, allocations: 4 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004013/0.3018, allocations: 201.2 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3018, allocations: 8 kB / 0.5699 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/0.3019, allocations: 12.44 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3019, allocations: 8 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.302, allocations: 35.92 kB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.302, allocations: 4 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.3021, allocations: 31.77 kB / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.3022, allocations: 15.94 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001112/0.3023, allocations: 123.2 kB / 0.5701 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.3023, allocations: 23.84 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.3027, allocations: 143 kB / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3027, allocations: 0 / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3027, allocations: 0 / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3027, allocations: 3.938 kB / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.3029, allocations: 196.6 kB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/0.303, allocations: 15.98 kB / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.303, allocations: 4 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.303, allocations: 4 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.303, allocations: 0 / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.303, allocations: 0 / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.303, allocations: 7.984 kB / 0.5705 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.3033, allocations: 207.3 kB / 0.5707 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.3034, allocations: 27.8 kB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.3034, allocations: 3.984 kB / 0.5707 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.3035, allocations: 4 kB / 0.5707 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.3036, allocations: 7.984 kB / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.3036, allocations: 0 / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.3037, allocations: 185.2 kB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3037, allocations: 0 / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.3041, allocations: 75.8 kB / 0.5709 GB, free: 10.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008963/0.305, allocations: 0.8057 MB / 0.5717 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004338/0.3054, allocations: 168.1 kB / 0.5719 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3054, allocations: 0 / 0.5719 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.3057, allocations: 99.31 kB / 0.572 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.306, allocations: 28.91 kB / 0.572 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.309, allocations: 2.382 MB / 0.5743 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.3094, allocations: 0.7281 MB / 0.5751 GB, free: 5.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.1e-05/0.3095, allocations: 13.48 kB / 0.5751 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.621e-05/0.3095, allocations: 67.34 kB / 0.5751 GB, free: 5.762 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3095, allocations: 0 / 0.5751 GB, free: 5.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.3372, allocations: 6.979 MB / 0.5819 GB, free: 14.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.61, allocations: 15.94 kB / 0.582 GB, free: 14.92 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.478627261996735] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[2]', 'Nu[1]', 'Nu[2]', 'input_Re.y'] 12.783873843029141 12.810608408 12.510052464 Calling exit ...